| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.collab.EnumElement
This class is an enumeration element. Each Enum holds a list
 of EnumElements.
| Field Summary | |
protected  int | 
m_iValue
 | 
protected  java.lang.String | 
m_sStr
 | 
protected  java.lang.Integer | 
m_value
 | 
| Constructor Summary | |
EnumElement(java.lang.Class enumClass,
            com.compoze.collab.resource.ResourceBundleWrapper rb,
            com.compoze.collab.resource.ResourceKey rk,
            int iValue,
            float fSortValue,
            java.lang.String sStr)
Constructor.  | 
|
| Method Summary | |
 int | 
compareTo(java.lang.Object obj)
 | 
 boolean | 
equals(java.lang.Object o)
Equals.  | 
 java.lang.String | 
getDisplayName(java.util.Locale locale)
Gets the display name of the element in a particular display locale.  | 
 Enum | 
getEnumeration()
Gets the enumeration.  | 
 java.lang.Integer | 
getIntegerValue()
Gets the value.  | 
 int | 
getIntValue()
Gets the value.  | 
 java.lang.String | 
getString()
Gets the non-localized string for the enum.  | 
 boolean | 
isDefault()
Determines if this is the default enum element (in its top level enumeration only).  | 
protected  java.lang.Object | 
readResolve()
Resolves the object during de-serialization.  | 
 java.lang.String | 
toString()
Creates a string representation of the element.  | 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected int m_iValue
protected transient java.lang.Integer m_value
protected transient java.lang.String m_sStr
| Constructor Detail | 
public EnumElement(java.lang.Class enumClass,
                   com.compoze.collab.resource.ResourceBundleWrapper rb,
                   com.compoze.collab.resource.ResourceKey rk,
                   int iValue,
                   float fSortValue,
                   java.lang.String sStr)
| Method Detail | 
public boolean isDefault()
public int getIntValue()
public java.lang.Integer getIntegerValue()
public java.lang.String getString()
public java.lang.String getDisplayName(java.util.Locale locale)
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparablepublic Enum getEnumeration()
protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecttrue if the enum elements are equal (the class of
		the enums and their int values are equal)public java.lang.String toString()
toString in class java.lang.Objectnull)
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||