net.quartzware
Class ObjectVal
java.lang.Object
|
+--net.quartzware.Value
|
+--net.quartzware.ObjectVal
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ObjectVal
- extends Value
ObjectVal
Holds the necessary information to create an instance of a class on the fly.
In other words, it contains the path to a .class file and the parameters to
pass to the constructor.
Constructor Summary |
ObjectVal()
Constructs an empty Object Value. |
ObjectVal(java.lang.String val)
Constructs an ObjectVal with an Object type. |
Method Summary |
java.lang.Object |
clone()
|
boolean |
editValue()
Allows the editing of a value |
void |
setValue(java.lang.String newValue)
Sets value to newValue |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectVal
public ObjectVal(java.lang.String val)
- Constructs an ObjectVal with an Object type.
- Parameters:
val
- value used to initialize this class.
PRE: val is not null
POST: The class is created.
ObjectVal
public ObjectVal()
- Constructs an empty Object Value.
PRE: None.
POST: The class is created.
editValue
public boolean editValue()
- Allows the editing of a value
- Overrides:
editValue
in class Value
- Following copied from class:
net.quartzware.Value
- Returns:
- Whether to do in label editing of this value
PRE: The entry that this Value is a part of must be in an open Edior
Window
POST: This value may be modified.
setValue
public void setValue(java.lang.String newValue)
- Sets value to newValue
- Overrides:
setValue
in class Value
- Following copied from class:
net.quartzware.Value
- Parameters:
newValue
- The new value for the string.
PRE: newValue is not null.
POST: none
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()