de.grogra.util
Class EnumValueImpl
java.lang.Object
   de.grogra.util.EnumValueImpl
de.grogra.util.EnumValueImpl
- All Implemented Interfaces: 
- Described, EnumValue, javax.swing.ListModel
- public class EnumValueImpl 
- extends java.lang.Object- implements EnumValue, Described, javax.swing.ListModel
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
EnumValueImpl
public EnumValueImpl(I18NBundle i18n,
                     java.lang.String key,
                     javax.swing.ListModel list)
EnumValueImpl
public EnumValueImpl(java.lang.Object value,
                     javax.swing.ListModel list)
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- 
- Specified by:
- addListDataListenerin interface- javax.swing.ListModel
 
- 
 
equals
public boolean equals(java.lang.Object o)
- 
- Overrides:
- equalsin class- java.lang.Object
 
- 
 
getDescription
public java.lang.Object getDescription(java.lang.String type)
- Description copied from interface: Described
- Returns the description associated with the given type.typehas to be one of the predefined constants
 of this interface, the returned value has to conform to the
 specification of the used constant.
 
- 
- Specified by:
- getDescriptionin interface- Described
 
- 
- Parameters:
- type- the type of description
- Returns:
- the description, or nullif no description is available
 
getElementAt
public java.lang.Object getElementAt(int index)
- 
- Specified by:
- getElementAtin interface- javax.swing.ListModel
 
- 
 
getList
public javax.swing.ListModel getList()
- 
- Specified by:
- getListin interface- EnumValue
 
- 
 
getSize
public int getSize()
- 
- Specified by:
- getSizein interface- javax.swing.ListModel
 
- 
 
getValue
public java.lang.Object getValue()
- 
 
- 
 
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- 
- Specified by:
- removeListDataListenerin interface- javax.swing.ListModel
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
-