|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.util.RestorableSupport.StateObject
public static class RestorableSupport.StateObject
An interface to the stateObject
elements in an XML state document, as defined by
RestorableSupport
. The name
and simple String value
of a stateObject
can be queried or set through StateObject. This also serves as a context
through which nested stateObjects
can be found or created.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this StateObject as a String, or null if this StateObject has no name. |
java.lang.String |
getValue()
Returns the value of this StateObject as a String, or null if this StateObject has no value. |
void |
setName(java.lang.String name)
Sets the name of this StateObject to the specified String. |
void |
setValue(java.lang.String value)
Sets the value of this StateObject to the specified String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getValue()
public void setName(java.lang.String name)
name
- the new name of this StateObject.
java.lang.IllegalArgumentException
- If name
is null.public void setValue(java.lang.String value)
value
- String value that will replace this StateObject's value.
java.lang.IllegalArgumentException
- If value
is null.
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |