public class OdsxFilter extends FwkCommand implements FwkControllerInterface, OdsxFilterInterface
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| OdsxFilter.ResursiveApplStructEnabled | boolean | false | This flag enables the recursive display of the application structure. |
| OdsxFilter.InstanceElements.Enabled | boolean | true | Flag to disable the instance elements. |
| OdsxFilter.Text.View | String | OdsxFilter.Text.View | The title of the View submenu. |
| OdsxFilter.Text.Disabled | String | OdsxFilter.Text.Disabled | The title of the Disable submenu. |
| OdsxFilter.Disabled | Boolean | false | If true the filter is disabled by default. |
| OdsxFilter.Text.Help | String | OdsxFilter.Text.Help | The title of the Help submenu. |
| OdsxFilter.Text.HelpBroker | String | OdsxFilter.Text.HelpBroker | The title of the HelpBorker submenu. |
| OdsxFilter.Text.About | String | OdsxFilter.Text.About | The title of the About submenu. |
| Icon.About | Icon | com/highqsoft/fwk/images/About.gif | The icon of the About submenu. |
| Icon.View | Icon | com/highqsoft/fwk/images/View.gif | The icon of the View submenu. |
| Icon.Help | Icon | com/highqsoft/fwk/images/Help.gif | The icon of the Help submenu. |
The filter uses the java.util.prefs.Preferences
class to get and put following preferences:
| OdsxFilter.enabled | boolean | false | If this flag is true, then the filter is active. |
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
java.awt.Color |
APPLICATION_ELEMENT_COLOR |
static java.lang.String |
APPLICATIONATTRIBUTE |
static java.lang.String |
APPLICATIONELEMENT |
protected boolean |
applicationElementEnabled
The flag that indicates whether the application elements are enabled.
|
static java.lang.String |
BASEATTRIBUTE |
static java.lang.String |
BASEELEMENT |
static java.lang.String |
BASEELEMENTMAP_NAME |
java.awt.Color |
COLUMN_COLOR |
java.awt.Color |
DEFAULT_COLOR |
protected static FwkDescriptionInterface |
descriptor |
protected boolean |
enabled
The flag that indicates whether the filter is enabled.
|
static java.lang.String |
ENABLED |
java.awt.Color |
INSTANCE_ELEMENT_COLOR |
static java.lang.String |
INSTANCEATTRIBUTE |
static java.lang.String |
INSTANCEELEMENT |
protected boolean |
instanceElementEnabled
The flag that indicates whether the instance elements are enabled.
|
static java.lang.String |
NAME |
static java.lang.String |
NAMEVALUEMAP_NAME |
protected static java.lang.String |
PREFS_ENABLED |
protected boolean |
readingDOM
The flag that indicates the XML reading.
|
protected boolean |
recursiveApplStruct
The flag for the recursive application structure display.
|
protected java.net.URL |
url
The URL to the filter file.
|
static java.lang.String |
VALUE |
protected FwkPropertyGroupInterface |
valuePropGroup
The property group that hold the value info.
|
static java.lang.String |
version |
static java.lang.String |
VISIBLE |
actionListeners, buttonClass, commandName, helpID, icon, iconKey, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visiblesourceauthor, 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, titleNameCONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTEDAUTHOR, 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| Modifier | Constructor and Description |
|---|---|
|
OdsxFilter()
The default constructor.
|
protected |
OdsxFilter(boolean cloned)
The constructor to clone the object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(OdsxPresentableElementInterface presentable,
FwkCommandInterface command)
Add the command to the command array.
|
void |
addCommand(OdsxPresentableElementInterface presentable,
int index,
FwkCommandInterface command)
Insert a command at the specified position.
|
void |
addToGroup(OdsxPresentableElementInterface presentable,
int index,
java.lang.String groupIdent,
java.lang.String commandName)
Add a command to a group.
|
void |
addToGroup(OdsxPresentableElementInterface presentable,
java.lang.String groupIdent,
java.lang.String commandName)
Add a command to a group.
|
java.lang.Object |
clone()
Clone the object.
|
void |
clone(OdsxFilterInterface filter)
Clone the incoming filter.
|
boolean |
commandsAvailable(OdsxPresentableElementInterface presentable)
This method returns a boolean that indicates whether
the command array is initialized.
|
protected FwkPropertyGroupInterface |
createGroupForElement(OdsxPresentableElementInterface elem)
Create a group for the given element.
|
protected FwkPropertyGroupInterface |
createGroupForKey(java.lang.String key)
Create a group for the given element.
|
void |
delete(OdsxPresentableElementInterface elem)
Delete an presentable element.
|
void |
deleteGroup(OdsxPresentableElementInterface presentable,
java.lang.String groupIdent)
Delete command group.
|
boolean |
destroyController()
Destroy the controller.
|
java.lang.String |
enableKey()
Return the key for enable.
|
FwkPropertyGroupInterface |
getBaseElementGroup()
Returns the base element proproperty group.
|
java.util.Map |
getBaseElementMap()
Deprecated.
Use getBaseElementGroup instead
|
java.awt.Color |
getColor(OdsxPresentableElementInterface elem)
Returns the color for the specified element.
|
FwkCommandInterface |
getCommand(OdsxPresentableElementInterface presentable,
java.lang.String commandName)
Return the command that matches the given command name.
|
FwkCommandInterface[] |
getCommands()
Get the command array from the filter.
|
FwkCommandInterface[] |
getCommands(OdsxPresentableElementInterface presentable)
Retrieve the command array of the component.
|
static FwkDescriptionInterface |
getDescriptor() |
boolean |
getEnableApplicationElements()
Get the enable flag of the application elements.
|
boolean |
getEnabled()
get the enable flag of the filter.
|
boolean |
getEnableInstanceElements()
Get the enable flag of the instance elements.
|
FwkCommandInterface[] |
getGroup(OdsxPresentableElementInterface presentable,
java.lang.String groupIdent)
Retrieve the command group.
|
protected FwkPropertyGroupInterface |
getGroupForElement(OdsxPresentableElementInterface elem)
Get the group for the given element.
|
protected FwkPropertyGroupInterface |
getGroupForKey(java.lang.String key)
Get the group for the given key.
|
FwkIconInterface |
getIcon(OdsxPresentableElementInterface elem)
Returns the icon for the specified element.
|
FwkPropertyGroupInterface |
getPropertyGroup()
Get the porperty group.
|
boolean |
getRecursiveApplStructEnabled()
Get a boolean whether the application structure will resolve
recursive structure.
|
java.lang.String |
getText()
Overload the getText method.
|
java.lang.String |
getTranslatedKey(java.lang.String key,
java.lang.String defaultValue)
Returns the filtered key of the element.
|
java.lang.String |
getTranslatedName(OdsxPresentableElementInterface elem)
Returns the filtered name of the element.
|
OdsxFilterValueInterface |
getValue(java.lang.String key)
Get filter value.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
groupExists(OdsxPresentableElementInterface presentable,
java.lang.String groupIdent)
Check whether a group exists.
|
boolean |
isEditable(java.lang.String key)
Is the given key editable.
|
boolean |
isEnabled(OdsxPresentableElementInterface elem)
Check if the element is enabled
by this filter.
|
boolean |
isEnabled(java.lang.String key,
boolean defaultValue)
Check if the given key has an enabled entry in filter.
|
boolean |
isVisible(OdsxPresentableElementInterface elem)
Check if the element is visible
by this filter.
|
boolean |
isVisible(java.lang.String key,
boolean defaultValue)
Check if the given key has a visible entry in filter.
|
java.lang.String |
nameKey()
Return the name key.
|
java.lang.Object |
readConstructor(org.w3c.dom.Document document,
org.w3c.dom.Element node)
Read a construtor dom node.
|
void |
readFromDOM(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
Read from DOM
|
boolean |
readingDOM()
Get the DOM reading flag.
|
void |
readingDOM(boolean flag)
Set a flag that the object is currently reading the DOM.
|
void |
removeCommand(OdsxPresentableElementInterface presentable,
FwkCommandInterface command)
Remove a sub-command.
|
void |
removeFromGroup(OdsxPresentableElementInterface presentable,
java.lang.String groupIdent,
java.lang.String commandName)
Remove a command from a group.
|
void |
setBaseElementGroup(FwkPropertyGroupInterface group)
Deprecated.
Use setBaseElementGroup instead
|
void |
setBaseElementMap(java.util.Map map)
Deprecated.
Use setBaseElementGroup instead
|
void |
setColor(OdsxPresentableElementInterface elem,
java.awt.Color color)
Sets the color for the specified element.
|
void |
setCommands(OdsxPresentableElementInterface presentable,
FwkCommandInterface[] commands)
Set the sub-commands of the command.
|
void |
setEnableApplicationElements(boolean flag)
Enable the application elements.
|
void |
setEnabled(boolean flag)
Enable the filter.
|
void |
setEnabled(OdsxPresentableElementInterface elem,
boolean flag)
Check if the element is enabled
by this filter.
|
void |
setEnableInstanceElements(boolean flag)
Enable the instance elements.
|
void |
setIcon(OdsxPresentableElementInterface elem,
FwkIconInterface icon)
Sets the icon for the specified element.
|
void |
setRecursiveApplStructEnabled(boolean flag)
Set a boolean whether the application structure will resolve
recursive structure.
|
void |
setTranslatedKey(java.lang.String key,
java.lang.String value)
Set the filtered key of the element.
|
void |
setTranslatedName(OdsxPresentableElementInterface elem,
java.lang.String value)
Returns the filtered name of the element.
|
void |
setValue(java.lang.String group,
OdsxFilterValueInterface value)
Set a filter value.
|
void |
setVisible(OdsxPresentableElementInterface elem,
boolean flag)
Check if the element is visible
by this filter.
|
java.lang.String |
toString()
The to string method.
|
java.lang.String |
valueKey()
Return the value key.
|
java.lang.String |
visibleKey()
Return the key for visible.
|
org.w3c.dom.Element |
writeConstructor(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
Write a construtor dom node.
|
org.w3c.dom.Element |
writeToDOM(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
Write the container as child to the given DOM node.
|
boolean |
writeToXML(java.lang.String filename,
boolean validate)
Writes the canvas to an XML file.
|
addActionListener, addCommand, addCommand, addMenuListener, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, execute, getActionListenerArray, getButtonClass, getCommand, getCommandName, getController, getGroup, getHelpID, getIcon, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, groupExists, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeCommand, removeFromGroup, removeMenuListener, setAsParent, setButtonClass, setCommandName, setCommands, setController, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setProperty, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregisteraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsgetAuthor, 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, setTitleNamegetNiceVersion, releaseequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddActionListener, addMenuListener, execute, getActionListenerArray, getButtonClass, getCommandName, getHelpID, getIcon, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, 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, unregisteraddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringreleasegetController, setControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsgetCompanygetAuthor, getBuild, getClassName, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleNameprotected static final java.lang.String PREFS_ENABLED
public final java.awt.Color DEFAULT_COLOR
public final java.awt.Color INSTANCE_ELEMENT_COLOR
public final java.awt.Color APPLICATION_ELEMENT_COLOR
public final java.awt.Color COLUMN_COLOR
public static final java.lang.String BASEELEMENTMAP_NAME
public static final java.lang.String NAMEVALUEMAP_NAME
public static final java.lang.String APPLICATIONATTRIBUTE
public static final java.lang.String APPLICATIONELEMENT
public static final java.lang.String INSTANCEELEMENT
public static final java.lang.String INSTANCEATTRIBUTE
public static final java.lang.String BASEELEMENT
public static final java.lang.String BASEATTRIBUTE
public static final java.lang.String VISIBLE
public static final java.lang.String ENABLED
public static final java.lang.String NAME
public static final java.lang.String VALUE
public static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected boolean readingDOM
protected boolean enabled
protected boolean instanceElementEnabled
protected boolean applicationElementEnabled
protected FwkPropertyGroupInterface valuePropGroup
protected java.net.URL url
protected boolean recursiveApplStruct
public OdsxFilter()
protected OdsxFilter(boolean cloned)
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkCommandpublic static FwkDescriptionInterface getDescriptor()
public java.lang.Object clone()
clone in interface OdsxFilterInterfaceclone in class java.lang.Objectpublic void clone(OdsxFilterInterface filter)
clone in interface OdsxFilterInterfacefilter - The filter from that the configuration should be copied.public FwkPropertyGroupInterface getPropertyGroup()
getPropertyGroup in interface OdsxFilterInterfacepublic FwkCommandInterface[] getCommands()
getCommands in interface FwkInstructionInterfacegetCommands in class FwkCommandpublic java.lang.String getText()
getText in interface FwkCommandInterfacegetText in class FwkCommandThe - filter name.FwkCommand.setText(String),
FwkCommand.getTextKey()public void setEnabled(boolean flag)
setEnabled in interface OdsxFilterInterfaceflag - true if the filter will be enabled.public boolean getEnabled()
getEnabled in interface OdsxFilterInterfacetrue - if the filter id enabled.public boolean isEnabled(OdsxPresentableElementInterface elem)
isEnabled in interface OdsxFilterInterfaceelem - The presentable element.public boolean isEnabled(java.lang.String key,
boolean defaultValue)
isEnabled in interface OdsxFilterInterfacekey - The key value.defaultValue - The default return value.public void setEnableInstanceElements(boolean flag)
setEnableInstanceElements in interface OdsxFilterInterfaceflag - true if the instance elements will be enabled.public boolean getEnableInstanceElements()
getEnableInstanceElements in interface OdsxFilterInterfacetrue - if the filter id enabled to display instance elements.public void setEnableApplicationElements(boolean flag)
setEnableApplicationElements in interface OdsxFilterInterfaceflag - true if the application elements will be enabled.public boolean getEnableApplicationElements()
getEnableApplicationElements in interface OdsxFilterInterfacetrue - if the filter id enabled to display application elements.public boolean isVisible(OdsxPresentableElementInterface elem)
isVisible in interface OdsxFilterInterfaceelem - The presentable element.public boolean isVisible(java.lang.String key,
boolean defaultValue)
isVisible in interface OdsxFilterInterfacekey - The key value.defaultValue - The default return value.protected FwkPropertyGroupInterface getGroupForKey(java.lang.String key)
protected FwkPropertyGroupInterface createGroupForKey(java.lang.String key)
protected FwkPropertyGroupInterface getGroupForElement(OdsxPresentableElementInterface elem)
protected FwkPropertyGroupInterface createGroupForElement(OdsxPresentableElementInterface elem)
public FwkIconInterface getIcon(OdsxPresentableElementInterface elem)
getIcon in interface OdsxFilterInterfaceelem - The presentable element.public void setIcon(OdsxPresentableElementInterface elem, FwkIconInterface icon)
setIcon in interface OdsxFilterInterfaceelem - The presentable element.icon - The new icon for the element.public java.awt.Color getColor(OdsxPresentableElementInterface elem)
getColor in interface OdsxFilterInterfaceelem - The presentable element.public void setColor(OdsxPresentableElementInterface elem, java.awt.Color color)
setColor in interface OdsxFilterInterfaceelem - The presentable element.color - The new color for the element.public java.lang.String getTranslatedName(OdsxPresentableElementInterface elem)
getTranslatedName in interface OdsxFilterInterfaceelem - The presentable element.public java.lang.String getTranslatedKey(java.lang.String key,
java.lang.String defaultValue)
getTranslatedKey in interface OdsxFilterInterfacekey - The key to be translated.defaultValue - The default value.public OdsxFilterValueInterface getValue(java.lang.String key)
getValue in interface OdsxFilterInterfacekey - The key for that the value should be restore.public void setValue(java.lang.String group,
OdsxFilterValueInterface value)
setValue in interface OdsxFilterInterfacegroup - The name of the group.value - the filter value.public void setTranslatedKey(java.lang.String key,
java.lang.String value)
setTranslatedKey in interface OdsxFilterInterfacekey - The key to be translated.value - The value.public boolean getRecursiveApplStructEnabled()
getRecursiveApplStructEnabled in interface OdsxFilterInterfacepublic void setRecursiveApplStructEnabled(boolean flag)
setRecursiveApplStructEnabled in interface OdsxFilterInterfaceflag - true if recursive struture should be resolved.public void setEnabled(OdsxPresentableElementInterface elem, boolean flag)
setEnabled in interface OdsxFilterInterfaceelem - The presentable element.flag - true if the element should be endabled.public void setVisible(OdsxPresentableElementInterface elem, boolean flag)
setVisible in interface OdsxFilterInterfaceelem - The presentable element.flag - true if the element should be visible.public void setTranslatedName(OdsxPresentableElementInterface elem, java.lang.String value)
setTranslatedName in interface OdsxFilterInterfaceelem - The presentable element.value - The new translation value.public void delete(OdsxPresentableElementInterface elem)
delete in interface OdsxFilterInterfaceelem - The element to be deleted.public java.util.Map getBaseElementMap()
getBaseElementMap in interface OdsxFilterInterfaceOdsxFilterInterface.getBaseElementGroup()public FwkPropertyGroupInterface getBaseElementGroup()
Name, Value, Visible and EnabledgetBaseElementGroup in interface OdsxFilterInterfacepublic void setBaseElementMap(java.util.Map map)
setBaseElementMap in interface OdsxFilterInterfacemap - The map.setBaseElementGroup(FwkPropertyGroup)public void setBaseElementGroup(FwkPropertyGroupInterface group)
Name, Value, Visible and EnabledAoAny.Visible = falsesetBaseElementGroup in interface OdsxFilterInterfacepublic boolean destroyController()
destroyController in interface FwkControllerInterfacepublic void addCommand(OdsxPresentableElementInterface presentable, FwkCommandInterface command)
addCommand in interface OdsxFilterInterfaceelem - the presentable element.command - The command to be added.public void addCommand(OdsxPresentableElementInterface presentable, int index, FwkCommandInterface command)
addCommand in interface OdsxFilterInterfaceelem - the presentable element.index - The position where the command has to be inserted.command - The command to be added.public FwkCommandInterface getCommand(OdsxPresentableElementInterface presentable, java.lang.String commandName)
getCommand in interface OdsxFilterInterfaceelem - the presentable element.commandName - The name of the requested command.public FwkCommandInterface[] getCommands(OdsxPresentableElementInterface presentable)
getCommands in interface OdsxFilterInterfaceelem - the presentable element.public void removeCommand(OdsxPresentableElementInterface presentable, FwkCommandInterface command)
removeCommand in interface OdsxFilterInterfaceelem - the presentable element.command - The sub-command to be removed.public void setCommands(OdsxPresentableElementInterface presentable, FwkCommandInterface[] commands)
setCommands in interface OdsxFilterInterfaceelem - the presentable element.commands - The array containing the sub-commands.public boolean commandsAvailable(OdsxPresentableElementInterface presentable)
commandsAvailable in interface OdsxFilterInterfaceelem - the presentable element.public void addToGroup(OdsxPresentableElementInterface presentable, int index, java.lang.String groupIdent, java.lang.String commandName)
addToGroup in interface OdsxFilterInterfaceelem - the presentable element.index - Index where the command should be placed.groupIdent - The string identified of the group.commandName - The name of the command.public void addToGroup(OdsxPresentableElementInterface presentable, java.lang.String groupIdent, java.lang.String commandName)
addToGroup in interface OdsxFilterInterfaceelem - the presentable element.groupIdent - The string identified of the group.commandName - The name of the command.public void removeFromGroup(OdsxPresentableElementInterface presentable, java.lang.String groupIdent, java.lang.String commandName)
removeFromGroup in interface OdsxFilterInterfaceelem - the presentable element.groupIdent - The string identified of the group.commandName - The name of the command.public void deleteGroup(OdsxPresentableElementInterface presentable, java.lang.String groupIdent)
deleteGroup in interface OdsxFilterInterfaceelem - the presentable element.groupIdent - The string identified of the group.public FwkCommandInterface[] getGroup(OdsxPresentableElementInterface presentable, java.lang.String groupIdent)
getGroup in interface OdsxFilterInterfaceelem - the presentable element.groupIdent - The string identified of the group.public boolean groupExists(OdsxPresentableElementInterface presentable, java.lang.String groupIdent)
groupExists in interface OdsxFilterInterfaceelem - the presentable element.public java.lang.Object readConstructor(org.w3c.dom.Document document,
org.w3c.dom.Element node)
readConstructor in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.dtd - The dtd descriptor.node - The node.classProperties - Map the contains the writable object properties.
May be null.public void readFromDOM(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
readFromDOM in interface FwkDOMHandlerInterfacepublic org.w3c.dom.Element writeConstructor(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
writeConstructor in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.dtd - The dtd descriptor.node - The node.classProperties - Map the contains the writable object properties.
May be null.public org.w3c.dom.Element writeToDOM(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
writeToDOM in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.node - The parent node.classProperties - Map the contains the writable object properties.
May be null.public boolean writeToXML(java.lang.String filename,
boolean validate)
writeToXML in interface FwkDOMHandlerInterfacefilename - The name of the xml file.validate - Write a validated cml file.public void readingDOM(boolean flag)
readingDOM in interface FwkDOMHandlerInterfaceflag - true if the object reads currently fom DOM.public boolean readingDOM()
readingDOM in interface FwkDOMHandlerInterfacepublic java.lang.String visibleKey()
visibleKey in interface OdsxFilterInterfacepublic java.lang.String enableKey()
enableKey in interface OdsxFilterInterfacepublic java.lang.String valueKey()
valueKey in interface OdsxFilterInterfacethe - value key.public java.lang.String nameKey()
nameKey in interface OdsxFilterInterfacethe - name key.public boolean isEditable(java.lang.String key)
isEditable in interface OdsxFilterInterfacepublic java.lang.String toString()
toString in class FwkCommand