public abstract class EnumItem extends Object implements Comparable
To implement an enumeration class:
- create a subclass of EnumItem
- create a final public static attribute named META to the EnumMeta of the class.
final public static EnumMeta META = getMeta(XYZ.class);
- create a final public static attribute for every member of the enumeration.
public static final XYZ ABC = new XYZ("abxc","My ABC");
public int compareTo(Object o)
compareTo in interface Comparablepublic String getDescription()
public String getIconName()
public String getId()
public String getLabel()
public String getLocalizedLabel()
public String getTip()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.