public class OdsxFilterValue extends FwkDescription implements OdsxFilterValueInterface
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled
The enabled flag.
|
protected java.lang.String |
name
The native name.
|
protected boolean |
readingDOM
The DOM reading flag.
|
protected java.lang.String |
value
The translated value.
|
static java.lang.String |
version |
protected boolean |
visible
The visible flag.
|
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, ICON, iconCount, iconKey, internetAddress, titleName
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
Modifier | Constructor and Description |
---|---|
protected |
OdsxFilterValue()
A protected default constructor.
|
|
OdsxFilterValue(java.lang.String name)
The constructor.
|
|
OdsxFilterValue(java.lang.String name,
java.lang.String value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled()
Get the enable flag.
|
java.lang.String |
getName()
Get the native name of the object.
|
java.lang.String |
getTranslatedValue()
Set the translated value.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
getVisible()
Get the visible flag.
|
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 |
setEnabled(boolean flag)
Set the enable flag.
|
void |
setName(java.lang.String name)
The native name ot the object.
|
void |
setTranslatedValue(java.lang.String value)
Set the translated value.
|
void |
setVisible(boolean flag)
Set the visible flag.
|
java.lang.String |
toString()
Get a string presentation of the object.
|
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.
|
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSupportEMail, setTitleName
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCompany
getAuthor, getBuild, getClassName, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSupportEMail, setTitleName
release
protected java.lang.String name
protected java.lang.String value
protected boolean enabled
protected boolean visible
protected boolean readingDOM
public static final java.lang.String version
protected OdsxFilterValue()
public OdsxFilterValue(java.lang.String name)
name
- The native name.public OdsxFilterValue(java.lang.String name, java.lang.String value)
name
- The native name.value
- The translated value.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkDescription
public boolean getVisible()
getVisible
in interface OdsxFilterValueInterface
public void setVisible(boolean flag)
setVisible
in interface OdsxFilterValueInterface
flag
- If true the element will be visible.public boolean getEnabled()
getEnabled
in interface OdsxFilterValueInterface
public void setEnabled(boolean flag)
setEnabled
in interface OdsxFilterValueInterface
flag
- If true the element will be enabled.public void setName(java.lang.String name)
setName
in interface FwkDescriptionInterface
setName
in interface OdsxFilterValueInterface
setName
in class FwkDescription
name
- the native name.FwkDescription.getName()
public java.lang.String getName()
getName
in interface FwkDescriptionInterface
getName
in interface OdsxFilterValueInterface
getName
in class FwkDescription
public java.lang.String getTranslatedValue()
getTranslatedValue
in interface OdsxFilterValueInterface
value
- the tranlated value.public void setTranslatedValue(java.lang.String value)
setTranslatedValue
in interface OdsxFilterValueInterface
value
- the new translated value.public java.lang.Object readConstructor(org.w3c.dom.Document document, org.w3c.dom.Element node)
readConstructor
in interface FwkDOMHandlerInterface
document
- 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 FwkDOMHandlerInterface
public org.w3c.dom.Element writeConstructor(org.w3c.dom.Document document, FwkXmlDtdInterface dtd, org.w3c.dom.Node node, java.util.Map classProperties)
writeConstructor
in interface FwkDOMHandlerInterface
document
- 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 FwkDOMHandlerInterface
document
- 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 FwkDOMHandlerInterface
filename
- The name of the xml file.validate
- Write a validated cml file.public void readingDOM(boolean flag)
readingDOM
in interface FwkDOMHandlerInterface
flag
- true if the object reads currently fom DOM.public boolean readingDOM()
readingDOM
in interface FwkDOMHandlerInterface
public java.lang.String toString()
toString
in class FwkDescription