public class ApplicationElementCustomizer extends FwkCommand implements OdsxApplElemCustomizerInterface
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected ApplicationElement |
applicationElement |
protected java.lang.reflect.Method |
getApplicationElement |
protected java.lang.reflect.Method |
getPanel |
protected boolean |
isUseable |
protected OdsxApplicationElementInterface |
odsxApplicationElement |
protected boolean |
useabilityChecked |
static java.lang.String |
version |
actionListeners, buttonClass, commandName, helpID, icon, iconKey, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visible
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, ICON, iconCount, internetAddress, name, titleName
CONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTED
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
ApplicationElementCustomizer()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(java.util.EventObject ev)
Execute the command.
|
ApplicationElement |
getApplicationElement()
Get the ApplicationElement.
|
OdsxApplicationElementInterface |
getOdsxApplicationElement()
Get the ApplicationElement.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isUseable()
Check usability.
|
void |
setApplicationElement(ApplicationElement applicationElement)
Set the application elemenr.
|
void |
setApplicationElement(OdsxApplicationElementInterface applicationElement)
Set the application element.
|
void |
setController(FwkControllerInterface controller)
Set the controller of the command.
|
addActionListener, addCommand, addCommand, addMenuListener, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getActionListenerArray, getButtonClass, getCommand, getCommandName, getCommands, getController, getGroup, getHelpID, getIcon, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, groupExists, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeCommand, removeFromGroup, removeMenuListener, setAsParent, setButtonClass, setCommandName, setCommands, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setProperty, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, toString, unregister
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIconKey, setName, setSupportEMail, setTitleName
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addActionListener, addMenuListener, getActionListenerArray, getButtonClass, getCommandName, getHelpID, getIcon, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeMenuListener, setAsParent, setButtonClass, setCommandName, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setProperty, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregister
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
release
getController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
public static final java.lang.String version
protected java.lang.reflect.Method getApplicationElement
protected java.lang.reflect.Method getPanel
protected boolean isUseable
protected boolean useabilityChecked
protected OdsxApplicationElementInterface odsxApplicationElement
protected ApplicationElement applicationElement
public ApplicationElementCustomizer()
The
- controller must be the AsamCommanderpublic java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkCommand
public void setController(FwkControllerInterface controller)
setController
in interface FwkControlledByInterface
setController
in class FwkCommand
controller
- The new controller of the command.FwkCommand.getController()
,
#FwkMenuFactory
public void setApplicationElement(ApplicationElement applicationElement)
setApplicationElement
in interface OdsxApplElemCustomizerInterface
public void setApplicationElement(OdsxApplicationElementInterface applicationElement)
setApplicationElement
in interface OdsxApplElemCustomizerInterface
public OdsxApplicationElementInterface getOdsxApplicationElement()
public ApplicationElement getApplicationElement()
public boolean isUseable()
isUseable
in interface OdsxApplElemCustomizerInterface
public boolean execute(java.util.EventObject ev)
execute
in interface FwkCommandInterface
execute
in class FwkCommand
ev
- The event that is the trigger of this command. May be null