com.sapportals.htmlb.enum

Class Enum

java.lang.Object
  extended bycom.sapportals.htmlb.enum.Enum
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BreadCrumbBehavior, BreadCrumbSize, BrowserType, ButtonDesign, CellHAlign, CellVAlign, ChartColorOrder, ChartLegendPosition, ChartType, DataType, DropdownListBoxDesign, DropTargetDesign, EventTrigger, GroupDesign, HoverMenuTrigger, HtmlDocTypes, InputFieldDesign, LinkDesign, MessageType, ProgressIndicatorBarColor, ResourceType, Scope, Scrolling, TableCellStyle, TableColumnType, TableNavigationMode, TableSelectionMode, TableSortState, TableViewDesign, TextViewDesign, TextViewLayout, TextWrapping, ToolbarDesign, TrayDesign

public class Enum
extends Object
implements Serializable

Base class for enumeration types

Enumeration types must provide a constructor with at least a String argument. The String should be identical to the name of the public final static instance.

Copyright 2004 SAP AG

See Also:
Serialized Form

Nested Class Summary
protected static class Enum.StringEnumeration
           
 
Constructor Summary
protected Enum(String value)
          construct a new Enumeration object with a specified name
 
Method Summary
 String getStringValue()
          get the String name associated with the enumerator
 String toString()
          get the String name associated with the enumerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Enum

protected Enum(String value)
construct a new Enumeration object with a specified name

Parameters:
value - a String identifying the enumerator
Method Detail

getStringValue

public String getStringValue()
get the String name associated with the enumerator

Returns:
the name used in the constructor.

toString

public String toString()
get the String name associated with the enumerator

Returns:
the name used in the constructor.


Copyright 2006 SAP AG Complete Copyright Notice