public class OdsxApplicationElement extends OdsxPresentableElement implements OdsxApplicationElementInterface
Interface | Description |
---|---|
OdsxApplElemMenuInterface | Classes that implements that interface controls the whole menu of the application element. |
OdsxApplElemCustomizerInterface | Classes that implements that interface will be integrated as an part of the existing menu. |
OdsxApplElemChildrenSelectorInterface | Classes that implements that interface will be integrated as a selector to the tree children list.. |
,
Serialized FormFwkColumnAccess.FwkSubColumnAccess
FwkInfoBusImmediateAccess.ElementConsumer
Modifier and Type | Field and Description |
---|---|
protected T_LONGLONG |
aeId |
protected OdsxApplElemChildrenSelectorInterface |
childrenSelector |
protected static FwkDescriptionInterface |
descriptor |
protected boolean |
hasSelfRef |
protected boolean |
hasSelfRefInitialized |
protected java.lang.String |
ident |
protected java.lang.String |
shortName |
static java.lang.String |
version |
beQueries, color, DEFAULT_COLOR, defaultObject, odsFilter, SEPARATOR, value
average, averageIsValid, columnName, CONSIDER_FLAGS, DESCRIPTION_COLUMN_NAME, icon, lower, minPositiveValue, observer, producer, range_lock, rangeIsValid, standardDeviation, standardDeviationIsValid, unit, upper
children, properties, valid
changeManager, suspendChangeManager
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, iconKey, internetAddress, name, 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
DATAARRAY_KEY, DEFINED_BIT, INVALID, NOT_MODIFIED_BIT, VALID, VALID_BIT, VISIBLE_BIT
INFOBUS_SOURCE
Modifier | Constructor and Description |
---|---|
protected |
OdsxApplicationElement()
The constructor.
|
|
OdsxApplicationElement(ApplicationElement ae)
The constructor receiving the application element.
|
Modifier and Type | Method and Description |
---|---|
ApplicationElement |
getApplicationElement()
Get the ApplicationElement.
|
T_LONGLONG |
getApplicationElementId()
Get the application element id.
|
java.lang.String |
getBaseName()
Get the base type identifier.
|
FwkCommandInterface[] |
getCommands()
Retrieve the command array.
|
static FwkDescriptionInterface |
getDescriptor() |
java.util.Vector<OdsxPresentableElementInterface> |
getElements()
Get the child elements of this element.
|
java.lang.String |
getIdentificationString()
Get the identification string of the element.
|
void |
getPresentationString(java.io.Writer w,
java.lang.String spec,
java.util.Locale locale,
OdsxFilterInterface filter)
Print out the presentation into a writer.
|
java.util.Vector<OdsxPresentableElementInterface> |
getRelatedElements()
Get the related elements of this element.
|
java.lang.String |
getShortName()
Get the short name of the element.
|
boolean |
getTopLevelElement()
Get the top level element flag.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
hasSelfReference()
Return a boolean whether the elements ahs a self reference.
|
boolean |
isTheSame(ApplicationElement aeElem)
Return a boolean whether the given ApplicationElement is equal to this one.
|
boolean |
isTheSame(OdsxPresentableElementInterface elem)
Return a boolean whether the given element is the element as the incoming one.
|
boolean |
isValid()
Return a boolean wether the element is already valid.
|
void |
setItemByCoordinates(int[] coord,
java.lang.Object item)
Set a new value at the specified coordinate.
|
void |
setTopLevelElement(boolean flag)
Set the application as a top level element.
|
void |
setValueAsObject(java.lang.Object item)
Set the value of the item.
|
delete, finalize, getDimensions, getIcon, getItemByCoordinates, getODSVersion, getOdsxFilter, getPresentationString, getPresentationString, getPresentationString, getRelations, getRelations, getSession, getShortName, getValueAsObject, getValueAsString, matchBaseElement, odsChanged, release, setOdsxFilter, subdivide, toString, valueIsA
createEmptyColumn, dependsOn, determineRange, getAverage, getAverageFlag, getColumnName, getCommands, getCount, getFlagAt, getFlags, getIndex, getIndexRange, getMaximum, getMinimum, getMinPositiveValue, getNativeDatatype, getNativeValues, getNativeValues, getProperty, getScale, getStandardDeviation, getStandardDeviationFlag, getTransferData, getTransferDataFlavors, getUnitString, getValueAt, getValues, independentColumns, isDataFlavorSupported, isImplicit, isIndependent, main, reshape, setColumnName, setFlagAt, setFlags, setIndependent, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setName, setScale, setValue, setValueAt
addChild, addChildListener, containsChild, fireChildAdded, fireChildRemoved, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, hasValidValues, isGroup, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren, setProperty, setValidValues
addDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setPropertyGroup, suspendChangeManager
addCommand, addCommand, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getCommand, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getGroup, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitle, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, removeCommand, removeFromGroup, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCommands, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEvents
getClassName, getPresentationString, lostOwnership, setClassName, setCreationDate
getNiceVersion
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
delete, getODSVersion, getOdsxFilter, getPresentationString, getRelations, getRelations, getSession, getShortName, getValueAsObject, matchBaseElement, setOdsxFilter, valueIsA
getName, hasValidValues, isGroup, setProperty, setValidValues
getAuthor, getBuild, getClassName, getCompany, 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, setName, setSupportEMail, setTitleName
release
getTransferData, getTransferDataFlavors, isDataFlavorSupported
addChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren
getPresentationString, getValueAsString, setValue
addDataItemChangeListener, removeDataItemChangeListener
getDimensions, getItemByCoordinates, subdivide
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
isChangeManagerSuspended, suspendChangeManager
getPersistentObjectNames
destroyController
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener
public static final java.lang.String version
protected OdsxApplElemChildrenSelectorInterface childrenSelector
protected java.lang.String ident
protected java.lang.String shortName
protected T_LONGLONG aeId
protected boolean hasSelfRef
protected boolean hasSelfRefInitialized
protected static final FwkDescriptionInterface descriptor
protected OdsxApplicationElement()
public OdsxApplicationElement(ApplicationElement ae)
ae
- The application element.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class OdsxPresentableElement
public static FwkDescriptionInterface getDescriptor()
public boolean isValid()
isValid
in interface OdsxPresentableElementInterface
public boolean isTheSame(ApplicationElement aeElem)
isTheSame
in interface OdsxApplicationElementInterface
aeElem
- The ApplicationElementpublic boolean isTheSame(OdsxPresentableElementInterface elem)
isTheSame
in interface OdsxPresentableElementInterface
isTheSame
in class OdsxPresentableElement
elem
- The element to be compared topublic T_LONGLONG getApplicationElementId()
getApplicationElementId
in interface OdsxApplicationElementInterface
public FwkCommandInterface[] getCommands()
getCommands
in interface FwkInstructionInterface
getCommands
in class OdsxPresentableElement
public boolean hasSelfReference() throws AoException
AoException
public ApplicationElement getApplicationElement()
getApplicationElement
in interface OdsxApplicationElementInterface
public java.lang.String getBaseName()
getBaseName
in interface OdsxPresentableElementInterface
getBaseName
in class OdsxPresentableElement
public void setItemByCoordinates(int[] coord, java.lang.Object item) throws FwkException
setItemByCoordinates
in interface javax.infobus.ArrayAccess
setItemByCoordinates
in class OdsxPresentableElement
coord
- The coordinates where the new value should be placed.value
- The new value.FwkException
public void setValueAsObject(java.lang.Object item) throws FwkException
setValueAsObject
in interface OdsxPresentableElementInterface
setValueAsObject
in class OdsxPresentableElement
item
- the new value.FwkException
public void getPresentationString(java.io.Writer w, java.lang.String spec, java.util.Locale locale, OdsxFilterInterface filter) throws java.io.IOException
getPresentationString
in interface OdsxPresentableElementInterface
getPresentationString
in class OdsxPresentableElement
w
- The writer.spec
- This string allows the caller to specify the kind of output.
Currently there are to values allowed All or Header Only.
The All keyword is the default.
If the keyword Header Only is specify it will print out no values and flags.l
- The Locale object or null.f
- An ODSFilterInterface object.java.io.IOException
public java.util.Vector<OdsxPresentableElementInterface> getElements()
getElements
in interface OdsxPresentableElementInterface
getElements
in class OdsxPresentableElement
public void setTopLevelElement(boolean flag)
setTopLevelElement
in interface OdsxApplicationElementInterface
flag
- if true the application
element must be a top level element.public boolean getTopLevelElement()
getTopLevelElement
in interface OdsxApplicationElementInterface
public java.util.Vector<OdsxPresentableElementInterface> getRelatedElements()
getRelatedElements
in interface OdsxPresentableElementInterface
getRelatedElements
in class OdsxPresentableElement
public java.lang.String getShortName()
getShortName
in interface FwkColumnAccessInterface
getShortName
in interface OdsxPresentableElementInterface
getShortName
in class FwkColumnAccess
public java.lang.String getIdentificationString()
getIdentificationString
in interface OdsxPresentableElementInterface
getIdentificationString
in class OdsxPresentableElement