Generated by
JDiff

javax.swing.plaf Documentation Differences

This file contains all the changes in documentation in the package javax.swing.plaf 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 ActionMapUIResource

A subclass of javax.swing.ActionMap that implements UIResource. UI classes which provide an ActionMap should use this class. @version 1.3 024 12/0203/0001 @author Scott Violet

Class ButtonUI

Pluggable look and feel interface for JButton. @version 1.15 0216 12/0203/0001 @author Jeff Dinkins

Class ColorChooserUI

Pluggable look and feel interface for JColorChooser. @version 1.9 0210 12/0203/0001 @author Amy Fowler @author Steve Wilson

Class ComboBoxUI

Pluggable look and feel interface for JComboBox. @version 1.15 0217 12/0203/0001 @author Arnaud Weber @author Tom Santos

Class ComponentInputMapUIResource

A subclass of javax.swing.ComponentInputMap that implements UIResource. UI classes which provide a ComponentInputMap should use this class. @version 1.3 024 12/0203/0001 @author Scott Violet

Class ComponentUI, Accessible getAccessibleChild(JComponent, int)

ReturnReturns the nthith Accessible child of the object. UI'sUIs might wishneed to override this if they present areas on the screen that can be viewed as components but actual components are not used for presenting those areas.

Note: asAs of the Java 2 platform v1.3 it is recommended that developers call Component.AccessibleAWTComponent.getAccessibleChild() instead of using this method. @see #getAccessibleChildrenCount @param i zero-based index of child @return the nthith Accessible child of the object

Class ComponentUI, int getAccessibleChildrenCount(JComponent)

Returns the number of accessible children in the object. If all of the children of this object implement Accessible than this method should return the number of children of this object. UI'sUIs might wish to override this if they present areas on the screen that can be viewed as components but actual components are not used for presenting those areas. Note: asAs of the Java 2 platform v1.3 it is recommended that developers call Component.AccessibleAWTComponent.getAccessibleChildrenCount() instead of using this method. @see #getAccessibleChild @return the number of accessible children in the object.

Class DesktopIconUI

Pluggable look and feel interface for JDesktopIcon. @version 1.8 029 12/0203/0001 @author David Kloba

Class DesktopPaneUI

Pluggable look and feel interface for JDesktopPane. @version 1.8 029 12/0203/0001 @author David Kloba

Class FileChooserUI

Pluggable look and feel interface for JFileChooser. @version 1.11 0217 12/0203/0001 @author Jeff Dinkins

Class FontUIResource

A subclass of java.awt.Font that implements UIResource. UI classes which set default font properties should use this class.

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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @see javax.swing.plaf.UIResource @version 1.10 0212 12/0203/0001 @author Hans Muller


Class InputMapUIResource

A subclass of javax.swing.InputMap that implements UIResource. UI classes which provide a InputMap should use this class. @version 1.3 024 12/0203/0001 @author Scott Violet

Class InternalFrameUI

Pluggable look and feel interface for JInternalFrame. @version 1.11 0212 12/0203/0001 @author David Kloba

Class LabelUI

Pluggable look and feel interface for JLabel. @version 1.9 0210 12/0203/0001 @author Hans Muller

Class ListUI

The JList pluggable look and feel delegate. This interface adds methods that allow the JList component to map locations e.g. mouse coordinates to list cells and from cell indices to the bounds of the cell. @version 1.8 0210 12/0203/0001 @author Hans Muller
Class ListUI, int locationToIndex(JList, Point)

Convert a point in JList coordinates to the closest index of the cell at that location. ReturnsTo -1determine if there's nothe cell actually contains the specified location use a combination of this method and getCellBounds. Returns -1 if the model is empty. @param location The JList relative coordinates of the cell @return The index of the cell at location or -1.

Class MenuBarUI

Pluggable look and feel interface for JMenuBar. @version 1.12 0213 12/0203/0001 @author Georges Saab @author David Karlton

Class MenuItemUI

Pluggable look and feel interface for JMenuItem. @version @(#)MenuItemUI.java 1.13 0014 01/0212/0203 @author Georges Saab @author David Karlton @author Arnaud Weber

Class OptionPaneUI

Pluggable look and feel interface for JOptionPane. @version 1.9 0210 12/0203/0001 @author Scott Violet

Class PanelUI

Pluggable look and feel interface for Panel. @version 1.5 026 12/0203/0001 @author Steve Wilson

Class PopupMenuUI

Pluggable look and feel interface for JPopupMenu. @version 1.11 0214 12/0203/0001 @author Georges Saab @author David Karlton

Class ProgressBarUI

Pluggable look and feel interface for JProgressBar. @version 1.10 0211 12/0203/0001 @author Rob Davis

Class RootPaneUI

Pluggable look and feel interface for JRootPane. @version 1.3 024 12/0203/0001 @author Scott Violet

Class ScrollBarUI

Pluggable look and feel interface for JScrollBar. @version 1.9 0010 01/0212/0203 @author David Kloba

Class ScrollPaneUI

Pluggable look and feel interface for JScrollPane. @version 1.14 0215 12/0203/0001 @author Hans Muller

Class SeparatorUI

Pluggable look and feel interface for JSeparator. @version 1.8 029 12/0203/0001 @author Georges Saab @author David Karlton

Class SliderUI

Pluggable look and feel interface for JSlider. @version 1.9 0210 12/0203/0001 @author Hans Muller

Class SplitPaneUI

Pluggable look and feel interface for JSplitPane. @version 1.13 0214 12/0203/0001 @author Scott Violet

Class TabbedPaneUI

Pluggable look and feel interface for JTabbedPane. @version 1.12 0213 12/0203/0001 @author Dave Moore @author Amy Fowler

Class TableHeaderUI

Pluggable look and feel interface for JTableHeader. @version 1.9 0210 12/0203/0001 @author Alan Chung

Class TableUI

Pluggable look and feel interface for JTable. @version 1.9 0210 12/0203/0001 @author Alan Chung

Class TextUI

Text editor user interface @author Timothy Prinzing @version 1.26 0230 12/0203/0001
Class TextUI, int viewToModel(JTextComponent, Point)

Converts the given place in the view coordinate system to the nearest representative location in the model. @param pt the location in the view to translate. This should be in the same coordinate system as the mouse events. @returnsreturn the offset from the start of the document >= 0
Class TextUI, int viewToModel(JTextComponent, Point, Bias[])

Provides a mapping from the view coordinate space to the logical coordinate space of the model. The biasReturn argument@param will be filledpt the location in to indicate that the point given is closerview to thetranslate. nextThis charactershould be in the model or thesame previous character incoordinate system as the modelmouse events. @param x the X coordinatebiasReturn filled in by =this 0method @paramto yindicate whether the Y coordinatepoint given =is 0closer @paramto athe previous or the allocated region to render intonext character in the model @return the location within the model that best represents the given point in the view >= 0. The biasReturn argument will be filled in to indicate that the point given is closer to the next character in the model or the previous character in the model.

Class ToolBarUI

Pluggable look and feel interface for JToolBar. @version 1.11 0212 12/0203/0001 @author Georges Saab

Class ToolTipUI

Pluggable look and feel interface for JToolTip. @version 1.9 0210 12/0203/0001 @author Dave Moore

Class TreeUI

Pluggable look and feel interface for JTree. @version 1.21 0222 12/0203/0001 @author Rob Davis @author Scott Violet

Class UIResource

This interface is used to mark objects created by ComponentUI delegates. The ComponentUI.installUI() and ComponentUI.uninstallUI() methods can use this interface to decide if a properties value has been overridden. For example the JList cellRenderer property is initialized by BasicListUI.installUI() only if it's initial value is null:
 if (list.getCellRenderer() == null) { list.setCellRenderer((ListCellRenderer)(UIManager.get("List.cellRenderer"))); } 
At uninstallUI() time we reset the property to null if its value is an instance of UIResource:
 if (list.getCellRenderer() instanceof UIResource) { list.setCellRenderer(null); } 
This pattern applies to all properties except the java.awt.Component properties font foreground and background. If one of these properties isn't initialized or is explicitly set to null its container provides the value. For this reason the "== null" is unreliable when installUI() is called to dynamically change a components look and feel. So at installUI() time we check to see if the current value is a UIResource:
 if ( (list.getFont() instanceof UIResource)) { list.setFont(UIManager.getFont("List.font")); } 
@see ComponentUI @version 1.7 028 12/0203/0001 @author Hans Muller