org.jboss.errai.widgets.client
Enum WSGrid.GridType

java.lang.Object
  extended by java.lang.Enum<WSGrid.GridType>
      extended by org.jboss.errai.widgets.client.WSGrid.GridType
All Implemented Interfaces:
Serializable, Comparable<WSGrid.GridType>
Enclosing class:
WSGrid

public static enum WSGrid.GridType
extends Enum<WSGrid.GridType>


Enum Constant Summary
EDITABLE_GRID
           
NONEDITABLE_GRID
           
TITLEBAR
           
 
Method Summary
 boolean isEditable()
           
 boolean isTitleGrid()
           
static WSGrid.GridType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WSGrid.GridType[] 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

NONEDITABLE_GRID

public static final WSGrid.GridType NONEDITABLE_GRID

EDITABLE_GRID

public static final WSGrid.GridType EDITABLE_GRID

TITLEBAR

public static final WSGrid.GridType TITLEBAR
Method Detail

values

public static WSGrid.GridType[] 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 (WSGrid.GridType c : WSGrid.GridType.values())
    System.out.println(c);

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

valueOf

public static WSGrid.GridType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isEditable

public boolean isEditable()

isTitleGrid

public boolean isTitleGrid()


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.