net.quartzware
Class StringArray

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

public class StringArray
extends Value

The StringArray datatype contains a Vector of Strings to be saved into a Resource Bundle.


Fields inherited from class net.quartzware.Value
parent
 
Constructor Summary
StringArray()
          Default constructor - creates empty StringArray PRE: none POST: The class is created
StringArray(java.lang.String[] strArray)
          Constructs the StringArray with a given array of Strings
StringArray(java.util.Vector array)
          Constructs the StringArray with a given 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()
          This function converts an array to a string.
 
Methods inherited from class net.quartzware.Value
getIcon, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringArray

public StringArray(java.lang.String[] strArray)
Constructs the StringArray with a given array of Strings
Parameters:
array - the array to be constructed PRE: strArray is not null POST: The class is created

StringArray

public StringArray(java.util.Vector array)
Constructs the StringArray with a given Vector
Parameters:
array - the vector to be constructed PRE: array is not null POST: The class is created

StringArray

public StringArray()
Default constructor - creates empty StringArray PRE: none POST: The class is created
Method Detail

editValue

public 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.
Overrides:
editValue in 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()
This function converts an array to a string.
Overrides:
toString in class java.lang.Object
Returns:
a string. PRE: a cell in the resource bundle is clicked. POST: The array is now a string.