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 DATEFROMIDRECIPIENTSIZESTATUS_ARCHIVEDSTATUS_ATTACHMENTSTATUS_DRAFTSTATUS_NEWSUBJECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TableCellEditorgetCellEditor()TableCellRenderergetCellRenderer()Class<?>getColumnClass()StringgetColumnId()StringgetColumnName()ComparatorgetComparator()booleanisEditable()booleanisHideable()booleanisSortable()booleanisVisibleByDefault()static MailTable.ColumnvalueOf(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:
getCellEditorin interfaceAbstractTable.Column
-
getCellRenderer
public TableCellRenderer getCellRenderer()
- Specified by:
getCellRendererin interfaceAbstractTable.Column
-
getColumnClass
public Class<?> getColumnClass()
- Specified by:
getColumnClassin interfaceAbstractTable.Column
-
getColumnName
public String getColumnName()
- Specified by:
getColumnNamein interfaceAbstractTable.Column
-
getColumnId
public String getColumnId()
- Specified by:
getColumnIdin interfaceAbstractTable.Column
-
getComparator
public Comparator getComparator()
- Specified by:
getComparatorin interfaceAbstractTable.Column
-
isEditable
public boolean isEditable()
- Specified by:
isEditablein interfaceAbstractTable.Column
-
isHideable
public boolean isHideable()
- Specified by:
isHideablein interfaceAbstractTable.Column
-
isSortable
public boolean isSortable()
- Specified by:
isSortablein interfaceAbstractTable.Column
-
isVisibleByDefault
public boolean isVisibleByDefault()
- Specified by:
isVisibleByDefaultin interfaceAbstractTable.Column
-
-