SFE.GUI
Class Constant

java.lang.Object
  extended by SFE.GUI.Constant

public class Constant
extends java.lang.Object

Constant A constant is implemented as a label-value pair. Initialize with: Constant(name, value)


Field Summary
 ProgramDocument nameDoc
           
 ProgramDocument valueDoc
           
 
Constructor Summary
Constant(java.lang.String name, java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares two constants by name
 java.lang.String toString()
          Get string representation of constant
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nameDoc

public ProgramDocument nameDoc

valueDoc

public ProgramDocument valueDoc
Constructor Detail

Constant

public Constant(java.lang.String name,
                java.lang.String value)
Method Detail

equals

public boolean equals(java.lang.Object other)
Compares two constants by name

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Get string representation of constant

Overrides:
toString in class java.lang.Object