public class CPanelPopup.PanelPopup extends CommonSimpleButtonAction
| Constructor and Description |
|---|
PanelPopup()
Creates a new action
|
| Modifier and Type | Method and Description |
|---|---|
<V> V |
createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
CPanelPopup |
getAction()
Gets the
CAction that is represented by this action. |
void |
onMenuItemTrigger(Dockable dockable)
Called if the menu-item representing this action has been
hit.
|
void |
onMenuTrigger(JPopupMenu menu)
Called if a menu is opening a submenu in which
the content
is to be shown. |
void |
onMousePressed(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Called if the mouse is pressed on the button
item of
of a DockTitle which has orientation orientation. |
void |
onMouseReleased(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Called if the mouse is released of the button
item of
of a DockTitle which has orientation orientation. |
void |
onTrigger(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
|
boolean |
trigger(Dockable dockable) |
action, addActionListener, getCommand, removeActionListener, setCommandisDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedbound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isAcceleratorGlobal, isEnabled, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unboundaddDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedisDropDownSelectable, isDropDownTriggerablegetAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltipaddDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListenerpublic <V> V createView(ViewTarget<V> target, ActionViewConverter converter, Dockable dockable)
createView in interface DockActioncreateView in class SimpleButtonActionpublic boolean trigger(Dockable dockable)
trigger in interface DockActiontrigger in class SimpleButtonActionpublic CPanelPopup getAction()
CAction that is represented by this action.getAction in interface CommonDockActiongetAction in class CommonSimpleButtonActionnullpublic void onMousePressed(Dockable dockable, JComponent item, DockTitle.Orientation orientation)
item of
of a DockTitle which has orientation orientation.dockable - the element for which this panel is shownitem - the pressed componentorientation - the orientation of the titlepublic void onMouseReleased(Dockable dockable, JComponent item, DockTitle.Orientation orientation)
item of
of a DockTitle which has orientation orientation.dockable - the element for which this panel is shownitem - the released componentorientation - the orientation of the titlepublic void onTrigger(Dockable dockable, JComponent item, DockTitle.Orientation orientation)
dockable - the element for which this panel is shownitem - the triggered buttonorientation - the orientation of the titlepublic void onMenuItemTrigger(Dockable dockable)
dockable - the source of the eventpublic void onMenuTrigger(JPopupMenu menu)
the content
is to be shown.menu - the new parent of the contentCopyright © 2018. All rights reserved.