public static class DataSource.Writable extends DataSource
DataSource.WritableautoSuspend, 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 |
|---|
Writable()
The constructor will "init" and "start" the data source, it will
also set the suspend status to "NEVER".
|
Writable(OutPortConnectionInterface parent)
Create the object with a parent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultQualityForLocation(int location)
For any location returns QUALITY_GOOD meaning that values must
be good to pass.
|
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.
|
void |
setValueObject(ValueObjectInterface newValue)
This is here to allow outside development systems to change the value of this active control.
|
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.
|
void |
valueInput(ValueChangedEvent newEvent)
This method is called by beans and other data sources to set the value of this server.
|
addConnector, addConnector, addVIBEventListener, checkScript, clientRequest, destroy, determineSuspendedStatus, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getContainer, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getName, 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, setAutoSuspend, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setDataSourceName, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, start, stop, toString, updateColor, updateListeners, updateListeners, updateListeners, VIBEvent, whoAmIpublic Writable()
parent - TODOpublic Writable(OutPortConnectionInterface parent)
parent - The parent is used whenever a server or manipulator creates a datasource
the data source uses the parent (if not null) for services, such as the container.public int getDefaultQualityForLocation(int location)
throws BadParameterException
location - the method index.BadParameterException - never thrown.public int getStaticLocationFor(java.lang.String method)
throws BadParameterException
BadParameterExceptionpublic void setValueObject(ValueObjectInterface newValue) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void valueChanged(int loc,
ValueChangedEvent e)
throws VIBUpdateFailedException,
BadParameterException
public void valueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
newEvent - The ValueChangedEvent that the bean or data source has sent.VIBUpdateFailedExceptionCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.