public class OdsxSessionElement extends OdsxPresentableElement implements OdsxSessionElementInterface
Interface | Description |
---|---|
OdsxSessionMenuInterface | Classes that implements that interface controls the whole menu of the session element. |
OdsxSessionCustomizerInterface | Classes that implements that interface will be integrated as an part of the existing menu. |
,
Serialized FormFwkColumnAccess.FwkSubColumnAccess
FwkInfoBusImmediateAccess.ElementConsumer
Modifier and Type | Field and Description |
---|---|
protected static FwkDescriptionInterface |
descriptor |
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, shortName, 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 |
OdsxSessionElement()
The constructor.
|
|
OdsxSessionElement(AoSession session)
The constructor receiving the session element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseName()
Get the base type identifier.
|
FwkCommandInterface[] |
getCommands()
Retrieve the command array.
|
static FwkDescriptionInterface |
getDescriptor() |
java.util.Vector |
getElements()
Get the children 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.
|
AoSession |
getSession()
Get the session.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isTheSame(AoSession aoSession)
Return a boolean whether the given AoSession 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 |
setValueAsObject(java.lang.Object item)
Set the value of the item.
|
void |
writeEnumerations(java.io.Writer w,
java.lang.String spec,
java.util.Locale locale)
Write the enumeration definitions to the write stream.
|
delete, finalize, getDimensions, getIcon, getItemByCoordinates, getODSVersion, getOdsxFilter, getPresentationString, getPresentationString, getPresentationString, getRelatedElements, getRelations, getRelations, 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, getShortName, 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, getRelatedElements, getRelations, getRelations, getShortName, 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 static final FwkDescriptionInterface descriptor
protected OdsxSessionElement()
public OdsxSessionElement(AoSession session)
session
- The ASAM-ODS session.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(AoSession aoSession)
isTheSame
in interface OdsxSessionElementInterface
aoSession
- theAoSessionpublic boolean isTheSame(OdsxPresentableElementInterface elem)
isTheSame
in interface OdsxPresentableElementInterface
isTheSame
in class OdsxPresentableElement
elem
- The element to be compared topublic java.lang.String getBaseName()
getBaseName
in interface OdsxPresentableElementInterface
getBaseName
in class OdsxPresentableElement
public AoSession getSession()
getSession
in interface OdsxPresentableElementInterface
getSession
in interface OdsxSessionElementInterface
getSession
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)
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.public void writeEnumerations(java.io.Writer w, java.lang.String spec, java.util.Locale locale) throws AoException, java.io.IOException
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.AoException
java.io.IOException
public java.util.Vector getElements()
getElements
in interface OdsxPresentableElementInterface
getElements
in class OdsxPresentableElement
public java.lang.String getIdentificationString()
getIdentificationString
in interface OdsxPresentableElementInterface
getIdentificationString
in class OdsxPresentableElement
public FwkCommandInterface[] getCommands()
getCommands
in interface FwkInstructionInterface
getCommands
in class OdsxPresentableElement