java.lang.Object | ||||
↳ | javax.swing.plaf.ComponentUI | |||
↳ | javax.swing.plaf.PopupMenuUI | |||
↳ | javax.swing.plaf.basic.BasicPopupMenuUI | |||
↳ | com.sun.java.swing.plaf.windows.WindowsPopupMenuUI |
Windows rendition of the component.
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.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicPopupMenuUI
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
Popup that will be responsible for
displaying the JPopupMenu . | |||||||||||
Paints the specified component appropriate for the look and feel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicPopupMenuUI
| |||||||||||
From class
javax.swing.plaf.PopupMenuUI
| |||||||||||
From class
javax.swing.plaf.ComponentUI
| |||||||||||
From class
java.lang.Object
|
Returns the Popup
that will be responsible for
displaying the JPopupMenu
.
popupMenu | JPopupMenu requesting Popup |
---|---|
x | Screen x location Popup is to be shown at |
y | Screen y location Popup is to be shown at. |
Paints the specified component appropriate for the look and feel.
This method is invoked from the ComponentUI.update
method when
the specified component is being painted. Subclasses should override
this method and use the specified Graphics
object to
render the content of the component.
g | the Graphics context in which to paint |
---|---|
c | the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components |