net.quartzware
Class ObjectVal

java.lang.Object
  |
  +--net.quartzware.Value
        |
        +--net.quartzware.ObjectVal

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.


Fields inherited from class net.quartzware.Value
parent
 
Constructor Summary
ObjectVal()
          Constructs an empty Object Value.
ObjectVal(java.lang.String val)
          Constructs an ObjectVal with an Object type.
 
Method Summary
 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 net.quartzware.Value
getIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

editValue

public boolean editValue()
Allows the editing of a value
Overrides:
editValue in class Value
Tags copied from class: 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
Tags copied from class: 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