public class InstanceElementCustomizer extends FwkCommand implements OdsxInstElemCustomizerInterface
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Method |
getInstanceElement |
protected java.lang.reflect.Method |
getPanel |
protected InstanceElement |
instanceElement |
protected boolean |
isSubmatrix |
protected boolean |
isUseable |
protected OdsxInstanceElementInterface |
odsxInstanceElement |
protected java.net.URL |
srcFile |
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 |
---|
InstanceElementCustomizer()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(java.util.EventObject ev)
Execute the command.
|
InstanceElement |
getInstanceElement()
Get the InstanceElement.
|
protected int[] |
getIntArray(byte[] arr) |
protected int[] |
getIntArray(double[] arr) |
protected int[] |
getIntArray(float[] arr) |
protected int[] |
getIntArray(InstanceElement col) |
protected int[] |
getIntArray(int[] arr) |
protected int[] |
getIntArray(long[] arr) |
protected int[] |
getIntArray(short[] arr) |
protected int[] |
getIntArray(TS_UnionSeq u) |
OdsxInstanceElementInterface |
getOdsxInstanceElement()
Get the InstanceElement.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getParameterSet()
Get the parameters bound to the instance.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isUseable()
Check usebility.
|
void |
setController(FwkControllerInterface controller)
Set the controller of the command.
|
void |
setInstanceElement(InstanceElement instanceElement)
Set the application elemenr.
|
void |
setInstanceElement(OdsxInstanceElementInterface instanceElement)
Set the application element.
|
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 getInstanceElement
protected java.lang.reflect.Method getPanel
protected boolean isUseable
protected boolean isSubmatrix
protected boolean useabilityChecked
protected OdsxInstanceElementInterface odsxInstanceElement
protected InstanceElement instanceElement
protected java.net.URL srcFile
public InstanceElementCustomizer()
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 setInstanceElement(InstanceElement instanceElement)
setInstanceElement
in interface OdsxInstElemCustomizerInterface
public void setInstanceElement(OdsxInstanceElementInterface instanceElement)
setInstanceElement
in interface OdsxInstElemCustomizerInterface
public OdsxInstanceElementInterface getOdsxInstanceElement()
public InstanceElement getInstanceElement()
public boolean isUseable()
isUseable
in interface OdsxInstElemCustomizerInterface
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 nullprotected java.util.Map<java.lang.String,java.lang.String> getParameterSet()
protected int[] getIntArray(TS_UnionSeq u) throws AoException
AoException
protected int[] getIntArray(byte[] arr)
protected int[] getIntArray(double[] arr)
protected int[] getIntArray(float[] arr)
protected int[] getIntArray(long[] arr)
protected int[] getIntArray(int[] arr)
protected int[] getIntArray(short[] arr)
protected int[] getIntArray(InstanceElement col) throws AoException
AoException