Generated by
JDiff

javax.swing.plaf.basic Documentation Differences

This file contains all the changes in documentation in the package javax.swing.plaf.basic as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class BasicArrowButton

JButton object that draws a scaled Arrow in one of the cardinal directions.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.17 0819 02/2802/9800 @author David Kloba


Class BasicBorders

Factory object that can vend Borders appropriate for the basic L & F. @version 1.15 0420 02/2202/9900 @author Georges Saab @author Amy Fowler

Class BasicBorders.SplitPaneBorder

ThisDraws border draws the bordersborder around both of the containedsplitpane. components in the theTo work correctly you splitter.shoudl It isalso install a veryborder on oddthe divider (property SplitPaneDivider.border).

Class BasicButtonListener

Button Listener @version 1.39 1146 02/0302/9800 @author Jeff Dinkins @author Arnaud Weber (keyboard UI support)
Class BasicButtonListener, void uninstallKeyboardActions(JComponent)

Unregister's default key actions @see #registerKeyboardActions

Class BasicButtonUI

BasicButton implementation @version 1.97 04100 02/2202/9900 @author Jeff Dinkins

Class BasicCheckBoxMenuItemUI

BasicCheckboxMenuItem implementation @version 1.47 0849 02/2602/9800 @author Georges Saab @author David Karlton @author Arnaud Weber

Class BasicCheckBoxUI

CheckboxUI implementation for BasicCheckboxUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.31 0833 02/2802/9800 @author Jeff Dinkins


Class BasicColorChooserUI

Provides the basic look and feel for a JColorChooser.

@version 1.23 0825 02/2602/9800 @author Tom Santos @author Steve Wilson


Class BasicComboBoxEditor

The default editor for editable combo boxes @version 1.9 0517 02/0902/9800 @author Arnaud Weber

Class BasicComboBoxRenderer

ComboBox renderer

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.10 0816 02/2802/9800 @author Arnaud Weber


Class BasicComboBoxUI

Basic UI for JComboBox. This class adds and removes components from the JComboBox. The arrow button and the editor are managed by this object. The popup menu is handled by BasicComboPopup. BasicComboPopup supplies this class with a MouseListener MouseMotionListener and a KeyListener. These listeners are added to the arrow button and the JComboBox by default. Subclasses of BasicComboBoxUI should attach the listeners to whichever components they like. installListeners() is where listeners get added to the JComboBox (and model). configureEditor() is where listeners get added to the editor. configureArrowButton() is where listeners get added to the arrow button. Inner classes for handling events: FocusHandler ItemHandler ListDataHandler PropertyChangeHandler KeyHandler @version 1.94 11103 07/0210/9899 @author Arnaud Weber @author Tom Santos
Class BasicComboBoxUI, void uninstallKeyboardActions()

Removes the keyboard actions thatfocus InputMap and were added by installKeyboardActions()ActionMap.

Class BasicComboPopup

This is an implementation of the ComboPopup interface. It is primarily for use by BasicComboBoxUI and its subclasses. BasicComboPopup extends JPopupMenu because most combo boxes use a popup menu to display the list of possible selections. BasicComboBoxUI only requires a ComboPopup so subclasses of BasicComboBoxUI aren't required to use this class. All event handling is handled by createxxxListener() methods and internal classes. You can change the behavior of this class by overriding the createxxxListener() methods and supplying your own event listeners or subclassing from the ones supplied in this class. Inner classes for handling events: InvocationMouseHandler InvocationMouseMotionHandler InvocationKeyHandler ListSelectionHandler ListDataHandler ListMouseHandler ListMouseMotionHandler PropertyChangeHandler ItemHandler

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.21 1032 02/3002/9800 @author Tom Santos


Class BasicDesktopIconUI

Basic L&F for a minimized window on a desktop. @version 1.25 0827 02/2602/9800 @author David Kloba @author Steve Wilson @author Rich Schiavi

Class BasicDesktopPaneUI

Basic L&F for a desktop. @version 1.27 0436 02/2202/9900 @author Steve Wilson

Class BasicEditorPaneUI

Provides the look and feel for a JEditorPane.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @author Timothy Prinzing @version 1.18 0823 02/2809/9800

Class BasicEditorPaneUI, void propertyChange(PropertyChangeEvent)

This method gets called when a bound property is changed on the associated JTextComponent. This is a hook which UI implementations may change to reflect how the UI displays bound properties of JTextComponent subclasses. This is implemented to dorebuild nothing (i.e. the response to properties inActionMap JTextComponent itself are handledbased priorupon to callingan thisEditorKit method)change. @param evt the property change event

Class BasicIconFactory

Factory object that can vend Icons appropriate for the basic L & F.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.21 0422 02/2202/9900 @author David Kloba @author Georges Saab


Class BasicInternalFrameTitlePane

The class that manages a basic title bar

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.28 0433 02/2202/9900 @author David Kloba @author Steve Wilson


Class BasicInternalFrameUI

A basic L&F implementation of JInternalFrame. @version 1.57 0974 01/2721/0001 @author David Kloba @author Rich Schiavi

Class BasicLabelUI

A Windows L&F implementation of LabelUI. This implementation is completely static i.e. there's only one UIView implementation that's shared by all JLabel objects. @version 1.65 0469 02/2202/9900 @author Hans Muller

Class BasicListUI

A Windows L&F implementation of ListUI.

@version 1.50 0454 02/2202/9900 @author Hans Muller @author Philip Milne


Class BasicListUI.ListDataHandler

The ListDataListener that's added to the JLists model at installUI time and whenever the JList.model property changes.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @see JList#getModel @see #maybeUpdateLayoutmaybeUpdateLayoutState @see #createListDataListener @see #installUI


Class BasicListUI.PropertyChangeHandler

The PropertyChangeListener that's added to the JList at installUI time. When the value of a JList property that affects layout changes we set a bit in updateLayoutStateNeeded. If the JLists model changes we additionally remove our listeners from the old model. Likewise for the JList selectionModel.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @see #maybeUpdateLayoutmaybeUpdateLayoutState @see #createPropertyListenercreatePropertyChangeListener @see #installUI


Class BasicListUI, Point indexToLocation(JList, int)

@return The origin of the index'th cell null if index is invalid. @see ListUI#indexToLocation

Class BasicLookAndFeel

Implements the a standard base LookAndFeel class from which standard desktop LookAndFeel classes (JLF Mac Windows etc.) can be derived. This class cannot be instantiated directly however the UI classes "Basic" defines can be.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.144 04160 11/2227/9900 @author unattributed


Class BasicMenuBarUI

A default L&F implementation of MenuBarUI. This implementation is a "combined" view/controller. @version 1.71 0474 02/2202/9900 @author Georges Saab @author David Karlton @author Arnaud Weber

Class BasicMenuItemUI

BasicMenuItem implementation @version 1.87101 04/2205/9900 @author Georges Saab @author David Karlton @author Arnaud Weber @author Fredrik Lagerblad

Class BasicMenuUI

A default L&F implementation of MenuUI. This implementation is a "combined" view/controller. @version 1.120 04130 01/2221/9901 @author Georges Saab @author David Karlton @author Arnaud Weber

Class BasicOptionPaneUI

Provides the basic look and feel for a JOptionPane. BasicMessagePaneUI provides a means to place an icon message and buttons into a Container. The layout will look like:

 ------------------ | i | message | | c | message | | o | message | | n | message | ------------------ | buttons | |________________| 
icon is an instance of Icon that is wraped inside a JLabel. The message is an opaque object and is tested for the following: if the message is a Component it is added to the Container if it is an Icon it is wrapped inside a JLabel and added to the Container otherwise it is wrapped inside a JLabel.

The Container message icon and buttons are all determined from abstract methods. @version 1.30 1036 02/3002/9800 @author James Gosling @author Scott Violet @author Amy Fowler


Class BasicPanelUI

BasicPanel implementation @version 1.4 086 02/2602/9800 @author Steve Wilson

Class BasicPasswordFieldUI

Provides the Windows look and feel for a password field. The only difference from the standard text field is that the view of the text is simply a string of the echo character as specified in JPasswordField rather than the real text contained in the field. @author Timothy Prinzing @version 1.24 0826 02/2602/9800

Class BasicPopupMenuSeparatorUI

A Basic L&F implementation of PopupMenuSeparatorUI. This implementation is a "combined" view/controller. @version 1.6 118 02/0502/9800 @author Jeff Shapiro

Class BasicPopupMenuUI

A Windows L&F implementation of PopupMenuUI. This implementation is a "combined" view/controller. @version 1.66 0471 11/2227/9900 @author Georges Saab @author David Karlton @author Arnaud Weber

Class BasicProgressBarUI

A Basic L&F implementation of ProgressBarUI. @version 1.41 0945 02/0102/9800 @author Michael C. Albers
Class BasicProgressBarUI, int getCellLength()

Returns the width (if HORIZONTAL) or height (if VERTICAL) of each of the indivdual cells/units to be rendered in the progress bar. However for text rendering simplification and aesthetic considerations this function will return 1 when the progress string is being rendered. @return the value representing the spacing between cells @see #setCellLength @see JProgressBar.#isStringPainted
Class BasicProgressBarUI, int getCellSpacing()

Returns the spacing between each of the cells/units in the progress bar. However for text rendering simplification and aesthetic considerations this function will return 0 when the progress string is being rendered. @return the value representing the spacing between cells @see #setCellSpacing @see JProgressBar.#isStringPainted

Class BasicRadioButtonMenuItemUI

BasicRadioButtonMenuItem implementation @version 1.39 0841 02/2602/9800 @author Georges Saab @author David Karlton

Class BasicRadioButtonUI

RadioButtonUI implementation for BasicRadioButtonUI @version 1.57 0861 02/2602/9800 @author Jeff Dinkins

Class BasicScrollBarUI

Implementation of ScrollBarUI for the Basic Look and Feel @version 1.52 0457 02/2202/9900 @author Rich Schiavi @author David Kloba @author Hans Muller
Class BasicScrollBarUI, Dimension getMaximumThumbSize()

Return the smallestlargest acceptable size for the thumb. If the scrollbar becomes so small that this size isn't available the thumb will be hidden. To create a fixed size thumb one make this method and getMinimumThumbSize return the same value.

Warning : the value returned by this method should not be be modified it's a shared static constant. @return The smallestlargest acceptable size for the thumb. @see #getMinimumThumbSize


Class BasicScrollPaneUI

A default L&F implementation of ScrollPaneUI. @version 1.43 1052 02/3002/9800 @author Hans Muller

Class BasicSeparatorUI

A Basic L&F implementation of SeparatorUI. This implementation is a "combined" view/controller. @version 1.18 1120 02/0502/9800 @author Georges Saab @author Jeff Shapiro

Class BasicSliderUI

A Basic L&F implementation of SliderUI. @version 1.74 0481 02/2202/9900 @author Tom Santos

Class BasicSliderUI.ActionScroller

DefinesAs of Java 2 platform v1.3 this undocumented class is no longer used. The recommended approach to creating bindings is to use a combination of an ActionMap to contain the action and an InputMap to contain the mapping from KeyStroke to action description. The InputMap is is usually described in the LookAndFeel tables.

Please refer to takethe key bindings specification for when scrolledfurther details.

This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of .


Class BasicSplitPaneDivider

Divider used by BasicSplitPaneUI. Subclassers may wish to override paint to do something more interesting. The border effect is drawn in BasicSplitPaneUI so if you don't like that border reset it there. To conditionally drag from certain areas subclass mousePressed and call super when you wish the dragging to begin.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.30 0538 02/1002/9900 @author Scott Violet

Class BasicSplitPaneDivider, Insets getInsets()

DeterminesIf the insets of this container which indicate the size of the container'sa border. A Frame object for example has a top inset thatbeen corresponds to the height ofset on this component returns the frameborder's titleinsets else calls barsuper.getInsets. @return the insetsvalue of this container.the @seeinsets java.awtproperty.Insets @see java.awt.LayoutManager @since JDK1.1#setBorder
Class BasicSplitPaneDivider, Dimension getMinimumSize()

Returns the minimumdividerSize x size of this container. @return an instance of Dimension that represents the minimum size of this container. @see java.awt.Container#getPreferredSize @see java.awt.Container#getLayout @see java.awt.LayoutManager#minimumLayoutSize(java.awt.Container) @see java.awt.Component#getMinimumSize @since JDK1.1dividerSize

Class BasicSplitPaneUI

A Basic L&F implementation of the SplitPaneUI. @version 1.50 0459 02/2202/9900 @author Scott Violet @author Steve Wilson @author Ralph Kar

Class BasicSplitPaneUI.BasicHorizontalLayoutManager, int getInitialLocation(Insets)

Returns the left inset unless the Insets orare null in which case 0 is returned.
Class BasicSplitPaneUI.BasicHorizontalLayoutManager, void layoutContainer(Container)

CalculatesDoes the actual layout.
Class BasicSplitPaneUI.BasicHorizontalLayoutManager, void resetToPreferredSizes()

ResetsMarks the cachedreceiver sizes so that the next time this instance is layed out it'll ask for the preferred sizes.

Class BasicSplitPaneUI.BasicVerticalLayoutManager, int getAvailableSize(Dimension, Insets)

Returns the available heightwidth based on the container size and Insets.
Class BasicSplitPaneUI.BasicVerticalLayoutManager, int getInitialLocation(Insets)

Returns the topleft inset unless the Insets orare null in which case 0 is returned.
Class BasicSplitPaneUI.BasicVerticalLayoutManager, int getPreferredSizeOfComponent(Component)

Returns the heightwidth of the passed in Components preferred size.
Class BasicSplitPaneUI.BasicVerticalLayoutManager, int getSizeOfComponent(Component)

Returns the heightwidth of the passed in component.
Class BasicSplitPaneUI.BasicVerticalLayoutManager, Dimension minimumLayoutSize(Container)

Returns the minimum size needed to contain the children. The heightwidth is the sum of all the childrens min heightswidths and the widthheight is the largest of the childrens minimum widthsheights.
Class BasicSplitPaneUI.BasicVerticalLayoutManager, Dimension preferredLayoutSize(Container)

Returns the preferred size needed to contain the children. The heightwidth is the sum of all the childrens preferred heightswidths and the widthheight is the largest of the childrens preferred widthsheights.
Class BasicSplitPaneUI.BasicVerticalLayoutManager, void setComponentToSize(Component, int, int, Insets, Dimension)

Sets the heightwidth of the component c to be size placing its x location toat insets.leftlocation y to locationthe insets.top and widthheight to the containersize.widthheight less the lefttop and rightbottom insets.

Class BasicSplitPaneUI, ActionListener createKeyboardDownRightListener()

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses. @deprecated As of Java 2 platform v1.3.

Class BasicSplitPaneUI, ActionListener createKeyboardEndListener()

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses. @deprecated As of Java 2 platform v1.3.

Class BasicSplitPaneUI, ActionListener createKeyboardHomeListener()

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses. @deprecated As of Java 2 platform v1.3.

Class BasicSplitPaneUI, ActionListener createKeyboardResizeToggleListener()

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses. @deprecated As of Java 2 platform v1.3.

Class BasicSplitPaneUI, ActionListener createKeyboardUpLeftListener()

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses. @deprecated As of Java 2 platform v1.3.

Class BasicSplitPaneUI, int getDividerBorderSize()

As of Java 2 platform v1.3 this method is no longer used. Instead you should set the border on the divider.

Returns the width of one side of the divider border. @deprecated As of Java 2 platform v1.3 instead set the border on the divider.

Class BasicSplitPaneUI, int getDividerLocation(JSplitPane)

Returns the location of the divider which may differ from what the splitpane thinks the location of the divider is.
Class BasicSplitPaneUI, ActionListener keyboardUpLeftListener

The handlers thatAs of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are handlingnow defined by the keystrokesLookAndFeel please refer to the key bindings specification for keyboardfurther details. @deprecated As of navigationJava 2 platform v1.3.
Class BasicSplitPaneUI, KeyStroke upKey

The keystrokes thatAs of Java the2 platform v1.3 this JSplitPanepreviously undocumented field is supposedno longer used. Key bindings are now defined by the LookAndFeel please refer to handlethe key bindings specification for further details. @deprecated As of Java 2 platform v1.3.

Class BasicTabbedPaneUI

A Basic L&F implementation of TabbedPaneUI. @version 1.79 0487 06/2208/99 @author Amy Fowler @author Philip Milne @author Steve Wilson @author Tom Santos @author Dave Moore

Class BasicTableHeaderUI

BasicTableHeaderUI implementation @version 1.40 0853 02/2602/9800 @author PhilipAlan MilneChung @author AlanPhilip ChungMilne

Class BasicTableUI

BasicTableUI implementation @version 1.83 04102 02/2202/9900 @author Philip Milne

Class BasicTableUI.KeyHandler

This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTableUI.

As of Java 2 platform v1.3 this class is no longer used. Instead JTable overrides processKeyBinding to dispatch the event to the current TableCellEditor.


Class BasicTableUI, Dimension getMaximumSize(JComponent)

Return the maximum size of the table. The maximum height is the row height (plus inter-cell spacing)heighttimes times the number of rows. The maximum width is the sum of the maximum widths of each column (plus inter-cell spacing).
Class BasicTableUI, Dimension getMinimumSize(JComponent)

Return the minimum size of the table. The minimum height is the row height (plus inter-cell spacing) times the number of rows. The minimum width is the sum of the minimum widths of each column (plus inter-cell spacing).
Class BasicTableUI, Dimension getPreferredSize(JComponent)

Return the preferred size of the table. The preferred height is the row height (plus inter-cell spacing) times the number of rows. The preferred width is the sum of the preferred widths of each column (plus inter-cell spacing).

Class BasicTextAreaUI

Provides the look and feel for a plain text editor. In this implementation the default UI is extended to act as a simple view factory.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @author Timothy Prinzing @version 1.54 1060 02/2002/9800


Class BasicTextFieldUI

Basis of a look and feel for a JTextField.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @author Timothy Prinzing @version 1.77 0882 02/2802/9800

Class BasicTextFieldUI, void propertyChange(PropertyChangeEvent)

This method gets called when a bound property is changed on the associated JTextComponent. This is a hook which UI implementations may change to reflect how the UI displays bound properties of JTextComponent subclasses. This is implemented to do nothing (i.e. the response to properties in JTextComponent itself are handled prior to calling this method). @param evt the property change event

Class BasicTextPaneUI

Provides the look and feel for a styled text editor.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @author Timothy Prinzing @version 1.59 0861 02/2802/9800


Class BasicTextUI

Basis of a text components look-and-feel. This provides the basic editor view and controller services that may be useful when creating a look-and-feel for an extension of JTextComponent.

Most state is held in the associated JTextComponent as bound properties and the UI installs default values for the various properties. This default will install something for all of the properties. Typically a LAF implementation will do more however. At a minimum a LAF would generally install key bindings.

This class also provides some concurrency support if the Document associated with the JTextComponent is a subclass of AbstractDocument. Access to the View (or View hierarchy) is serialized between any thread mutating the model and the Swing event thread (which is expected to render do model/view coordinate translation etc). Any access to the root view should first aquire a read-lock on the AbstractDocument and release that lock in a finally block.

An important method to define is the #getPropertyPrefix method which is used as the basis of the keys used to fetch defaults from the UIManager. The string should reflect the type of TextUI (eg. TextField TextArea etc) without the particular LAF part of the name (eg Metal Motif etc).

To build a view of the model one of the following strategies can be employed.

  1. One strategy is to simply redefine the ViewFactory interface in the UI. By default this UI itself acts as the factory for View implementations. This is useful for simple factories. To do this reimplement the #create method.
  2. A common strategy for creating more complex types of documents is to have the EditorKit implementation return a factory. Since the EditorKit ties all of the pieces necessary to maintain a type of document the factory is typically an important part of that and should be produced by the EditorKit implementation.
  3. A less common way to create more complex types is to have the UI implementation create a. seperate object for the factory. To do this the #createViewFactory method should be reimplemented to return some factory.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @author Timothy Prinzing @version 1.28 1143 02/2009/9800

Class BasicTextUI, Rectangle getVisibleEditorRect()

Gets the allocation to give the root View. Due to an unfortunate set of historical events this method is inappropriately named. The Rectangle returned has nothing to do with visibility. The component must have a non-zero positive size for this translation to be computed. @return the bounding box for the root view
Class BasicTextUI, Rectangle modelToView(JTextComponent, int)

Converts the given location in the model to a place in the view coordinate system. The component must have a non-zero positive size for this translation to be computed. @param tc the text component for which this UI is installed @param pos the local location in the model to translate >= 0 @return the coordinates as a rectangle null if the model is not painted @exception BadLocationException if the given position does not represent a valid location in the associated document @see TextUI#modelToView
Class BasicTextUI, Rectangle modelToView(JTextComponent, int, Bias)

Converts the given location in the model to a place in the view coordinate system. The component must have a non-zero positive size for this translation to be computed. @param tc the text component for which this UI is installed @param pos the local location in the model to translate >= 0 @return the coordinates as a rectangle null if the model is not painted @exception BadLocationException if the given position does not represent a valid location in the associated document @see TextUI#modelToView
Class BasicTextUI, int viewToModel(JTextComponent, Point)

Converts the given place in the view coordinate system to the nearest representative location in the model. The component must have a non-zero positive size for this translation to be computed. @param tc the text component for which this UI is installed @param pt the location in the view to translate. This should be in the same coordinate system as the mouse events. @return the offset from the start of the document >= 0 -1 if not painted @see TextUI#viewToModel
Class BasicTextUI, int viewToModel(JTextComponent, Point, Bias[])

Converts the given place in the view coordinate system to the nearest representative location in the model. The component must have a non-zero positive size for this translation to be computed. @param tc the text component for which this UI is installed @param pt the location in the view to translate. This should be in the same coordinate system as the mouse events. @return the offset from the start of the document >= 0 -1 if notthe component doesn't yet have painteda positive size. @see TextUI#viewToModel

Class BasicToggleButtonUI

BasicToggleButton implementation

@version 1.46 0852 02/2623/9800 @author Jeff Dinkins


Class BasicToolBarSeparatorUI

A Basic L&F implementation of ToolBarSeparatorUI. This implementation is a "combined" view/controller.

@version 1.5 087 02/2602/9800 @author Jeff Shapiro


Class BasicToolBarUI

A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.

@version 1.53 0461 01/2221/9901 @author Georges Saab @author Jeff Shapiro


Class BasicToolTipUI

Standard tool tip L&F.

@version 1.29 0430 02/2202/9900 @author Dave Moore


Class BasicTreeUI

The basic L&F for a hierarchical data structure.

@version 1.106 04113 07/2220/99 @author Scott Violet

Class BasicTreeUI, void updateCachedPreferredSize()

Updates the preferredSize instance variable which is returned from getPreferredSize().

TheFor left to right orientations the size is determined from the current AbstractLayoutCache. For RTL orientations the preferred size becomes the width minus the minimum x position.


Class ComboPopup

The interface which defines the kind of popup menu that BasicComboBoxUI requires. Classes that implement this interface don't have to extend JPopupMenu. This interface demands very little so alternatives to JPopupMenu can be used.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @version 1.7 089 02/2802/9800 @author Tom Santos


Class DefaultMenuLayout

The default layout manager for Popup menus and menubars. This class is an extension of BoxLayout which adds the UIResource tag so that plauggable L&Fs can distinguish it from user-installed layout managers on menus. @version 1.2 084 02/2602/9800 @author Georges Saab