dsto.dfc.swing.controls
Class BillBoard.LayoutEnum
java.lang.Object
dsto.dfc.util.AbstractEnumerationValue
dsto.dfc.util.StringEnumerationValue
dsto.dfc.swing.icons.IconicEnumerationValue
dsto.dfc.swing.controls.BillBoard.LayoutEnum
- All Implemented Interfaces:
- Iconic, EnumerationValue, Serializable
- Enclosing class:
- BillBoard
public static final class BillBoard.LayoutEnum
- extends IconicEnumerationValue
This is used to store the layout and the alignment in
- See Also:
- Serialized Form
Methods inherited from interface dsto.dfc.swing.icons.Iconic |
getName |
BillBoard.LayoutEnum
protected BillBoard.LayoutEnum(int layout,
int alignment,
String desc,
Icon icon)
getLayout
public int getLayout()
getAlignment
public int getAlignment()
getEnumValues
public EnumerationValue[] getEnumValues()
- Description copied from interface:
EnumerationValue
- Get the list of values within the enumeration.
- Specified by:
getEnumValues
in interface EnumerationValue
- Specified by:
getEnumValues
in class IconicEnumerationValue
readResolve
protected Object readResolve()
throws InvalidObjectException
- Description copied from class:
AbstractEnumerationValue
- Serialization support: resolves instance written to stream to the
equivalent instance in getEnumValues () using equals (). Superclasses
that wish to use this feature must override this method and call
super.readResolve ().
- Overrides:
readResolve
in class AbstractEnumerationValue
- Throws:
InvalidObjectException
- if value could not be resolved
to a valid entry in the list of enum values.
Copyright © 2008 Commonwealth of Australia