public class RpcIIIColumnAccess extends FwkColumnAccess implements FwkColumnAccessInterface
,
Serialized FormModifier and Type | Class and Description |
---|---|
protected class |
RpcIIIColumnAccess.FwkObserver |
FwkColumnAccess.FwkSubColumnAccess
FwkInfoBusImmediateAccess.ElementConsumer
Modifier and Type | Field and Description |
---|---|
protected static FwkIconInterface |
icon |
protected javax.infobus.InfoBusDataProducer |
producer |
protected java.lang.String |
unitString |
static java.lang.String |
version |
average, averageIsValid, columnName, CONSIDER_FLAGS, DESCRIPTION_COLUMN_NAME, lower, minPositiveValue, observer, 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
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 |
RpcIIIColumnAccess()
A private default constructor.
|
|
RpcIIIColumnAccess(javax.infobus.InfoBusDataProducer producer,
RpcIIIDataObserver rpcObserver,
int index)
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.
|
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.
|
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.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
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.
|
static void |
main(java.lang.String[] args)
The main testing routine.
|
void |
release()
Release the column.
|
createEmptyColumn, determineRange, getAverage, getAverageFlag, getColumnName, getCommands, getDimensions, getIndex, getIndexRange, getItemByCoordinates, getMaximum, getMinimum, getMinPositiveValue, getNativeDatatype, getNativeValues, getNativeValues, getPresentationString, getProperty, getScale, getStandardDeviation, getStandardDeviationFlag, getTransferData, getTransferDataFlavors, getValueAsString, independentColumns, isImplicit, 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 javax.infobus.InfoBusDataProducer producer
protected static FwkIconInterface icon
protected RpcIIIColumnAccess()
public RpcIIIColumnAccess(javax.infobus.InfoBusDataProducer producer, RpcIIIDataObserver rpcObserver, int index)
producer
- The infobus data producer of this item.rpcObserver
- The RpcIII data rpcObserver.index
- The channel index.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)
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
public static void main(java.lang.String[] args)