net.quartzware
Class IntegerVal

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

public class IntegerVal
extends Value

IntegerVal Integer Value is a data type which contains one Integer to be stored in a Resource Bundle.


Fields inherited from class net.quartzware.Value
parent
 
Constructor Summary
IntegerVal()
          Constructs an empty IntegerVal.
IntegerVal(int val)
          Constructs an IntegerVal with the given int.
IntegerVal(java.lang.Integer val)
          Constructs an IntegerVal with the given Integer.
 
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

IntegerVal

public IntegerVal(java.lang.Integer val)
Constructs an IntegerVal with the given Integer.
Parameters:
val - the name of a Integer value PRE: val is not null POST: the class is created

IntegerVal

public IntegerVal(int val)
Constructs an IntegerVal with the given int.
Parameters:
val - the name of a int value. PRE: none POST: the class is created

IntegerVal

public IntegerVal()
Constructs an empty IntegerVal. 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