|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejavax.swing.plaf.basic
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.
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.19 0223 12/0203/0001 @author David Kloba
Factory object that can vend Borders appropriate for the basic L & F. @version 1.20 0228 12/0203/0001 @author Georges Saab @author Amy Fowler
Button Listener @version 1.46 0255 12/0203/0001 @author Jeff Dinkins @author Arnaud Weber (keyboard UI support)
BasicButton implementation @version 1.100 02106 12/0203/0001 @author Jeff Dinkins
BasicCheckboxMenuItem implementation @version 1.49 0251 12/0203/0001 @author Georges Saab @author David Karlton @author Arnaud Weber
CheckboxUI implementation for BasicCheckboxUIWarning: 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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.33 0235 12/0203/0001 @author Jeff Dinkins
Provides the basic look and feel for a JColorChooser.@version 1.
25 0236 12/0203/0001 @author Tom Santos @author Steve Wilson
The default editor for editable combo boxes. The editor is implemented as a JTextField. If the text field is used to editjava.lang.Number
objects then its constrained to only accept numbers. @version 1.17 0222 12/0203/0001 @author Arnaud Weber @author Mark Davidson
A subclass of BasicComboBoxEditor that implements UIResource. BasicComboBoxEditor doesn't implement UIResource directly so that applications can safely override the cellRenderer property with BasicListCellRenderer subclasses.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
ComboBox rendererWarning: 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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.16 0218 12/0203/0001 @author Arnaud Weber
A subclass of BasicComboBoxRenderer that implements UIResource. BasicComboBoxRenderer doesn't implement UIResource directly so that applications can safely override the cellRenderer property with BasicListCellRenderer subclasses.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
Basic UI implementation for JComboBox.This class
adds and removes components from theThe combo box is a compoundJComboBox.componentThe arrow button and the editor are managed by this objectwhich means that it is an agregate of many simpler components.The popup menuThisis handled byclass creates andBasicComboPopup.managesBasicComboPopup supplies this class with a MouseListener MouseMotionListener and a KeyListenerthe listeners on the combo box and the combo box model. These listenersareupdate the user interfaceaddedin response tothe arrowchanges inbuttonthe properties andthe JComboBoxstate ofbythe combodefaultbox.Subclasses
of BasicComboBoxUI should attach the listeners to whichever components theyAll event handling is handled by listener classes created withlike.theinstallListenerscreatexxxListener()
is where listenersmethods and internalgetclasses.addedYoutocan change theJComboBoxbehavior(andofmodel).this class byconfigureEditoroverriding thecreatexxxListener
()ismethods and supplying yourwhereown event listenersget added toor subclassing from theeditorones supplied in this class.configureArrowButton()
is whereFor addinglistenersspecific actionsgetoverideaddedinstallKeyboardActions
totheadd actionsarrowinbuttonresponse to KeyStroke bindings.Inner classes forSee the articlehandlingKeyboardevents:BindingsFocusHandlerinItemHandlerSwingListDataHandleratPropertyChangeHandlerThe SwingKeyHandlerConnection. @version 1.103 07149 12/1003/9901 @author Arnaud Weber @author Tom Santos @author Mark Davidson
This layout manager handles the 'standard' layout of combo boxes. It puts the arrow button to the right and the editor to the left. If there is no editor it still keeps the arrow button to the right. Thisinner class is marked "public" due to acompiler bug. Thisinner class should be treated asa "protected" inner class. Instantiate it only within subclasses ofBasicComboBoxUI
.
This listener hides the popup when the focus is lost. It also repaints when focus is gained or lost. Thisinner class is marked "public" due to acompiler bug. Thisinner class should be treated asa "protected" inner class. Instantiate it only within subclasses ofBasicComboBoxUI
.
This listener watches for changes to the selection in the combo boxand updates the display of the currently selected item.This inner class is
markedThis"public" due to acompiler bug. Thisinner class should be treated asa "protected" inner class. Instantiate it only within subclasses ofBasicComboBoxUI
. @see createItemListener
This listener checks to see if the key event isn't a navigation key. If it finds a key event that wasn't a navigation key it dispatches it to JComboBox.selectWithKeyChar() so that it can do type-ahead. Thisinner class is marked "public" due to acompiler bug. Thisinner class should be treated asa "protected" inner class. Instantiate it only within subclasses ofBasicComboBoxUI
.
This listener watches for changes in thedata and revalidatesComboBoxModel
.This inner class is
markedThis"public" due to acompiler bug. Thisinner class should be treated asa "protected" inner class. Instantiate it only within subclasses ofBasicComboBoxUI
. @see createListDataListener
This listener watches for bound properties that have changed in theJComboBox. It looks forcombothe model andbox.editor beingSubclasses
swapped-outwhichand updateswish toappropriately.listenIt also looks forto combo box property changesinshould call theeditable enabled and maximumRowCountsuperclass methods to ensureproperties.thatThis inner class is markedthe combo box ui correctly"public"handlesduepropertytochanges.a compilerThis
bug.publicThisinner class should be treated asa "protected" inner class. Instantiate it only within subclasses ofBasicComboBoxUI
. @see createPropertyChangeListener
Class BasicComboBoxUI, void configureArrowButton()Adds theThis public method is implementation specific and should be private. do not call or override. To implement a specific editortocreate a customComboBoxEditor
the@see createEditor @see javax.swing.JComboBox#setEditor @see javax.swing.ComboBoxEditor
Class BasicComboBoxUI, void configureEditor()Configures the arrow button by addingThis public method is implementation specificlistenersand should be private. Do not call or override. @see createArrowButton
Class BasicComboBoxUI, JButton createArrowButton()Configures the editor by setting itsThis protected method is implementation specificfontandaddingshould be private. dolistenersnot call or override. @see addEditor
CreatesClass BasicComboBoxUI, ComboBoxEditor createEditor()the arrowan button. Subclasses can createanywhichbutton theywilllike.beThe default behavior of this class is to attach various listeners toused as the control to show or hide the popup portion of thebuttoncomboreturnedbox.by@returnthisamethod.buttonReturns an instance ofwhich represents the popupBasicArrowButton.control
Creates the default editor thatClass BasicComboBoxUI, FocusListener createFocusListener()is towill be used in editable combo boxes.This method only gets called ifA default editor will be usedaonly ifcustoman editor has notalreadybeeninstalledexplicitlyinset withsetEditor
. @return aComboBoxEditor
used for theJComboBoxcombo box @see javax.swing.JComboBox#setEditor
CreatesClass BasicComboBoxUI, ItemListener createItemListener()theaFocusListener
whichfocus listener that hideswill be added to thepopupcombowhenbox.theIf this method returns null then itfocus iswill notlostbe added to the combo box.Returns@return an instance ofBasicComboBoxUI$FocusHandler.aFocusListener
or null
CreatesClass BasicComboBoxUI, KeyListener createKeyListener()the itemanlistenerItemListener
that watches for updates inwhich will be added to thecurrentcombo box. If thisselection so thatmethod returns null then itcanwill notupdatebe added to thedisplaycombo box.Subclasses may override this method to return instances of their own ItemEvent handlers
.Returns@return an instance ofBasicComboBoxUI$ItemHandler.anItemListener
or null
Creates aClass BasicComboBoxUI, LayoutManager createLayoutManager()KeyListener
which will be added to thekeycombo box. If this methodlistener for handlingreturns null thentype-aheadit will not be added to the combo box.Returns@return an instanceofKeyListener
BasicComboBoxUI$KeyHandler.or null
CreatesClass BasicComboBoxUI, ListDataListener createListDataListener()the standard combo boxa layout managerthat hasfor managing thearrow button tocomponentsthe right andwhich make up theeditor to thecomboleftbox.Returns@return an instance ofBasicComboBoxUI$ComboBoxLayoutManager.a layout manager
CreatesClass BasicComboBoxUI, ComboPopup createPopup()thea list data listenerthatwhich will be added to theComboBoxModel
. If thisis used for cachingmethod returns null then it will not be added to thepreferredcombosizesbox model.Returns@return an instance ofBasicComboBoxUI$ListDataHandler.aListDataListener
or null
CreatesClass BasicComboBoxUI, PropertyChangeListener createPropertyChangeListener()anthe popupimplementationportion of theComboPopupcombointerfacebox.Returns@return an instance ofBasicComboPopup.ComboPopup
@see ComboPopup
Creates aClass BasicComboBoxUI, ListCellRenderer createRenderer()PropertyChangeListener
which will be added to thelistcombo box. If this method returns nulldata listener that is used for cachingthen it will not be added to thepreferredcombosizesbox.Returns@return an instance ofBasicComboBoxUI$PropertyChangeHandler.aPropertyChangeListener
or null
Creates the default renderer thatClass BasicComboBoxUI, Dimension getDefaultSize()is towill be used inthea non-editiable combo box.This methodA defaultonlyrenderer willgets calledused only if acustomrenderer hasnto alreadynot beeninstalledexplicitlyinset withsetRenderer
. @return aListCellRender
used for theJComboBoxcombo box @see javax.swing.JComboBox#setRenderer
Return the default size of an empty display area of the combo box using the current renderer and font. @return the size of an empty display area @see getDisplaySizeClass BasicComboBoxUI, void installComponents()
Class BasicComboBoxUI, void installListeners()TheCreateseditorandarrowinitializes the components which make up the aggregate combo box. This methodbutton are added tois called as part of theJComboBoxUI installationhereprocess.
Class BasicComboBoxUI, void removeEditor()AttachesCreate and install the listenerstofor theJComboBoxcombo box andJComboBoxModelits model. This method is called when the UI is installed.
Class BasicComboBoxUI, void unconfigureArrowButton()Removes the editor from theThis public method is implementationJComboBoxspecific and should be private.Itdoalsonot call or override.calls@seeunconfigureEditor()addEditor
Class BasicComboBoxUI, void unconfigureEditor()Unconfigures the arrow button by removingThis public method is implementation specificlistenersand should be private. Do not call or override. @see createArrowButton
Class BasicComboBoxUI, void uninstallComponents()Unconfigures the editor by removingThis protected method is implementationlistenersspecific and should be private. Do not call or override. @see addEditor
TheClass BasicComboBoxUI, void uninstallListeners()editoraggregateand/orcomponentsarrow button are removed fromwhich compise the combo boxtheare unregisteredJComboBox hereand uninitialized. This methodcallsisremoveAll()calledonasthe JComboBox justparttoofmake sure thattheeverything gets removedUI uninstallation process.
RemovesRemove the installed listeners from theJComboBoxcombo box andJComboBoxModelits model. The number and types of listeners removed and in this method should be the same that was added ininstallListeners
This isana basic implementation of theComboPopup
interface.It is primarily for use by BasicComboBoxUI and its subclasses. BasicComboPopup extends JPopupMenuThisbecause most combo boxes use aclass represents the ui for the popupmenuportionto displayof thelist of possiblecomboselectionsbox.BasicComboBoxUI only requires a ComboPopup so subclasses of BasicComboBoxUI aren't required to use this class.All event handling is handled by listener classes created with the
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 ItemHandlerWarning: 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 @version 1.32 0267 12/0203/0001 @author Tom Santos @author Mark Davidson
This listener watches forAs of Java 2theplatform v 1.4spacebar being pressedthis class is now obsolete andshows/hidesis only included for backwards API compatibility. Do not instantiate or subclass.All
thepopupfunctionality of this class has been included in BasicComboBoxUI ActionMap/InputMapaccordinglymethods.
ThisA listenerknowstohowbeandregistered upon the combo box (not its popupwhenmenu) toinvokehandle mouse events that affect the state of the popup menu. The main purpose of this listener is to make the popup menu appear and disappear.ItThis listener also helps with click-and-drag scenarios by setting the selection if the mouse was released over the list during a drag.Warning: We recommend that you not create subclasses of this class. If you absolutely must create a subclass be sure to invoke the superclass version of each method. @see BasicComboPopup#createMouseListener
This listener watches for changesinto theJComboBox'sselection.It updatesin thelist accordinglycombo box.
Keeps theAs ofselected1.4 thisindex in the listclass is now obsoletein-syncdoesn'twith the combodo anything andbox'sis only included for backwards API compatibility. Do notselectioncall or override.The functionality has been migrated into
. @see createItemListenerItemHandler
This listener watchesAs of Javafor2 platform v 1.4 thischanges in theclass is nowlistobsolete doesn'st doselectionanything andreportsis only included for backwards API compatibility.them to the combo boxDo not call or override.
This listener watches for boundpropertypropertieschangesthat have changed inJComboBoxthe combo box.If the model orSubclasses which wish
theto listen to comborendererbox property changes should call the superclass methods to ensure that the combo popuphidescorrectly handles propertyitselfchanges. @see createPropertyChangeListener
Class BasicComboPopup, void configurePopup()CalledConfigures the list which is used toconfigurehold thelistcombo box items in the popup. This method is called when the UI class is created.by@see createList().
Class BasicComboPopup, void configureScroller()Called to configure this JPopupMenuConfigures the popup portion of(BasicComboPopupthe combo box. This method isacalled when the UI class isJPopupMenu)created.
Class BasicComboPopup, ItemListener createItemListener()CalledConfigurestothe scrollable portionconfigurewhich holds theJScrollPanelistcreatedwithin the combo box popup.byThiscreateScroller()method is called when the UI class is created.
Creates anClass BasicComboPopup, KeyListener createKeyListener()itemItemListener
listener that watches for changeswhich will be added tointheselectedcombo box. If this method returns null thenitem init will not be added to theJComboBoxcombo box.Subclasses may override this method to return instances of their own ItemEvent handlers
.Returns@return an instance ofBasicComboPopup$ItemHandler.anItemListener
or null
Creates the key listener thatClass BasicComboPopup, JList createList()is returned bywill be addedComboPopup.getKeyListener()to the combo box.ReturnsIf this method returns null then itan instance ofwill not beBasicComboPopup$InvocationKeyHandleradded to the combo box. @return aKeyListener
or null
Creates the JListClass BasicComboPopup, ListDataListener createListDataListener()that isused in the popup to display the items in the combo box model. This method is called when the UI class is created. @return aJList
used to display the combo box items
Creates a list data listenerClass BasicComboPopup, MouseListener createListMouseListener()that watches for inserted andwhich will be added toremovedtheComboBoxModel
. If this method returns null then it willitems fromnot be added to the combo box model. @return an instance of aListDataListener
or null
Creates a mouse listener that watches for mouse events in the popup's list.Class BasicComboPopup, MouseMotionListener createListMouseMotionListener()ReturnsIf this method returns null then it will not be added to the combo box. @return an instance ofBasicComboPopup$ListMouseHandler.aMouseListener
or null
Creates a mouse motion listener that watches for mouse motion events in the popup's list.Class BasicComboPopup, ListSelectionListener createListSelectionListener()ReturnsIf this method returns null then it will not be added to the combo box. @return an instance ofBasicComboPopup$ListMouseMotionHandler.aMouseMotionListener
or null
Creates a list selection listener that watches for selection changes in the popup's list.Class BasicComboPopup, MouseListener createMouseListener()ReturnsIf this method returns null then it will not be added to the popup list. @return an instance ofBasicComboPopup$ListSelectionHandler.aListSelectionListener
or null
CreatesClass BasicComboPopup, MouseMotionListener createMouseMotionListener()the mousea listener thatis returned bywill watch forComboPopup.getMouseListener()mouse-press and release events on the combo box.ReturnsWarning: When overriding this method makean instance ofsure to maintainBasicComboPopup$InvocationMouseHandlerthe existing behavior. @return aMouseListener
which will be added to the combo box or null
Creates the mouse motion listenerClass BasicComboPopup, PropertyChangeListener createPropertyChangeListener()that is returned bywhich will be addedComboPopup.getMouseMotionListener()to the combo box.ReturnsWarning: When overridingan instance ofthis method makeBasicComboPopup$InvocationMouseMotionListenersure to maintain the existing behavior. @return aMouseMotionListener
which will be added to the combo box or null
Creates aClass BasicComboPopup, JScrollPane createScroller()propertyPropertyChangeListener
change listener that watches for changes inwhich will be added to the combothebox. If this method returns null thenbound properties init will not be added to theJComboBoxcombo box.Returns@return an instance ofBasicComboPopup$PropertyChangeHandler.aPropertyChangeListener
or null
Creates theClass BasicComboPopup, KeyListener getKeyListener()JScrollPane that is usedscroll pane which housesinthepopup to hold thescrollable list.
Implementation of ComboPopup.getKeyListener(). @return a KeyListener
or null @see ComboPopup#getKeyListener
Class BasicComboPopup, MouseListener getMouseListener()Implementation of ComboPopup.getMouseListener(). @return a MouseListener
or null @see ComboPopup#getMouseListener
Class BasicComboPopup, MouseMotionListener getMouseMotionListener()Implementation of ComboPopup.getMouseMotionListener(). @return a MouseMotionListener
or null @see ComboPopup#getMouseMotionListener
Class BasicComboPopup, void installListListeners()Class BasicComboPopup, void startAutoScrolling(int)CalledAddsby configureList() to addthenecessarylisteners to the list control.
Called byThis protectedBasicComboPopup$InvocationMouseMotionHandlermethodto handleis implementationauto-specificscrolling theand shouldlistbe private. do not call or override.
Basic L&F for a minimized window on a desktop. @version 1.27 0230 12/0203/0001 @author David Kloba @author Steve Wilson @author Rich Schiavi
Basic L&F for a desktop. @version 1.Class BasicDesktopPaneUI, KeyStroke closeKey36 0244 12/0203/0001 @author Steve Wilson
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel please refer to the key bindings specification for further details. @deprecated As ofClass BasicDesktopPaneUI, KeyStroke maximizeKeyJDK version1.3.
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel please refer to the key bindings specification for further details. @deprecated As ofClass BasicDesktopPaneUI, KeyStroke minimizeKeyJDK version1.3.
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel please refer to the key bindings specification for further details. @deprecated As ofClass BasicDesktopPaneUI, KeyStroke navigateKeyJDK version1.3.
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel please refer to the key bindings specification for further details. @deprecated As ofClass BasicDesktopPaneUI, KeyStroke navigateKey2JDK version1.3.
As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel please refer to the key bindings specification for further details. @deprecated As ofJDK version1.3.
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @author Timothy Prinzing @version 1.24 0428 12/0603/0001
Invoked whenThe JList used for representing themousefiles is created by subclasses but the selection is monitored in this class. The TransferHandler installed in the JFileChooser is also installed in the fileenterslist as it is used as the actual transfer source. The list is updated on acomponentmouse enter to reflect the current data transfer state of the file chooser.
Draw a string with the graphicsg
at location (x y) just likeg.drawString
would. The first()occurenceoccurrence ofunderlineChar
in text will be underlined. The matching algorithm is not case sensitive.
Support for providing html views for the swing components. This translates a simple html string to a javax.swing.text.View implementation that can render the html and provide the necessary layout semantics. @author Timothy Prinzing @version 1.11 0216 12/0203/0001
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.22 0225 12/0203/0001 @author David Kloba @author Georges Saab
The class that manages a basic title barWarning: 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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.33 0241 01/0218/0001 @author David Kloba @author Steve Wilson
A basic L&F implementation of JInternalFrame. @version 1.75 0397 12/1303/01 @author David Kloba @author Rich Schiavi
Class BasicInternalFrameUI.GlassPaneDispatcher, void mouseReleased(MouseEvent)IgnoreForward the mouseDraggedeventsevent to the underlying child container. @see #mousePressed
IgnoreForward the mouseReleasedeventsevent to the underlying child container. @see #mousePressed
This method is called when the user wants to close the frame. The playCloseSound
Action is fired. This action is delegated to the desktopManager.
Class BasicInternalFrameUI, void deiconifyFrame(JInternalFrame)This method is called when the user wants to deiconify the frame. The playRestoreUpSound
Action is fired. This action is delegated to the desktopManager.
Class BasicInternalFrameUI, void iconifyFrame(JInternalFrame)This method is called when the user wants to iconify the frame. The playMinimizeSound
Action is fired. This action is delegated to the desktopManager.
Class BasicInternalFrameUI, void maximizeFrame(JInternalFrame)This method is called when the user wants to maximize the frame. The playMaximizeSound
Action is fired. This action is delegated to the desktopManager.
Class BasicInternalFrameUI, void minimizeFrame(JInternalFrame)This method is called when the user wants to minimize the frame. The playRestoreDownSound
Action is fired. This action is delegated to the desktopManager.
Class BasicInternalFrameUI, void replacePane(JComponent, JComponent)AddsInstalls necessarymouseHandlersmousetohandlerscurrentPaneonnewPane
and adds it to the frame. Reverse process for thenewPanecurrentPane
.
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.69 0276 12/0203/0001 @author Hans Muller
A Windows L&F implementation of ListUI.@version 1.
54 0287 12/0203/0001 @author Hans Muller @author Philip Milne
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @see JList#getModel @see #maybeUpdateLayoutState @see #createListDataListener @see #installUI
The ListSelectionListener that's added to the JLists selection model at installUI time and whenever the JList.selectionModel property changes. When the selection changes we repaint the affected rows.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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @see #createListSelectionListener @see #getCellBounds @see #installUI
Mouse input and focus handling for JList. An instance of this class is added to the appropriate java.awt.Component lists at installUI() time. Note keyboard input is handled with JComponent KeyboardActions see installKeyboardActions().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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @see #createMouseInputListener @see #installKeyboardActions @see #installUI
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @see #maybeUpdateLayoutState @see #createPropertyChangeListener @see #installUI
@Class BasicListUI, Dimension getMinimumSize(JComponent)returns Thereturn the preferred size.@see #getPreferredSize
@Class BasicListUI, Dimension getPreferredSize(JComponent)returns Thereturn the preferred size.@see #getPreferredSize
The preferredSize ofClass BasicListUI, void installKeyboardActions()athe list depends upon the layout orientation.The above specifies the raw preferred
Layout Orientation Preferred Size JList.VERTICAL The preferredSize of the list is total height of the rows and the maximum width of the cells. If JList.fixedCellHeight is specified then the total height of the rows is just (cellVerticalMargins + fixedCellHeight) * model.getSize() where rowVerticalMargins is the space we allocate for drawing the yellow focus outline. Similarly if JListfixedCellWidthfixedCellWidth is specified then we just use that.JList.VERTICAL_WRAP If the visible row count is greater than zero the preferredHeight is the maximum cell height * visibleRowCount. If the visible row count is < 0 the preferred height is either the current height of the list or the maximum cell height whichever is bigger. The preferred width is than the maximum cell width * number of columns needed. Where the number of columns needs is list.height / max cell height. Max cell height is either the fixed cell height or is determined by iterating through all the cells to find the maximum height from the ListCellRenderer. JList.HORIZONTAL_WRAP If the visible row count is greater than zero the preferredHeight is the maximum cell height * adjustedRowCount. Where visibleRowCount is used to determine the number of columns. Because this lays out horizontally the number of rows is then determined from the column count. For plusexample lets say you have a model with 10 items and the visible row count is 8. The number of columns needed to display this is 2 but you no longer need 8 rows to display this you only need 5 thus the adjustedRowCount is 5.If the visible row count is < 0 the preferred height is dictated by the number of columns which will be as many as can fit in the width of the
theJList
(width / max cell width) with at least one column. The preferred height then becomeshorizontalmodel size / number of columns * maximum cell height. Max cell height is either the fixed cell height or is determined by iterating through all the cells to find the maximum height from the ListCellRenderer.marginswidth and height. The resulting preferred width is the above width + insets.left + insets.right and the resulting preferred height is the above height + insets.top + insets.bottom. Where theInsets
are determined fromlist.getInsets()
. @param c The JList component. @return The total size of the list.
Class BasicListUI, int locationToIndex(JList, Point)RegisterRegisterskeyboard actions fortheup and down arrow keys. The actions just call outkeyboardto protected methodsbindings on thesubclassesJList
thatwant to override or extend keyboard behavior should considerthejustBasicListUI
overriding those methodsis associated with. This method is called at installUI() time. @see #selectPreviousIndex @see #selectNextIndex @see #installUI
Convert a point inClass BasicListUI, void selectNextIndex()JList
coordinates to the closest index of the cell at that location. To determine if the cell actually contains the specified location use a combination of this method andgetCellBounds
. Returns -1 if the model is empty. @return The index of the cell at location or -1. @see ListUI#locationToIndex
Selected the previous row and force it to be visible.Class BasicListUI, void selectPreviousIndex()Called by the KeyEvent.VK_DOWN keyboard action. @see #installKeyboardActions@see JList#ensureIndexIsVisible
Selected the previous row and force it to be visible.Class BasicListUI, void uninstallDefaults()Called by the KeyEvent.VK_UP keyboard action. @see #installKeyboardActions@see JList#ensureIndexIsVisible
Set the JList properties that haven't been explicitlyClass BasicListUI, void uninstallKeyboardActions()overridenoverridden to null. A property is considered overridden if its current value is not a UIResource. @see #installDefaults @see #uninstallUI @see CellRendererPane
UnregisterUnregisters keyboard actionsforinstalledthe up and downfromarrow keysinstallKeyboardActions
. This method is called at uninstallUI() time - subclassess should ensure that all of the keyboard actions registered at installUI time are removed here. @see #selectPreviousIndex @see #selectNextIndex @see #installUI
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.160 06203 12/1403/01 @author unattributed
A default L&F implementation of MenuBarUI. This implementation is a "combined" view/controller. @version 1.74 0276 12/0203/0001 @author Georges Saab @author David Karlton @author Arnaud Weber
BasicMenuItem implementation @version 1.101 04115 12/0503/0001 @author Georges Saab @author David Karlton @author Arnaud Weber @author Fredrik Lagerblad
A default L&F implementation of MenuUI. This implementation is a "combined" view/controller. @version 1.131 02141 12/0903/01 @author Georges Saab @author David Karlton @author Arnaud Weber
Provides the basic look and feel for aJOptionPane
.BasicMessagePaneUI
provides a means to place an icon message and buttons into aContainer
.TheGenerally the layout will look like:
------------------ | i | message | | c | message | | o | message | | n | message | ------------------ | buttons | |________________|icon is an instance ofIcon
that iswrapedwrapped inside aJLabel
. The message is an opaque object and is tested for the following: if the message is aComponent
it is added to theContainer
if it is anIcon
it is wrapped inside aJLabel
and added to theContainer
otherwise it is wrapped inside aJLabel
.The above layout is used when the option pane's
.ComponentOrientation
property is horizontal left-to-right. The layout will be adjusted appropriately for other orientationsThe
Container
message icon and buttons are all determined from abstract methods. @version 1.36 0253 12/0203/0001 @author James Gosling @author Scott Violet @author Amy Fowler
ButtonAreaLayout
acts similiarbehaves in a similar manner toFlowLayout
. It lays out all components from left to right. IfsyncAllWidths
is true the widths of each component will be set to the largest preferred size width. 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 BasicOptionPaneUI.
Creates and returns a ContainerClass BasicOptionPaneUI, Icon getIcon()containincontaining the buttons. The buttons are created by callinggetButtons
.
Returns the icon from the JOptionPane theClass BasicOptionPaneUI, Dimension getMinimumOptionPaneSize()recieverreceiver is providing the look and feel for or the default icon as returned fromgetDefaultIcon
.
Returns the minimum size the option pane should be. Primarily provided for subclassersClass BasicOptionPaneUI, Dimension getPreferredSize(JComponent)wishinwishing to offer a different minimum size.
IfClass BasicOptionPaneUI, void installUI(JComponent)c
is theJOptionPane
therecieverreceiver is contained in the preferred size that is returned is the maximum of the preferred size of theLayoutManager
for theJOptionPane
andgetMinimumOptionPaneSize
.
Installs theClass BasicOptionPaneUI, JOptionPane optionPanerecieverreceiver as the L&F for the passed inJOptionPane
.
JOptionPane
that therecieverreceiver is providing the look and feel for.
BasicPanel implementation @version 1.6 027 12/0203/0001 @author Steve Wilson
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.26 0227 12/0203/0001
A Basic L&F implementation of PopupMenuSeparatorUI. This implementation is a "combined" view/controller. @version 1.8 029 12/0203/0001 @author Jeff Shapiro
A Windows L&F implementation of PopupMenuUI. This implementation is a "combined" view/controller. @version 1.71 1187 12/2703/0001 @author Georges Saab @author David Karlton @author Arnaud Weber
A Basic L&F implementation of ProgressBarUI. @version 1.Class BasicProgressBarUI, Color getSelectionBackground()45 0258 12/0203/0001 @author Michael C. Albers @author Kathy Walrath
The "selectionBackground" is the color of the text when it isClass BasicProgressBarUI, Color getSelectionForeground()drawnpainted over an unfilled area of the progress bar.
The "selectionForeground" is the color of the text when it isClass BasicProgressBarUI, Point getStringPlacement(Graphics, String, int, int, int, int)drawnpainted over a filled area of the progress bar.
Designate the place where the progress string will beClass BasicProgressBarUI, void paint(Graphics, JComponent)drawnpainted. This implementation places it at the center of the progress bar (in both x and y). Override this if you want to right left top or bottom align the progress string or if you need to nudge it around for any reason.
All purposeDelegates paintingpaint method that should do the right thing for almost all linear progress bars. By setting a few values in the defaults table things should work just finetopaint youroneprogressofbar. Naturally override this iftwoyoumethods:arepaintDeterminatemaking a circularorsemi-circular progress barpaintIndeterminate.
BasicRadioButtonMenuItem implementation @version 1.41 0243 12/0203/0001 @author Georges Saab @author David Karlton
RadioButtonUI implementation for BasicRadioButtonUI @version 1.61 0264 12/0203/0001 @author Jeff Dinkins
Basic implementation of RootPaneUI there is one shared between all JRootPane instances. @version 1.3 026 12/0203/0001 @author Scott Violet
Implementation of ScrollBarUI for the Basic Look and Feel @version 1.57 0270 12/0203/0001 @author Rich Schiavi @author David Kloba @author Hans Muller
Listener for scrolling eventsintiatedinitiated in theScrollPane
.
Set the models value to the position of the thumb's top/leftof Vertical scrollbar or thethumbleft/right of Horizontal scrollbar in left-to-right/right-to-left scrollbar relative to the origin of the track.
A verticalClass BasicScrollBarUI, Dimension getPreferredSize(JComponent)scrollbarsscrollbar's minimum width is the largest minimum width of the (nonnull
) increment/decrement buttons and the minimum width of the thumb. The minimum height is the sum of the minimum heights of the same parts. The basis for the preferred size of a horizontal scrollbar is similar.The
minimumSize
is only computed oncesubequentsubsequent calls to this method just return a cached size.T@param cThetheJScrollBar
that's delegating this method to us.@returnThethe minimum size of aBasicbasicJScrollBar
@see #getMaximumSize @see #getPreferredSize.
A verticalClass BasicScrollBarUI, Rectangle getTrackBounds()scrollbarsscrollbar's preferred width is the maximum of preferred widths of the (nonnull
) increment/decrement buttons and the minimum width of the thumb. The preferred height is the sum of the preferred heights of the same parts. The basis for the preferred size of a horizontal scrollbar is similar.The
preferredSize
is only computed oncesubequentsubsequent calls to this method just return a cached size.T@param cThetheJScrollBar
that's delegating this method to us.@returnThethe preferred size of a Basic JScrollBar.@see #getMaximumSize @see #getMinimumSize
ReturnReturns the current bounds of the track i.e. the space in between the increment and decrement buttons less the insets. The value returned by this method is updated each time the scrollbar islayedlaid out (validated).Warning : the value returned by this method should not be be modified it's a reference to the actual rectangle not a copy. @return
Thethe current bounds of the scrollbar track.@see #layoutContainer
A default L&F implementation of ScrollPaneUI. @version 1.Class BasicScrollPaneUI, PropertyChangeListener createPropertyChangeListener()52 0263 12/0203/0001 @author Hans Muller
Creates an instance of PropertyChangeListener that's added to the JScrollPane by installUI(). Subclasses can override this method to return a custom PropertyChangeListener e.g.class MyScrollPaneUI extends BasicScrollPaneUI { protected PropertyChangeListener@seecreatePropertyListenercreatePropertyChangeListener() { return newMyPropertyListenerMyPropertyChangeListener(); } public classMyPropertyListenerMyPropertyChangeListener extendsPropertyListenerPropertyChangeListener { public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("viewport")) { // do some extra work when the viewport changes } super.propertyChange(e); } } }PropertyListenerjava.beans.PropertyChangeListener @see #installUI
A Basic L&F implementation of SeparatorUI. This implementation is a "combined" view/controller. @version 1.20 0221 12/0203/0001 @author Georges Saab @author Jeff Shapiro
A Basic L&F implementation of SliderUI. @version 1.81 0294 12/0203/0001 @author Tom Santos
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.38 0245 12/0203/0001 @author Scott Violet
Used to layout aBasicSplitPaneDivider
. Layout for the divider involvesappropraitelyappropriately moving the left/right buttons around.
Handles the events during a dragging session for a HORIZONTAL_SPLITorientatedoriented split pane. This continually messagesdragDividerTo
and then when done messagesfinishDraggingTo
. When an instance is created it should be messaged withisValid
to insure that dragging can happen (dragging won't be allowed if the two views can not be resized).()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
Handles the events during a dragging session for a VERTICAL_SPLITorientatedoriented split pane. This continually messagesdragDividerTo
and then when done messagesfinishDraggingTo
. When an instance is created it should be messaged withisValid
to insure that dragging can happen (dragging won't be allowed if the two views can not be resized).()
A Basic L&F implementation of the SplitPaneUI. @version 1.61 0968 12/2403/01 @author Scott Violet @author Steve Wilson @author Ralph Kar
Marks the receiver so that the next time this instance islayedlaid out it'll ask for the preferred sizes.
Messaged from theJSplitPane
therecieverreceiver is contained in. May potentially reset the layout manager and cause avalidate
to be sent.()
Returns the insets. The insets are returned from thebroderborder insets of the current border.
BasicTableHeaderUI implementation @version 1.53 0259 12/0203/0001 @author Alan Chung @author Philip Milne
BasicTableUI implementation @version 1.102 02117 08/0227/0001 @author Philip Milne
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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @author Timothy Prinzing @version 1.60 0265 12/0203/0001
Basis of a look and feel for a JTextField.Class BasicTextFieldUI, Caret createCaret()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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @author Timothy Prinzing @version 1.82 0290 12/0203/0001
Creates thecaretobject to use for afieldcaret. By default an instance of BasicCaret is created. This method can be redefined to provide something else that implements the InputPosition interface or a subclass of JCaret. @return the caret object
Provides the look and feel for a styled text editor.Class BasicTextPaneUI, EditorKit getEditorKit(JTextComponent)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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @author Timothy Prinzing @version 1.61 0264 12/0203/0001
Fetches the EditorKit for the UI. This is whatever is currently set in the associated JEditorPane. @Class BasicTextPaneUI, void propertyChange(PropertyChangeEvent)param tc the text component for which this UI is installed @return the editor capabilities @see TextUI#getEditorKit
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. If the font foreground orforegrounddocument has changedandtheDocument is a StyledDocumentthe appropriate property is set in the default style of the document. @param evt the property change event
Class BasicTextUI, void uninstallDefaults()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 ofAbstractDocument
. 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 firstaquireacquire 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.
- 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.
- 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.
- A less common way to create more complex types is to have the UI implementation create a.
seperateseparate 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 releaseAs ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava
.beans package. Please see java.beans.XMLEncoder @author Timothy Prinzing @version 1.44 0475 12/0612/0001
Sets the component properties that haven't been explicitlyoverridenoverridden to null. A property is considered overridden if its current value is not a UIResource. @see #installDefaults @see #uninstallUI
BasicToggleButton implementation@version 1.
53 0455 12/0603/0001 @author Jeff Dinkins
A Basic L&F implementation of ToolBarSeparatorUI. This implementation is a "combined" view/controller.@version 1.
7 028 12/0203/0001 @author Jeff Shapiro
A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.@version 1.
62 0282 12/0903/01 @author Georges Saab @author Jeff Shapiro
Standard tool tip L&F.@version 1.
30 0236 12/0203/0001 @author Dave Moore
The basic L&F for a hierarchical data structure.@version 1.
113 07150 12/2003/9901 @author Scott Violet
Invoked when a key has been typed.This event occurs when aMoves the keyboard focus tokeythe first element whose first letterpress is followedmatches the alphanumeric key pressed byathe user. Subsequent same keyreleasepresses move the keyboard focus to the next object that starts with the same letter.
Destination thatrecievesreceives all events.
TreeTraverseAction
is the action used for left/right keys. Will toggle the expandedness of a node as well as potentially incrementing the selection.
Paints the expand (toggle) part of a row. TheClass BasicTreeUI, void paintHorizontalPartOfLeg(Graphics, Rectangle, Insets, Rectangle, TreePath, int, boolean, boolean, boolean)recieverreceiver should NOT modifyclipBounds
orinsets
.
Paints the horizontal part of the leg. TheClass BasicTreeUI, void paintRow(Graphics, Rectangle, Insets, Rectangle, TreePath, int, boolean, boolean, boolean)recieverreceiver should NOT modifyclipBounds
orinsets
.NOTE:
parentRow
can be -1 if the root is not visible.
Paints the renderer part of a row. TheClass BasicTreeUI, void paintVerticalPartOfLeg(Graphics, Rectangle, Insets, TreePath)recieverreceiver should NOT modifyclipBounds
orinsets
.
Paints the vertical part of the leg. TheClass BasicTreeUI, int leftChildIndentrecieverreceiver should NOT modifyclipBounds
insets
.
Distance between left margin and wherevericalvertical dashes will be drawn.
The interface which defines theClass ComboPopup, KeyListener getKeyListener()kindmethodsof popup menu that BasicComboBoxUI requires. Classes that implement this interface don'trequiredhave to extend JPopupMenu. This interfacefordemands very little so alternatives to JPopupMenu can be usedthe implementation of the popup portion of a combo box.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 @version 1.9 0212 12/0203/0001 @author Tom Santos
Returns a key listener thatClass ComboPopup, JList getList()shows and hideswill be added to the combo box or null. If this method returns null then it will not be added to thepopupcombo box. @param aKeyListener
or null
Returns the list that is being used to draw the items in theClass ComboPopup, MouseListener getMouseListener()JComboBoxcombo box. This method is highly implementation specific and should not be used for general list manipulation.
Returns a mouse listener thatClass ComboPopup, MouseMotionListener getMouseMotionListener()shows and hideswill be added to the combo box or null. If this method returns null then it will not be added to thepopupcombo box. @return aMouseListener
or null
Returns a mouse motion listener thatClass ComboPopup, boolean isVisible()makeswill be added to thepopup act likecombo box oranull. If this method returns null then it willmenunot be added to the combo box. @return aMouseMotionListener
or null
Returnswhether ortrue ifnotthe popup is visible (currently being displayed). @returntrue
if the component is visible;
false
otherwise.
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.4 026 12/0203/0001 @author Georges Saab