public class MasterComparer extends SimpleManipulator
SimpleDataSource.NameEditorData
DataSource.Writable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
static java.lang.String[] |
descriptions
Intelligent string for the defined constants.
|
ValueObjectInterface |
leftSideValue
This is the input value received at the leftSideValueInput.
|
int |
operation
The integer value for the requested operation.
|
ValueObjectInterface |
rightSideValue
This is the input value received at the rightSideValueInput.
|
UPDATE_DISPLAYED_VALUE, VALUE_INPUT
customTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebase
autoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo
Constructor and Description |
---|
MasterComparer()
Generic Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getStaticLocationFor(java.lang.String loc)
This is used by the StaticMethodEvent to determine which valueChanged method to call.
|
void |
leftSideValueInput(ValueChangedEvent newEvent)
This is the primary input for the comparison to the second input.
|
void |
rightSideValueInput(ValueChangedEvent newEvent)
This is the input method for the other value, used as the
second input for the comparison.
|
void |
setColorHiHi(java.awt.Color newColor)
Sets the true color.
|
void |
setColorLoLo(java.awt.Color newColor)
Sets the false color.
|
void |
update()
This method is called whenever any input is changed.
|
void |
valueChanged(int loc,
ValueChangedEvent e)
This calls the proper valueChanged method based on
the return from the getStaticLocationFor method.
|
getDefaultQualityForLocation
getInPortNames, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueInput
addConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, start, stop, tick, VIBEvent
addVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmI
public static final java.lang.String cvsRev
public static final java.lang.String[] descriptions
public transient ValueObjectInterface leftSideValue
public int operation
public transient ValueObjectInterface rightSideValue
public int getStaticLocationFor(java.lang.String loc) throws BadParameterException
getStaticLocationFor
in class Manipulator
BadParameterException
public void leftSideValueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
newEvent
- an event from the registered data sourceVIBUpdateFailedException
update()
,
rightSideValueInput(ValueChangedEvent)
public void rightSideValueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
newEvent
- an event from the registered data sourceVIBUpdateFailedException
update()
,
leftSideValueInput(ValueChangedEvent)
public void setColorHiHi(java.awt.Color newColor)
setColorHiHi
in class DataSource
newColor
- the new High level server colorDataSource.getColorHiHi()
,
DataSource.getValueHiHi()
,
DataSource.setValueHiHi(double)
public void setColorLoLo(java.awt.Color newColor)
setColorLoLo
in class DataSource
newColor
- the new Low level server colorDataSource.getColorLoLo()
,
DataSource.getValueLoLo()
,
DataSource.setValueLoLo(double)
public void update() throws VIBUpdateFailedException
VIBUpdateFailedException
public void valueChanged(int loc, ValueChangedEvent e) throws VIBUpdateFailedException, BadParameterException
valueChanged
in class Manipulator
VIBUpdateFailedException
BadParameterException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.