edu.indiana.iucbrf.feature
Class FeatureKeyObj

java.lang.Object
  extended by edu.indiana.iucbrf.feature.FeatureKeyObj
All Implemented Interfaces:
FeatureKey, SwingRepresentable, java.io.Serializable

public class FeatureKeyObj
extends java.lang.Object
implements FeatureKey

See Also:
Serialized Form

Field Summary
static int LABEL_WIDTH
           
 
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable
TITLE_FONT
 
Constructor Summary
protected FeatureKeyObj()
          For serialization
  FeatureKeyObj(java.lang.Object objValue)
          Creates a new instance of FeatureKeyObj
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.Object getObjValue()
           
 int hashCode()
           
 java.lang.String toSimpleString()
          Returns a simplified String representation of this FeatureKey.
 java.lang.String toString()
           
 javax.swing.JComponent toSwing(int detailLevel)
          Detail level may be ignored by implementations.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LABEL_WIDTH

public static final int LABEL_WIDTH
See Also:
Constant Field Values
Constructor Detail

FeatureKeyObj

protected FeatureKeyObj()
For serialization


FeatureKeyObj

public FeatureKeyObj(java.lang.Object objValue)
Creates a new instance of FeatureKeyObj

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toSimpleString

public java.lang.String toSimpleString()
Description copied from interface: FeatureKey
Returns a simplified String representation of this FeatureKey. This is used, for example, in the construction of database queries involving a FeatureKey.

Specified by:
toSimpleString in interface FeatureKey

getObjValue

public java.lang.Object getObjValue()

toSwing

public javax.swing.JComponent toSwing(int detailLevel)
Description copied from interface: SwingRepresentable
Detail level may be ignored by implementations. If used, the standard is for detailLevel 0 to be least detail, with higher values growing more detailed. 0 is least detail, higher numbers are more

Specified by:
toSwing in interface SwingRepresentable