Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)

com.lapetus_ltd._2009.xml.types
Enum XLptsButtonDisplayType

java.lang.Object
  extended by java.lang.Enum<XLptsButtonDisplayType>
      extended by com.lapetus_ltd._2009.xml.types.XLptsButtonDisplayType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XLptsButtonDisplayType>

public enum XLptsButtonDisplayType
extends java.lang.Enum<XLptsButtonDisplayType>

Java class for XLptsButtonDisplayType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="XLptsButtonDisplayType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="ONLY_ICON"/>
     <enumeration value="ONLY_TEXT"/>
     <enumeration value="TEXT_AND_ICON"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ONLY_ICON
          Use this to indicate that only ICONS should appear on the db-JAPI GUI buttons.No text will be shown.
ONLY_TEXT
          Use this to indicate that only text should appear on the db-JAPI GUI buttons.
TEXT_AND_ICON
          Use this to indicate that both icons and text should appear on the buttons..
 
Method Summary
static XLptsButtonDisplayType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static XLptsButtonDisplayType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XLptsButtonDisplayType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONLY_ICON

public static final XLptsButtonDisplayType ONLY_ICON
Use this to indicate that only ICONS should appear on the db-JAPI GUI buttons.No text will be shown.


ONLY_TEXT

public static final XLptsButtonDisplayType ONLY_TEXT
Use this to indicate that only text should appear on the db-JAPI GUI buttons. No icon will be visible.


TEXT_AND_ICON

public static final XLptsButtonDisplayType TEXT_AND_ICON
Use this to indicate that both icons and text should appear on the buttons..

Method Detail

fromValue

public static XLptsButtonDisplayType fromValue(java.lang.String v)

value

public java.lang.String value()

valueOf

public static XLptsButtonDisplayType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static XLptsButtonDisplayType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XLptsButtonDisplayType c : XLptsButtonDisplayType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared


Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)