Enum NewsEntryTable.Column
- java.lang.Object
-
- java.lang.Enum<NewsEntryTable.Column>
-
- com.openindex.openestate.tool.news.NewsEntryTable.Column
-
- All Implemented Interfaces:
AbstractTable.Column,Serializable,Comparable<NewsEntryTable.Column>
- Enclosing class:
- NewsEntryTable<R extends NewsEntryTable.Row>
public static enum NewsEntryTable.Column extends Enum<NewsEntryTable.Column> implements AbstractTable.Column
-
-
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 NewsEntryTable.ColumnvalueOf(String name)Returns the enum constant of this type with the specified name.static NewsEntryTable.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 NewsEntryTable.Column ID
-
DATE
public static final NewsEntryTable.Column DATE
-
TITLE
public static final NewsEntryTable.Column TITLE
-
AUTHOR
public static final NewsEntryTable.Column AUTHOR
-
FEED
public static final NewsEntryTable.Column FEED
-
-
Method Detail
-
values
public static NewsEntryTable.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 (NewsEntryTable.Column c : NewsEntryTable.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 NewsEntryTable.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
-
-