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 TableCellEditor
getCellEditor()
TableCellRenderer
getCellRenderer()
Class<?>
getColumnClass()
String
getColumnId()
String
getColumnName()
Comparator
getComparator()
boolean
isEditable()
boolean
isHideable()
boolean
isSortable()
boolean
isVisibleByDefault()
static NewsEntryTable.Column
valueOf(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:
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
-
-