Class JComponentActionSupport<UI extends JComponent & JAXXObject>
- java.lang.Object
-
- io.ultreia.java4all.bean.AbstractJavaBean
-
- org.nuiton.jaxx.runtime.swing.action.JAXXObjectActionSupport<UI>
-
- org.nuiton.jaxx.runtime.swing.action.JComponentActionSupport<UI>
-
- All Implemented Interfaces:
io.ultreia.java4all.bean.GetterProducer,io.ultreia.java4all.bean.JavaBean,io.ultreia.java4all.bean.SetterProducer,ActionListener,EventListener,Action
public abstract class JComponentActionSupport<UI extends JComponent & JAXXObject> extends JAXXObjectActionSupport<UI>
-
-
Field Summary
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Fields inherited from class org.nuiton.jaxx.runtime.swing.action.JAXXObjectActionSupport
ACTION_TYPE, editor, EDITOR, ui
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJComponentActionSupport(String label, String shortDescription, String actionIcon, char acceleratorKey)protectedJComponentActionSupport(String actionCommandKey, String label, String shortDescription, String actionIcon, char acceleratorKey)protectedJComponentActionSupport(String actionCommandKey, String label, String shortDescription, String actionIcon, KeyStroke acceleratorKey)protectedJComponentActionSupport(String label, String shortDescription, String actionIcon, KeyStroke acceleratorKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionMapgetActionMap(UI ui)protected InputMapgetInputMap(UI ui, int inputMapCondition)protected intgetInputMapCondition()-
Methods inherited from class io.ultreia.java4all.bean.AbstractJavaBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getChild, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, javaBeanDefinition, pcs, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, vcs
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface io.ultreia.java4all.bean.JavaBean
clear, comparatorBuilder, copy, copy, get, instanceBuilder, predicateBuilder, set
-
Methods inherited from class org.nuiton.jaxx.runtime.swing.action.JAXXObjectActionSupport
actionPerformed, askUser, askUser, askUser, canExecuteAction, canExecutionActionFromLayer, defaultInit, displayInfo, displayWarning, doActionPerformed, getAcceleratorKey, getActionCommandKey, getDisplayMnemonicIndexKey, getEditor, getIcon, getJavaBeanType, getKeyStroke, getLargeIcon, getMnemonic, getName, getText, getTooltipText, getUi, getValue, init, init, init, init, isAddKeyStrokeToText, isAddMnemonicAsKeyStroke, isCheckMenuItemIsArmed, isEnabled, isSelectedKey, putValue, register, run, run, setAddKeyStrokeToText, setAddMnemonicAsKeyStroke, setCheckMenuItemIsArmed, setDisplayMnemonicIndexKey, setEditor, setEnabled, setIcon, setKeyStroke, setLargeIcon, setMnemonic, setName, setSelectedKey, setText, setTooltipText, setUi
-
-
-
-
Constructor Detail
-
JComponentActionSupport
protected JComponentActionSupport(String label, String shortDescription, String actionIcon, KeyStroke acceleratorKey)
-
JComponentActionSupport
protected JComponentActionSupport(String actionCommandKey, String label, String shortDescription, String actionIcon, KeyStroke acceleratorKey)
-
JComponentActionSupport
protected JComponentActionSupport(String label, String shortDescription, String actionIcon, char acceleratorKey)
-
-
Method Detail
-
getInputMapCondition
protected int getInputMapCondition()
- Specified by:
getInputMapConditionin classJAXXObjectActionSupport<UI extends JComponent & JAXXObject>
-
getInputMap
protected InputMap getInputMap(UI ui, int inputMapCondition)
- Specified by:
getInputMapin classJAXXObjectActionSupport<UI extends JComponent & JAXXObject>
-
getActionMap
protected ActionMap getActionMap(UI ui)
- Specified by:
getActionMapin classJAXXObjectActionSupport<UI extends JComponent & JAXXObject>
-
-