Enum CometTableLayoutRule.RuleTarget
- java.lang.Object
-
- java.lang.Enum<CometTableLayoutRule.RuleTarget>
-
- com.priint.pubserver.comet.entity.table.CometTableLayoutRule.RuleTarget
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CometTableLayoutRule.RuleTarget>
- Enclosing class:
- CometTableLayoutRule
public static enum CometTableLayoutRule.RuleTarget extends java.lang.Enum<CometTableLayoutRule.RuleTarget>
The Enum RuleTarget.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.java.lang.StringgetIdentifier()Gets the identifier.static CometTableLayoutRule.RuleTargetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CometTableLayoutRule.RuleTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final CometTableLayoutRule.RuleTarget TABLE
The table.
-
CELLS
public static final CometTableLayoutRule.RuleTarget CELLS
The cells.
-
CELL
public static final CometTableLayoutRule.RuleTarget CELL
The cell.
-
COLUMN
public static final CometTableLayoutRule.RuleTarget COLUMN
The column.
-
ROW
public static final CometTableLayoutRule.RuleTarget ROW
The row.
-
CELLLEFT
public static final CometTableLayoutRule.RuleTarget CELLLEFT
The cellleft.
-
CELLABOVE
public static final CometTableLayoutRule.RuleTarget CELLABOVE
The cellabove.
-
BLOCK
public static final CometTableLayoutRule.RuleTarget BLOCK
The block.
-
ALLCELLS
public static final CometTableLayoutRule.RuleTarget ALLCELLS
The allcells.
-
-
Method Detail
-
values
public static CometTableLayoutRule.RuleTarget[] 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 (CometTableLayoutRule.RuleTarget c : CometTableLayoutRule.RuleTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CometTableLayoutRule.RuleTarget 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 namejava.lang.NullPointerException- if the argument is null
-
getIdentifier
public java.lang.String getIdentifier()
Gets the identifier.- Returns:
- the identifier
-
getDescription
public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
-