java.lang.Object
de.grogra.util.EnumValueImpl
-
Field Summary
Fields inherited from interface de.grogra.util.Described
ACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE -
Constructor Summary
ConstructorsConstructorDescriptionEnumValueImpl(I18NBundle i18n, String key, ListModel list) EnumValueImpl(Object value, ListModel list) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleangetDescription(String type) Returns the description associated with the giventype.getElementAt(int index) getList()intgetSize()getValue()voidtoString()
-
Constructor Details
-
EnumValueImpl
-
EnumValueImpl
-
-
Method Details
-
getDescription
Description copied from interface:DescribedReturns the description associated with the giventype.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 interfaceDescribed- Parameters:
type- the type of description- Returns:
- the description, or
nullif no description is available
-
toString
-
getSize
public int getSize() -
getElementAt
- Specified by:
getElementAtin interfaceListModel
-
addListDataListener
- Specified by:
addListDataListenerin interfaceListModel
-
removeListDataListener
- Specified by:
removeListDataListenerin interfaceListModel
-
getList
-
getValue
-
equals
-