|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.pushingpixels.flamingo.internal.ui.common.popup.PopupPanelUI
org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
public class BasicPopupPanelUI
Basic UI for popup panel JPopupPanel
.
Nested Class Summary | |
---|---|
protected static class |
BasicPopupPanelUI.PopupPanelEscapeDismisser
This class is used to trace the changes in the shown popup panels and install ESC key listener on the matching root pane so that the popup panels can be dismissed with the ESC key. |
protected static class |
BasicPopupPanelUI.WindowTracker
This class is used to dismiss popup panels on the following events: Mouse click outside any shown popup panel. Closing, iconifying or deactivation of a top-level window. Any change in the component hierarchy of a top-level window. Only one top-level window is tracked at any time. |
Field Summary | |
---|---|
protected JPopupPanel |
popupPanel
The associated popup panel. |
Constructor Summary | |
---|---|
BasicPopupPanelUI()
|
Method Summary | |
---|---|
static ComponentUI |
createUI(JComponent c)
|
protected static void |
initiliazeGlobalListeners()
Initializes the global listeners. |
protected void |
installComponents()
Installs components on the associated command popup menu. |
protected void |
installDefaults()
Installs default settings for the associated command popup menu. |
protected void |
installListeners()
Installs listeners on the associated command popup menu. |
void |
installUI(JComponent c)
|
protected void |
uninstallComponents()
Uninstalls subcomponents from the associated command popup menu. |
protected void |
uninstallDefaults()
Uninstalls default settings from the associated command popup menu. |
protected void |
uninstallListeners()
Uninstalls listeners from the associated command popup menu. |
void |
uninstallUI(JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JPopupPanel popupPanel
Constructor Detail |
---|
public BasicPopupPanelUI()
Method Detail |
---|
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installDefaults()
protected void installListeners()
protected void installComponents()
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallComponents()
protected static void initiliazeGlobalListeners()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |