net.quartzware
Class BinaryVal

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

public class BinaryVal
extends Value

BinaryVal A BinaryVal is a binary number of any length. It is stored as an Vector of bytes. When displayed to the user, it is displayed in hex.


Fields inherited from class net.quartzware.Value
parent
 
Constructor Summary
BinaryVal()
          Constructs an empty Binary Value.
BinaryVal(java.util.Vector val)
          Constructs a Binary Value with a given value.
 
Method Summary
 boolean editValue()
          This function will allow the user to edit the value in this entry.
 void setValue(java.lang.String newValue)
          This function sets the value of a string
 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

BinaryVal

public BinaryVal()
Constructs an empty Binary Value. PRE: None POST: The class is created.

BinaryVal

public BinaryVal(java.util.Vector val)
Constructs a Binary Value with a given value.
Parameters:
val - the value for Binary Value. Pre: None Post: The class is created.
Method Detail

editValue

public boolean editValue()
Description copied from class: Value
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.
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)
Description copied from class: Value
This function sets the value of a string
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