net.quartzware
Class IntArray
java.lang.Object
|
+--net.quartzware.Value
|
+--net.quartzware.IntArray
- public class IntArray
- extends Value
IntArray
A class which stores an array of integers. There can be any number of integers
up through INT_MAX.
Fields inherited from class net.quartzware.Value |
parent |
Constructor Summary |
IntArray()
Default constructor - created empty array
PRE: None
POST: The class is created |
IntArray(int[] array)
Constructs the IntArray with a user specified int array |
IntArray(java.lang.Integer[] array)
Constructs the IntArray with a user specified integer array |
IntArray(java.util.Vector array)
Constructs the IntArray from a user specified vector |
Method Summary |
boolean |
editValue()
This function will allow the user to edit the value in this entry. |
java.util.Vector |
getValue()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
IntArray
public IntArray()
- Default constructor - created empty array
PRE: None
POST: The class is created
IntArray
public IntArray(int[] array)
- Constructs the IntArray with a user specified int array
- Parameters:
array
- the array to be constructed
PRE: Array is not null
POST: The class is created
IntArray
public IntArray(java.lang.Integer[] array)
- Constructs the IntArray with a user specified integer array
- Parameters:
array
- the array to be constructed
PRE: Array is not null
POST: The class is created
IntArray
public IntArray(java.util.Vector array)
- Constructs the IntArray from a user specified vector
- Parameters:
array
- the array to be constructed
PRE: The vector is not null
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
- 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.
getValue
public java.util.Vector getValue()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object