Enum MailTable.Column
- java.lang.Object
-
- java.lang.Enum<MailTable.Column>
-
- com.openindex.openestate.tool.mail.MailTable.Column
-
- All Implemented Interfaces:
AbstractTable.Column
,Serializable
,Comparable<MailTable.Column>
- Enclosing class:
- MailTable<R extends MailTable.Row>
public static enum MailTable.Column extends Enum<MailTable.Column> implements AbstractTable.Column
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE
FROM
ID
RECIPIENT
SIZE
STATUS_ARCHIVED
STATUS_ATTACHMENT
STATUS_DRAFT
STATUS_NEW
SUBJECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TableCellEditor
getCellEditor()
TableCellRenderer
getCellRenderer()
Class<?>
getColumnClass()
String
getColumnId()
String
getColumnName()
Comparator
getComparator()
boolean
isEditable()
boolean
isHideable()
boolean
isSortable()
boolean
isVisibleByDefault()
static MailTable.Column
valueOf(String name)
Returns the enum constant of this type with the specified name.static MailTable.Column[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final MailTable.Column ID
-
STATUS_NEW
public static final MailTable.Column STATUS_NEW
-
STATUS_ARCHIVED
public static final MailTable.Column STATUS_ARCHIVED
-
STATUS_DRAFT
public static final MailTable.Column STATUS_DRAFT
-
STATUS_ATTACHMENT
public static final MailTable.Column STATUS_ATTACHMENT
-
SUBJECT
public static final MailTable.Column SUBJECT
-
FROM
public static final MailTable.Column FROM
-
RECIPIENT
public static final MailTable.Column RECIPIENT
-
DATE
public static final MailTable.Column DATE
-
SIZE
public static final MailTable.Column SIZE
-
-
Method Detail
-
values
public static MailTable.Column[] 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 (MailTable.Column c : MailTable.Column.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MailTable.Column 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 nameNullPointerException
- if the argument is null
-
getCellEditor
public TableCellEditor getCellEditor()
- Specified by:
getCellEditor
in interfaceAbstractTable.Column
-
getCellRenderer
public TableCellRenderer getCellRenderer()
- Specified by:
getCellRenderer
in interfaceAbstractTable.Column
-
getColumnClass
public Class<?> getColumnClass()
- Specified by:
getColumnClass
in interfaceAbstractTable.Column
-
getColumnName
public String getColumnName()
- Specified by:
getColumnName
in interfaceAbstractTable.Column
-
getColumnId
public String getColumnId()
- Specified by:
getColumnId
in interfaceAbstractTable.Column
-
getComparator
public Comparator getComparator()
- Specified by:
getComparator
in interfaceAbstractTable.Column
-
isEditable
public boolean isEditable()
- Specified by:
isEditable
in interfaceAbstractTable.Column
-
isHideable
public boolean isHideable()
- Specified by:
isHideable
in interfaceAbstractTable.Column
-
isSortable
public boolean isSortable()
- Specified by:
isSortable
in interfaceAbstractTable.Column
-
isVisibleByDefault
public boolean isVisibleByDefault()
- Specified by:
isVisibleByDefault
in interfaceAbstractTable.Column
-
-