|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejavax.swing.plaf
as colored differences. Deletions are shownlike 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.
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
Pluggable look and feel interface for JButton. @version 1.15 0216 12/0203/0001 @author Jeff Dinkins
Pluggable look and feel interface for JColorChooser. @version 1.9 0210 12/0203/0001 @author Amy Fowler @author Steve Wilson
Pluggable look and feel interface for JComboBox. @version 1.15 0217 12/0203/0001 @author Arnaud Weber @author Tom Santos
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, int getAccessibleChildrenCount(JComponent)ReturnReturns thenthi
thAccessible
child of the object.UI'sUIs mightwishneed 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 ofthe Java 2 platformv1.3 it is recommended that developers callComponent.AccessibleAWTComponent.getAccessibleChild()
instead ofusingthis method. @see #getAccessibleChildrenCount @param i zero-based index of child @return thenthi
thAccessible
child of the object
Returns the number of accessible children in the object. If all of the children of this object implementAccessible
thanthis 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 ofthe Java 2 platformv1.3 it is recommended that developers callComponent.AccessibleAWTComponent.getAccessibleChildrenCount()
instead ofusingthis method. @see #getAccessibleChild @return the number of accessible children in the object.
Pluggable look and feel interface for JDesktopIcon. @version 1.8 029 12/0203/0001 @author David Kloba
Pluggable look and feel interface for JDesktopPane. @version 1.8 029 12/0203/0001 @author David Kloba
Pluggable look and feel interface forJFileChooser
. @version 1.11 0217 12/0203/0001 @author Jeff Dinkins
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @see javax.swing.plaf.UIResource @version 1.10 0212 12/0203/0001 @author Hans Muller
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
Pluggable look and feel interface for JInternalFrame. @version 1.11 0212 12/0203/0001 @author David Kloba
Pluggable look and feel interface for JLabel. @version 1.9 0210 12/0203/0001 @author Hans Muller
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.Class ListUI, int locationToIndex(JList, Point)8 0210 12/0203/0001 @author Hans Muller
Convert a point inJList
coordinates to the closest index of the cell at that location.ReturnsTo-1determine ifthere's nothe cell actually contains the specified location use a combination of this method andgetCellBounds
. 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.
Pluggable look and feel interface for JMenuBar. @version 1.12 0213 12/0203/0001 @author Georges Saab @author David Karlton
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
Pluggable look and feel interface for JOptionPane. @version 1.9 0210 12/0203/0001 @author Scott Violet
Pluggable look and feel interface for Panel. @version 1.5 026 12/0203/0001 @author Steve Wilson
Pluggable look and feel interface for JPopupMenu. @version 1.11 0214 12/0203/0001 @author Georges Saab @author David Karlton
Pluggable look and feel interface for JProgressBar. @version 1.10 0211 12/0203/0001 @author Rob Davis
Pluggable look and feel interface for JRootPane. @version 1.3 024 12/0203/0001 @author Scott Violet
Pluggable look and feel interface for JScrollBar. @version 1.9 0010 01/0212/0203 @author David Kloba
Pluggable look and feel interface for JScrollPane. @version 1.14 0215 12/0203/0001 @author Hans Muller
Pluggable look and feel interface for JSeparator. @version 1.8 029 12/0203/0001 @author Georges Saab @author David Karlton
Pluggable look and feel interface for JSlider. @version 1.9 0210 12/0203/0001 @author Hans Muller
Pluggable look and feel interface for JSplitPane. @version 1.13 0214 12/0203/0001 @author Scott Violet
Pluggable look and feel interface for JTabbedPane. @version 1.12 0213 12/0203/0001 @author Dave Moore @author Amy Fowler
Pluggable look and feel interface for JTableHeader. @version 1.9 0210 12/0203/0001 @author Alan Chung
Pluggable look and feel interface for JTable. @version 1.9 0210 12/0203/0001 @author Alan Chung
Text editor user interface @author Timothy Prinzing @version 1.Class TextUI, int viewToModel(JTextComponent, Point)26 0230 12/0203/0001
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. @Class TextUI, int viewToModel(JTextComponent, Point, Bias[])returnsreturn the offset from the start of the document >= 0
Provides a mapping from the view coordinate space to the logical coordinate space of the model.The biasReturn argument@paramwill be filledpt the location into indicate thatthepoint given is closerview tothetranslate.nextThischaractershould be in themodel or thesameprevious character incoordinate system as themodelmouse events. @paramx the X coordinatebiasReturn filled in by=this0method@paramtoyindicate whether theY coordinatepoint given=is0closer@paramtoathe previous or theallocated 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.
Pluggable look and feel interface for JToolBar. @version 1.11 0212 12/0203/0001 @author Georges Saab
Pluggable look and feel interface for JToolTip. @version 1.9 0210 12/0203/0001 @author Dave Moore
Pluggable look and feel interface for JTree. @version 1.21 0222 12/0203/0001 @author Rob Davis @author Scott Violet
This interface is used to mark objects created by ComponentUI delegates. TheComponentUI.installUI()
andComponentUI.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