|
||||||||||
| 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.UISocketConstant
edu.wisc.trace.urcsdk.target.uisocket.DecimalConstant
public class DecimalConstant
DecimalConstant 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 | |
|---|---|
DecimalConstant()
Creates a new DecimalConstant instance. |
|
DecimalConstant(UISocket socket)
Creates a new DecimalConstant instance. |
|
DecimalConstant(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
Creates a new DecimalConstant instance. |
|
| Method Summary | |
|---|---|
DecimalConstant |
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.UISocketConstant |
|---|
hasSelection, internalSetValue, isWritable, setValue |
| Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement |
|---|
getId, getRef, getSession, getSocket, getSocketDocument, getType, getValue, setSession, setSocket, setSocketDocument, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DecimalConstant()
DecimalConstant instance.
public DecimalConstant(UISocket socket)
DecimalConstant instance.
socket - an UISocket value
public DecimalConstant(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
throws UrcException
DecimalConstant instance.
parent - an UISocketDocument valuesocket - an UISocket valuerootElement - an Element value
UrcException - if an error occurs| Method Detail |
|---|
public DecimalConstant clone()
AbstractUISocketElement
clone in interface IUISocketElementclone in class UISocketConstantObject 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 UISocketConstantrootElement - 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 UISocketConstant
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||