public interface P2DMarkerGroupInterface extends FwkInfoBusMemberInterface, FwkPropertyChangeListenerInterface, FwkInfoBusImmediateAccessInterface, P2DRangeInterface
Modifier and Type | Field and Description |
---|---|
static int |
CENTER
The upper marker sign.
|
static int |
LOWER
The lower marker sign.
|
static int |
UPPER
The upper marker sign.
|
INFOBUS_SOURCE
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
Modifier and Type | Method and Description |
---|---|
P2DMarkerGroupInterface |
findMarkerGroup(double value,
java.lang.String boundColumn,
double tolerance)
Find a marker with the given tolerance.
|
java.lang.String |
getBoundColumn()
Get the name of the bounded column.
|
java.awt.Color |
getColor()
Get the current color of the marker.
|
long |
getLowerIndex()
Returns the lower value index of the marker.
|
long |
getLowerIndex(java.lang.String colName)
Returns the lower value index of the marker.
|
int |
getMarker()
get the marker falg.
|
P2DRange1DInterface |
getRange()
Returns the effective range of the marker.
|
long[] |
getRangeIndex()
Returns the upper value index of the marker.
|
long[] |
getRangeIndex(java.lang.String colName)
Returns the upper value index of the marker.
|
java.lang.String |
getUnit()
Get unit string.
|
long |
getUpperIndex()
Returns the upper value index of the marker.
|
long |
getUpperIndex(java.lang.String colName)
Returns the upper value index of the marker.
|
boolean |
hasValidValues()
Returns a boolean that indicates whether the group has valid values.
|
void |
set(double value)
Sets the value that is marked.
|
void |
setArea(double lower,
double upper)
Set the area of the marker.
|
void |
setBoundColumn(java.lang.String channelName)
Bind the marker to a specific column.
|
void |
setColor(java.awt.Color c)
Set the color of the marker.
|
void |
setMarker(int marker)
Set the marker.
|
void |
setRange(double lower,
double upper)
Set the range.
|
void |
setRange(P2DRange1DInterface range)
Set the range.
|
void |
unregister()
Unregister the marker group from producer.
|
getInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberName
fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManager
getCommands, 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
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, 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, isDataFlavorSupported
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getVersion, release
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus
getName, isGroup, setProperty, setValidValues
addChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren
getPresentationString, getValueAsObject, getValueAsString, setValue
addDataItemChangeListener, removeDataItemChangeListener
getLowerLimit, getUpperLimit, setLowerLimit, setUpperLimit
static final int LOWER
static final int CENTER
static final int UPPER
void unregister()
boolean hasValidValues()
hasValidValues
in interface FwkInfoBusImmediateAccessInterface
long getLowerIndex()
long getUpperIndex()
long getLowerIndex(java.lang.String colName)
colName
- The name of the column to that the relative index should be returned.long getUpperIndex(java.lang.String colName)
colName
- The name of the column to that the relative index should be returned.long[] getRangeIndex()
long[] getRangeIndex(java.lang.String colName)
colName
- The name of the column to that the relative index should be returned.java.lang.String getUnit()
void setArea(double lower, double upper)
lower
- the lower coordinate of the marker.upper
- the upper coordinate of the marker.void set(double value)
value.
- void setMarker(int marker)
marker
- Use the predefined value from interface or null
to erase the marker flag.int getMarker()
P2DRange1DInterface getRange()
getRange
in interface P2DRangeInterface
void setRange(P2DRange1DInterface range)
setRange
in interface P2DRangeInterface
Range1D
- The new axis range.void setRange(double lower, double upper)
lower
- The lower limit.upper
- The upper limit.P2DMarkerGroupInterface findMarkerGroup(double value, java.lang.String boundColumn, double tolerance)
value
- The value that should be contained by the marker.boundColumn
- The name of the bound column.tolerance
- The tolerance value.void setColor(java.awt.Color c)
c
- The new color.java.awt.Color getColor()
void setBoundColumn(java.lang.String channelName)
channel
- The name of the column to that the marker should be bound.java.lang.String getBoundColumn()