net.quartzware
Class Value

java.lang.Object
  |
  +--net.quartzware.Value
Direct Known Subclasses:
BinaryPath, BinaryVal, IntArray, IntegerVal, Message, ObjectVal, StringArray, StringVal, TaggedArray

public abstract class Value
extends java.lang.Object

The abstract base class from which all of the Data Types are derived


Field Summary
protected  Entry parent
           
 
Constructor Summary
Value()
          Default Constructor PRE: None POST: class is created
 
Method Summary
abstract  boolean editValue()
          This function will allow the user to edit the value in this entry.
 javax.swing.Icon getIcon()
          This function gets an Icon.
 void setValue(java.lang.String newValue)
          This function sets the value of a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected Entry parent
Constructor Detail

Value

public Value()
Default Constructor PRE: None POST: class is created
Method Detail

editValue

public abstract boolean editValue()
This function will allow the user to edit the value in this entry. It returns true if in-label editing is required, but false if a dialog will handle the editing.
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)
This function sets the value of a string
Parameters:
newValue - The new value for the string. PRE: newValue is not null. POST: none

getIcon

public javax.swing.Icon getIcon()
This function gets an Icon.
Returns:
The specified icon. PRE: There is a call for an icon. POST: The icon is displayed.