net.quartzware
Class BinaryVal
java.lang.Object
|
+--net.quartzware.Value
|
+--net.quartzware.BinaryVal
- All Implemented Interfaces:
- java.lang.Cloneable
- 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.
Constructor Summary |
BinaryVal()
Constructs an empty Binary Value. |
BinaryVal(java.util.Vector val)
Constructs a Binary Value with a given value. |
Method Summary |
java.lang.Object |
clone()
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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
- 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)
- Description copied from class:
Value
- This function sets the value of a string
- 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
clone
public java.lang.Object clone()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object