|
||||||||||
| 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.IntegerVariable
public class IntegerVariable
IntegerVariable is the number variant of UISocketVariable.
It provides special handling for integer values.
It serves as the xsd:integer type.
Created on: May 26, 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 | |
|---|---|
IntegerVariable()
Creates a new IntegerVariable instance. |
|
IntegerVariable(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
Creates a new IntegerVariable instance. |
|
IntegerVariable(UISocketMirror socket)
Creates a new IntegerVariable instance. |
|
| Method Summary | |
|---|---|
IntegerVariable |
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 IntegerVariable()
IntegerVariable instance.
public IntegerVariable(UISocketMirror socket)
IntegerVariable instance.
socket - an UISocket value
public IntegerVariable(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
throws UrcException
IntegerVariable instance.
parent - an UISocketDocument valuesocket - an UISocket valuerootElement - an Element value
UrcException - if an error occurs| Method Detail |
|---|
public IntegerVariable clone()
clone method here.
clone in interface IUISocketElementclone in class NumberVariableIntegerVariable 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 NumberVariable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||