public class TimeDelayTrigger extends SimpleManipulator
SimpleDataSource.NameEditorData
DataSource.Writable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
double |
timeDelay
The time delay.
|
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 |
---|
TimeDelayTrigger()
The default constructor which sets the time delay to 0.
|
Modifier and Type | Method and Description |
---|---|
int |
getStaticLocationFor(java.lang.String method)
This is the default getStaticLocationFor with a location used by the staticmethodevent
to find a specific entry value object.
|
double |
getTimeDelay()
Returns the current timeDelay factor
|
void |
setTimebase(double newValue)
This method does nothing now.
|
void |
setTimeDelay(double timeDelay)
Sets a new timeDelay factor.
|
void |
stop(ValueChangedEvent theEvent)
This method is called by beans and other data sources to set the value of this server.
|
void |
timeToSend(ValueObjectInterface value)
Called when the timer expires.
|
void |
trigger(ValueChangedEvent theEvent)
This method is called by beans and other data sources to set the value of this server.
|
void |
valueChanged(int loc,
ValueChangedEvent e)
This is the default valuechanged with a location used by the staticmethodevent
to find a specific entry value object.
|
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, 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, setColorHiHi, setColorLo, setColorLoLo, 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 double timeDelay
public TimeDelayTrigger()
public int getStaticLocationFor(java.lang.String method) throws BadParameterException
getStaticLocationFor
in class Manipulator
BadParameterException
public double getTimeDelay()
timeDelay
- the new time delay in sec.public void setTimebase(double newValue)
setTimebase
in class SimpleDataSource
newValue
- the timebase of the serverSimpleDataSource.getTimebase()
public void setTimeDelay(double timeDelay)
timeDelay
- the new time delay in sec.public void stop(ValueChangedEvent theEvent) throws VIBUpdateFailedException
VIBUpdateFailedException
public void timeToSend(ValueObjectInterface value) throws VIBUpdateFailedException
VIBUpdateFailedException
public void trigger(ValueChangedEvent theEvent) 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.