|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
edu.wisc.trace.urcsdk.target.uisocket.UISocketVariable
edu.wisc.trace.urcsdk.target.uisocket.DecimalVariable
public class DecimalVariable
DecimalVariable is a specialized version of a
UISocketVariable that deals specifically with decimals.
| Field Summary |
|---|
| Fields inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement |
|---|
id, logger, ref, secret, sensitive, session, socket, socketDocument, timeout, type, value |
| Constructor Summary | |
|---|---|
DecimalVariable()
Creates a new DecimalVariable instance. |
|
DecimalVariable(UISocket socket)
Creates a new DecimalVariable instance. |
|
DecimalVariable(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
Creates a new DecimalVariable instance. |
|
| Method Summary | |
|---|---|
UISocketVariable |
clone()
Returnes a copy of the object |
double |
getMaxInclusive()
Returns the maximum inclusive value for this variable. |
double |
getMinInclusive()
Returns the minimum inclusive value for this variable. |
double |
getStep()
Returns the of this variable. |
void |
parse(org.w3c.dom.Element rootElement)
Parses the given element for the data required to create a |
java.lang.Object |
validate(java.lang.String value)
|
| Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.UISocketVariable |
|---|
addDynamicValues, getDynamicRefVars, getStaticMap, hasSelection, isWritable |
| Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement |
|---|
getId, getRef, getSession, getSocket, getSocketDocument, getType, getValue, internalSetValue, setSession, setSocket, setSocketDocument, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DecimalVariable()
DecimalVariable instance.
public DecimalVariable(UISocket socket)
DecimalVariable instance.
socket - an UISocket value
public DecimalVariable(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
throws UrcException
DecimalVariable instance.
parent - an UISocketDocument valuesocket - an UISocket valuerootElement - an Element value
UrcException - if an error occurs| Method Detail |
|---|
public UISocketVariable clone()
AbstractUISocketElement
clone in interface IUISocketElementclone in class UISocketVariableObject valuepublic double getMinInclusive()
double valuepublic double getMaxInclusive()
double value
public void parse(org.w3c.dom.Element rootElement)
throws UrcException
AbstractUISocketElement
parse in interface IUISocketElementparse in class UISocketVariablerootElement - the Element object to parse
UrcException - if an error occurspublic double getStep()
double object.public java.lang.Object validate(java.lang.String value)
validate in class UISocketVariable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||