|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement
edu.wisc.trace.urcsdk.client.uisocket.types.UISocketVariable
edu.wisc.trace.urcsdk.client.uisocket.types.NumberVariable
edu.wisc.trace.urcsdk.client.uisocket.types.DecimalVariable
public class DecimalVariable
DecimalVariable is the number variant of UISocketVariable.
It provides special handling for decimal values.
It serves as the xsd:decimal type.
Created on: May 25, 2006
| Field Summary |
|---|
| Fields inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.UISocketVariable |
|---|
dynamicValues, socketSelection |
| Fields inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement |
|---|
dependents, id, interactor, listeners, logger, parent, ref, secret, sensitive, session, sessionId, simpleType, socket, socketDependency, supports, timeout, type, value |
| Constructor Summary | |
|---|---|
DecimalVariable()
Creates a new DecimalVariable instance. |
|
DecimalVariable(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
Creates a new DecimalVariable instance. |
|
DecimalVariable(UISocketMirror socket)
Creates a new DecimalVariable instance. |
|
| Method Summary | |
|---|---|
DecimalVariable |
clone()
Describe clone method here. |
double |
getMaxInclusive()
getMaxInclusive gets the highest allowable number (inclusive) |
double |
getMinInclusive()
getMinInclusive gets the lowest allowed number (inclusive) |
double |
getStep()
getStep the distance between each allowed number |
void |
parse(org.w3c.dom.Element rootElement)
Describe parse method here. |
java.lang.Object |
validate(java.lang.String value)
checkValue determines whether a value is allowable for a given xsd type. |
| Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.UISocketVariable |
|---|
addDynamicValues, getDynamicRefVars, getStaticMap, hasSelection, isClosed, isExecutable, isReadable, isWritable |
| Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement |
|---|
checkDependencies, checkDependents, getAccessKey, getDependents, getHelp, getId, getInteractor, getKeywords, getLabel, getParent, getRef, getResource, getSecret, getSession, getSocket, getSocketDependency, getSupports, getType, getValue, getXSDSimpleType, registerDependent, registerSupport, setInteractor, setListener, setParent, setSession, setSessionId, setSocket, setValue, setValueRequest, setXSDSimpleType, toString, updateValue |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DecimalVariable()
DecimalVariable instance.
public DecimalVariable(UISocketMirror socket)
DecimalVariable instance.
socket - an UISocket value
public DecimalVariable(UISocketDocument parent,
UISocketMirror 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 DecimalVariable clone()
clone method here.
clone in interface IUISocketElementclone in class NumberVariableDecimalVariable valuepublic double getMinInclusive()
getMinInclusive gets the lowest allowed number (inclusive)
getMinInclusive in class NumberVariabledouble valuepublic double getMaxInclusive()
getMaxInclusive gets the highest allowable number (inclusive)
getMaxInclusive in class NumberVariabledouble value
public void parse(org.w3c.dom.Element rootElement)
throws UrcException
UISocketVariableparse method here.
parse in interface IUISocketElementparse in class NumberVariablerootElement - an Element value
UrcException - if an error occurspublic double getStep()
getStep the distance between each allowed number
getStep in class NumberVariabledouble valuepublic java.lang.Object validate(java.lang.String value)
UISocketVariablecheckValue determines whether a value is allowable for a given xsd type.
This should be overridden for every class extending UISocketVariable.
validate in class NumberVariablevalue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||