dsto.dfc.swing.controls
Class BillBoard.LayoutEnum

java.lang.Object
  extended by dsto.dfc.util.AbstractEnumerationValue
      extended by dsto.dfc.util.StringEnumerationValue
          extended by dsto.dfc.swing.icons.IconicEnumerationValue
              extended by 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

Field Summary
 
Fields inherited from class dsto.dfc.swing.icons.IconicEnumerationValue
icon
 
Fields inherited from class dsto.dfc.util.StringEnumerationValue
name, text
 
Fields inherited from interface dsto.dfc.swing.icons.Iconic
NULL_ICON
 
Constructor Summary
protected BillBoard.LayoutEnum(int layout, int alignment, String desc, Icon icon)
           
 
Method Summary
 int getAlignment()
           
 EnumerationValue[] getEnumValues()
          Get the list of values within the enumeration.
 int getLayout()
           
protected  Object readResolve()
          Serialization support: resolves instance written to stream to the equivalent instance in getEnumValues () using equals ().
 
Methods inherited from class dsto.dfc.swing.icons.IconicEnumerationValue
getIcon, getLargeIcon
 
Methods inherited from class dsto.dfc.util.StringEnumerationValue
equals, findIndex, findValue, getName, getText, hashCode, setName, toString
 
Methods inherited from class dsto.dfc.util.AbstractEnumerationValue
findIndex, findIndex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface dsto.dfc.swing.icons.Iconic
getName
 

Constructor Detail

BillBoard.LayoutEnum

protected BillBoard.LayoutEnum(int layout,
                               int alignment,
                               String desc,
                               Icon icon)
Method Detail

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