public class DateCreator extends SimpleManipulator
SimpleDataSource.NameEditorDataDataSource.Writable| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
cvsRev |
ValueObjectInterface |
day |
ValueObjectInterface |
hour |
ValueObjectInterface |
minute |
ValueObjectInterface |
month |
ValueObjectInterface |
seconds |
java.util.Calendar |
timeKeeper |
ValueObjectInterface |
year |
UPDATE_DISPLAYED_VALUE, VALUE_INPUTcustomTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebaseautoSuspend, 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 |
|---|
DateCreator()
Generic Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
day(ValueChangedEvent newEvent)
This is used to set the day of month.
|
int |
getStaticLocationFor(java.lang.String loc)
This is used by the StaticMethodEvent to determine which valueChanged method to call.
|
void |
hour(ValueChangedEvent newEvent)
This is used to set the hour of the day.
|
boolean |
isJanIsOne() |
void |
minute(ValueChangedEvent newEvent)
This is used to set the minute of the hour.
|
void |
month(ValueChangedEvent newEvent)
This is used to set the month.
|
void |
seconds(ValueChangedEvent newEvent)
This is used to set the seconds of the minute.
|
void |
setJanIsOne(boolean janIsOne) |
void |
trigger(ValueChangedEvent newEvent)
When this manipulator receives a "trigger" input (valueChangedEvent on this port)
the new GenericValueObject will be created with the date composed from the inputs.
|
void |
valueChanged(int loc,
ValueChangedEvent e)
This calls the proper valueChanged method based on
the return from the getStaticLocationFor method.
|
void |
year(ValueChangedEvent newEvent)
This is used to set the year.
|
getDefaultQualityForLocationgetInPortNames, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueInputaddConnector, 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, VIBEventaddVIBEventListener, 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, whoAmIpublic static final java.lang.String cvsRev
public transient ValueObjectInterface day
public transient ValueObjectInterface hour
public transient ValueObjectInterface minute
public transient ValueObjectInterface month
public transient ValueObjectInterface seconds
public transient java.util.Calendar timeKeeper
public transient ValueObjectInterface year
public void day(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic int getStaticLocationFor(java.lang.String loc)
throws BadParameterException
getStaticLocationFor in class ManipulatorBadParameterExceptionpublic void hour(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic boolean isJanIsOne()
public void minute(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void month(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void seconds(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void setJanIsOne(boolean janIsOne)
janIsOne - The janIsOne to set.public void trigger(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void valueChanged(int loc,
ValueChangedEvent e)
throws VIBUpdateFailedException,
BadParameterException
valueChanged in class ManipulatorBadParameterExceptionVIBUpdateFailedExceptionpublic void year(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.