org.jboss.errai.widgets.client
Enum WSGrid.GridType
java.lang.Object
java.lang.Enum<WSGrid.GridType>
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>
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
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.