Class BasicCommandPopupMenuPanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.pushingpixels.radiance.component.internal.ui.common.popup.PopupPanelUI
org.pushingpixels.radiance.component.internal.ui.common.popup.BasicPopupPanelUI
org.pushingpixels.radiance.component.internal.ui.common.popup.BasicCommandPopupMenuPanelUI
- Direct Known Subclasses:
BasicColorSelectorPopupMenuPanelUI, RadianceCommandPopupMenuPanelUI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected classprotected static classPopup panel that hosts groups of icons.Nested classes/interfaces inherited from class BasicPopupPanelUI
BasicPopupPanelUI.PopupPanelEscapeDismisser, BasicPopupPanelUI.WindowTracker -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected JScrollablePanel<JPanel> private PopupPanelManager.PopupListenerprotected AbstractPopupMenuPanelThe associated popup menu panelprivate ChangeListenerFields inherited from class BasicPopupPanelUI
popupPanel, popupPanelManagerListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManagerprotected abstract JPanelprivate ComponentfindFirstFocusableAfter(List<Component> components, int index) private ComponentfindLastFocusableBefore(List<Component> components, int index) private voidfocusAndScrollToMenuItem(Component popupMenuComponent) voidvoidvoidvoidvoidvoidfocusUp()private intgetFocusedIndex(List<Component> components) protected intprotected booleanprotected voidInstalls components on the associated command popup menu.protected voidInstalls listeners on the associated command popup menu.voidprivate booleanprotected voidprotected voidUninstalls subcomponents from the associated command popup menu.protected voidUninstalls listeners from the associated command popup menu.Methods inherited from class BasicPopupPanelUI
initiliazeGlobalListeners, installDefaults, uninstallDefaults, uninstallUIMethods inherited from class ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Field Details
-
popupMenuPanel
The associated popup menu panel -
popupMenuPanelChangeListener
-
popupListener
-
commandButtonPanel
-
FORCE_ICON
- See Also:
-
-
Constructor Details
-
BasicCommandPopupMenuPanelUI
public BasicCommandPopupMenuPanelUI()
-
-
Method Details
-
installUI
- Overrides:
installUIin classBasicPopupPanelUI
-
installComponents
protected void installComponents()Description copied from class:BasicPopupPanelUIInstalls components on the associated command popup menu.- Overrides:
installComponentsin classBasicPopupPanelUI
-
hasLeadingButtonPanel
protected boolean hasLeadingButtonPanel() -
getMaxVisibleMenuCommands
protected int getMaxVisibleMenuCommands() -
syncComponents
protected void syncComponents() -
createScrollableButtonPanel
-
uninstallComponents
protected void uninstallComponents()Description copied from class:BasicPopupPanelUIUninstalls subcomponents from the associated command popup menu.- Overrides:
uninstallComponentsin classBasicPopupPanelUI
-
installListeners
protected void installListeners()Description copied from class:BasicPopupPanelUIInstalls listeners on the associated command popup menu.- Overrides:
installListenersin classBasicPopupPanelUI
-
uninstallListeners
protected void uninstallListeners()Description copied from class:BasicPopupPanelUIUninstalls listeners from the associated command popup menu.- Overrides:
uninstallListenersin classBasicPopupPanelUI
-
createMenuPanel
-
createLayoutManager
-
focusAndScrollToMenuItem
-
focusFirst
public void focusFirst()- Overrides:
focusFirstin classBasicPopupPanelUI
-
focusLast
public void focusLast()- Overrides:
focusLastin classBasicPopupPanelUI
-
getFocusedIndex
-
findFirstFocusableAfter
-
findLastFocusableBefore
-
focusDown
public void focusDown()- Overrides:
focusDownin classBasicPopupPanelUI
-
focusUp
public void focusUp()- Overrides:
focusUpin classBasicPopupPanelUI
-
maybeMoveFocusToAnotherPopup
private boolean maybeMoveFocusToAnotherPopup() -
focusRight
public void focusRight()- Overrides:
focusRightin classBasicPopupPanelUI
-
focusLeft
public void focusLeft()- Overrides:
focusLeftin classBasicPopupPanelUI
-