com.alibaba.dubbo.qos.textui
Enum TTable.Align

java.lang.Object
  extended by java.lang.Enum<TTable.Align>
      extended by com.alibaba.dubbo.qos.textui.TTable.Align
All Implemented Interfaces:
Serializable, Comparable<TTable.Align>
Enclosing class:
TTable

public static enum TTable.Align
extends Enum<TTable.Align>

对齐方向


Enum Constant Summary
LEFT
          左对齐
MIDDLE
          居中对齐
RIGHT
          右对齐
 
Method Summary
static TTable.Align valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TTable.Align[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEFT

public static final TTable.Align LEFT
左对齐


RIGHT

public static final TTable.Align RIGHT
右对齐


MIDDLE

public static final TTable.Align MIDDLE
居中对齐

Method Detail

values

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

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

valueOf

public static TTable.Align 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


Copyright © 2012–2017 Alibaba. All rights reserved.