Package be.gaudry.swing.edu.tablemodel
Enum Class QuotationsTableModel.EModelStructure
java.lang.Object
java.lang.Enum<QuotationsTableModel.EModelStructure>
be.gaudry.swing.edu.tablemodel.QuotationsTableModel.EModelStructure
- All Implemented Interfaces:
Serializable
,Comparable<QuotationsTableModel.EModelStructure>
,Constable
- Enclosing class:
- QuotationsTableModel
public static enum QuotationsTableModel.EModelStructure
extends Enum<QuotationsTableModel.EModelStructure>
- Since:
- 1.0 13 févr. 2009, 1.0.1-SNAPSHOT (Feb 13 2009)
- Author:
- Steph GAUDRY
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromInt(int i)
int
Returns the enum constant of this class with the specified name.static QuotationsTableModel.EModelStructure[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATE
-
QUOTATION_VALUE
-
MAX
-
COMMENT
-
ID
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getItemClass
- Returns:
- the itemClass
-
getColumnIndex
public int getColumnIndex()- Returns:
- the columnIndex
-
getColumnName
- Returns:
- the localized columnName
-
fromInt
- Parameters:
i
- column index- Returns:
- EModelStructure matching with the column index or null if nothing matches
-