public class OdsxColumnAccess extends FwkColumnAccess implements FwkColumnAccessInterface
,
Serialized FormFwkColumnAccess.FwkSubColumnAccess
FwkInfoBusImmediateAccess.ElementConsumer
Modifier and Type | Field and Description |
---|---|
protected Column |
column |
protected static FwkIconInterface |
icon |
protected boolean |
independent |
protected javax.infobus.InfoBusDataProducer |
producer |
protected java.lang.String |
shortName |
protected java.lang.String |
unitString |
static java.lang.String |
version |
protected ValueMatrix |
vm |
average, averageIsValid, columnName, CONSIDER_FLAGS, DESCRIPTION_COLUMN_NAME, lower, minPositiveValue, observer, 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
DATAARRAY_KEY, DEFINED_BIT, INVALID, NOT_MODIFIED_BIT, VALID, VALID_BIT, VISIBLE_BIT
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
INFOBUS_SOURCE
Modifier | Constructor and Description |
---|---|
protected |
OdsxColumnAccess()
A private default constructor.
|
|
OdsxColumnAccess(javax.infobus.InfoBusDataProducer producer,
java.lang.String asamPath,
ValueMatrix vm,
Column col)
The constructor receiving the value matrix and its local column.
|
|
OdsxColumnAccess(javax.infobus.InfoBusDataProducer producer,
ValueMatrix vm,
java.lang.String name,
java.lang.String columnName)
The constructor receiving the value matrix and its name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
dependsOn()
Retrieves a string array containing the dependant channels.
|
protected void |
determineRange()
Determine the lower and upper limits of the column.
|
int |
getCount()
Returns the total number of values located inside the column.
|
short |
getFlagAt(int index)
Retrieves a value flag at a specific index.
|
short[] |
getFlags()
Retrieves the flags belongs to the column data.
|
static short[] |
getFlags(ValueMatrix vm,
Column column,
int startPoint,
int count)
Get the flags of the column.
|
FwkIconInterface |
getIcon()
Return the icon of the column.
|
java.lang.String |
getShortName()
Get the short name of the column
|
java.lang.String |
getUnitString()
Retrieves the unit of the column.
|
java.lang.Object |
getValueAsObject()
Retrieves the local column of the data item.
|
double |
getValueAt(int index)
Retrieves a value at a specific index.
|
double[] |
getValues()
Get the values of the column.
|
static double[] |
getValues(ValueMatrix vm,
Column column,
int startPoint,
int count)
Get the values of the column.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
protected void |
initializeObserver()
Initialize the observer.
|
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor dataFlavor)
Returns whether or not the specified data flavor is supported for this object.
|
boolean |
isIndependent()
Return whether the column is an independent column.
|
void |
release()
Release the column.
|
createEmptyColumn, getAverage, getAverageFlag, getColumnName, getCommands, getDimensions, getIndex, getIndexRange, getItemByCoordinates, getMaximum, getMinimum, getMinPositiveValue, getNativeDatatype, getNativeValues, getNativeValues, getPresentationString, getProperty, getScale, getStandardDeviation, getStandardDeviationFlag, getTransferData, getTransferDataFlavors, getValueAsString, independentColumns, isImplicit, main, reshape, setColumnName, setFlagAt, setFlags, setIndependent, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setName, setScale, setValue, setValueAt, subdivide, toString
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, getCommands, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAverage, getAverageFlag, getColumnName, getIndex, getIndexRange, getMaximum, getMinimum, getMinPositiveValue, getStandardDeviation, getStandardDeviationFlag, independentColumns, isImplicit, setColumnName, setFlagAt, setFlags, setValueAt
getName, hasValidValues, isGroup, setProperty, setValidValues
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, 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
getTransferData, getTransferDataFlavors
addChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren
getPresentationString, getValueAsString, setValue
addDataItemChangeListener, removeDataItemChangeListener
getDimensions, getItemByCoordinates, setItemByCoordinates, subdivide
getNativeDatatype, getNativeValues, getNativeValues, getScale, isChangeManagerSuspended, setScale, suspendChangeManager
getPersistentObjectNames
destroyController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString
public static final java.lang.String version
protected java.lang.String unitString
protected Column column
protected ValueMatrix vm
protected boolean independent
protected java.lang.String shortName
protected javax.infobus.InfoBusDataProducer producer
protected static FwkIconInterface icon
protected OdsxColumnAccess()
public OdsxColumnAccess(javax.infobus.InfoBusDataProducer producer, ValueMatrix vm, java.lang.String name, java.lang.String columnName)
producer
- The infobus data producer of this item.vm
- The value matrix that holds the column.name
- The name of the column to be published (the whole asam path).columnName
- The none unique column name returned by method getColumnName.public OdsxColumnAccess(javax.infobus.InfoBusDataProducer producer, java.lang.String asamPath, ValueMatrix vm, Column col)
producer
- The infobus data producer of this item (could be null).asamPath
- The asam path of the measurement.vm
- The value matrix that holds the column.name
- The column to be published.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkColumnAccess
public void release()
release
in interface FwkColumnDataObserverInterface
release
in interface FwkInterface
release
in interface javax.infobus.DataItem
release
in class FwkColumnAccess
public java.lang.String getShortName()
getShortName
in interface FwkColumnAccessInterface
getShortName
in class FwkColumnAccess
public FwkIconInterface getIcon()
getIcon
in interface FwkDescriptionInterface
getIcon
in class FwkPersistence
FwkPersistence.setIcon(FwkIconInterface)
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor dataFlavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
isDataFlavorSupported
in class FwkColumnAccess
flavor
- the requested flavor for the datapublic java.lang.Object getValueAsObject()
getValueAsObject
in interface javax.infobus.ImmediateAccess
getValueAsObject
in class FwkColumnAccess
public double[] getValues() throws FwkException
getValues
in interface FwkColumnAccessInterface
getValues
in class FwkColumnAccess
FwkException
#getFlag
public double getValueAt(int index) throws FwkException
getValueAt
in interface FwkColumnAccessInterface
getValueAt
in interface FwkColumnDataObserverInterface
getValueAt
in class FwkColumnAccess
index
- The index of interest.An
- exception if the index is out of range.FwkException
FwkColumnAccessInterface.getFlagAt(int)
protected void initializeObserver()
public static short[] getFlags(ValueMatrix vm, Column column, int startPoint, int count) throws FwkException
vm
- The ValueMatrixcolumn
- The columnstartPoint
- The starting point index.count
- The total number of requested points.FwkException
public static double[] getValues(ValueMatrix vm, Column column, int startPoint, int count) throws FwkException
vm
- The ValueMatrixcolumn
- The columnstartPoint
- The starting point index.count
- The total number of requested points.FwkException
public short[] getFlags()
getFlags
in interface FwkColumnAccessInterface
getFlags
in class FwkColumnAccess
Odsx Upper documentation.
public int getCount()
getCount
in interface FwkColumnAccessInterface
getCount
in interface FwkColumnDataObserverInterface
getCount
in class FwkColumnAccess
DataType
public short getFlagAt(int index) throws FwkException
getFlagAt
in interface FwkColumnAccessInterface
getFlagAt
in interface FwkColumnDataObserverInterface
getFlagAt
in class FwkColumnAccess
index
- The index of interest.An
- exception if the index is out of range.FwkException
FwkColumnAccessInterface.getFlags()
,
FwkColumnAccessInterface.getFlagAt(int)
public java.lang.String getUnitString()
getUnitString
in interface FwkColumnAccessInterface
getUnitString
in class FwkColumnAccess
public java.lang.String[] dependsOn()
dependsOn
in interface FwkColumnAccessInterface
dependsOn
in class FwkColumnAccess
public boolean isIndependent()
isIndependent
in interface FwkColumnAccessInterface
isIndependent
in class FwkColumnAccess
protected void determineRange()
determineRange
in class FwkColumnAccess