public class OdsxColumnAccess extends FwkColumnAccess implements FwkColumnAccessInterface
,
Serialized FormFwkColumnAccess.FwkSubColumnAccessFwkInfoBusImmediateAccess.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, upperchildren, properties, validchangeManager, suspendChangeManagersourceauthor, 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, titleNameDATAARRAY_KEY, DEFINED_BIT, INVALID, NOT_MODIFIED_BIT, VALID, VALID_BIT, VISIBLE_BITAUTHOR, 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_NAMEINFOBUS_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, toStringaddChild, addChildListener, containsChild, fireChildAdded, fireChildRemoved, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, hasValidValues, isGroup, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren, setProperty, setValidValuesaddDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setPropertyGroup, suspendChangeManageraddCommand, 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, setTitleNameaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEventsgetClassName, getPresentationString, lostOwnership, setClassName, setCreationDategetNiceVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAverage, getAverageFlag, getColumnName, getIndex, getIndexRange, getMaximum, getMinimum, getMinPositiveValue, getStandardDeviation, getStandardDeviationFlag, independentColumns, isImplicit, setColumnName, setFlagAt, setFlags, setValueAtgetName, hasValidValues, isGroup, setProperty, setValidValuesgetAuthor, 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, setTitleNamegetTransferData, getTransferDataFlavorsaddChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildrengetPresentationString, getValueAsString, setValueaddDataItemChangeListener, removeDataItemChangeListenergetDimensions, getItemByCoordinates, setItemByCoordinates, subdividegetNativeDatatype, getNativeValues, getNativeValues, getScale, isChangeManagerSuspended, setScale, suspendChangeManagergetPersistentObjectNamesdestroyControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListeneraddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationStringpublic 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()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkColumnAccesspublic void release()
release in interface FwkColumnDataObserverInterfacerelease in interface FwkInterfacerelease in interface javax.infobus.DataItemrelease in class FwkColumnAccesspublic java.lang.String getShortName()
getShortName in interface FwkColumnAccessInterfacegetShortName in class FwkColumnAccesspublic FwkIconInterface getIcon()
getIcon in interface FwkDescriptionInterfacegetIcon in class FwkPersistenceFwkPersistence.setIcon(FwkIconInterface)public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor dataFlavor)
isDataFlavorSupported in interface java.awt.datatransfer.TransferableisDataFlavorSupported in class FwkColumnAccessflavor - the requested flavor for the datapublic java.lang.Object getValueAsObject()
getValueAsObject in interface javax.infobus.ImmediateAccessgetValueAsObject in class FwkColumnAccesspublic double[] getValues()
throws FwkException
getValues in interface FwkColumnAccessInterfacegetValues in class FwkColumnAccessFwkException#getFlagpublic double getValueAt(int index)
throws FwkException
getValueAt in interface FwkColumnAccessInterfacegetValueAt in interface FwkColumnDataObserverInterfacegetValueAt in class FwkColumnAccessindex - The index of interest.An - exception if the index is out of range.FwkExceptionFwkColumnAccessInterface.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.FwkExceptionpublic 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.FwkExceptionpublic short[] getFlags()
getFlags in interface FwkColumnAccessInterfacegetFlags in class FwkColumnAccessOdsx Upper documentation.public int getCount()
getCount in interface FwkColumnAccessInterfacegetCount in interface FwkColumnDataObserverInterfacegetCount in class FwkColumnAccessDataTypepublic short getFlagAt(int index)
throws FwkException
getFlagAt in interface FwkColumnAccessInterfacegetFlagAt in interface FwkColumnDataObserverInterfacegetFlagAt in class FwkColumnAccessindex - The index of interest.An - exception if the index is out of range.FwkExceptionFwkColumnAccessInterface.getFlags(),
FwkColumnAccessInterface.getFlagAt(int)public java.lang.String getUnitString()
getUnitString in interface FwkColumnAccessInterfacegetUnitString in class FwkColumnAccesspublic java.lang.String[] dependsOn()
dependsOn in interface FwkColumnAccessInterfacedependsOn in class FwkColumnAccesspublic boolean isIndependent()
isIndependent in interface FwkColumnAccessInterfaceisIndependent in class FwkColumnAccessprotected void determineRange()
determineRange in class FwkColumnAccess