|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mov.ui.Column
public class Column
Representation of a column in a table.
AbstractTableModel
Field Summary | |
---|---|
static int |
ALWAYS_HIDDEN
The column is always hidden. |
static int |
HIDDEN
The column is currently hidden. |
static int |
VISIBLE
The column is currently visible. |
Constructor Summary | |
---|---|
Column(int number,
java.lang.String fullName,
java.lang.String shortName,
java.lang.Class type,
int visible)
Create a new column. |
Method Summary | |
---|---|
java.lang.String |
getFullName()
Get the full name of the column. |
int |
getNumber()
Get the column number. |
java.lang.String |
getShortName()
Get the short name of the column. |
java.lang.Class |
getType()
Get the data type of the data in the column. |
int |
getVisible()
Return whether the column is visible. |
void |
setFullName(java.lang.String name)
Set the full name of the column. |
void |
setShortName(java.lang.String name)
Set the short name of the column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HIDDEN
public static final int VISIBLE
public static final int ALWAYS_HIDDEN
Constructor Detail |
---|
public Column(int number, java.lang.String fullName, java.lang.String shortName, java.lang.Class type, int visible)
number
- The column numberfullName
- The full name of the column which appears in menus etc.shortName
- The short name of the column which appears in the table header.type
- Data type displayed in column.visible
- Either HIDDEN
, VISIBLE
or ALWAYS_HIDDEN
.Method Detail |
---|
public int getNumber()
public java.lang.Class getType()
public void setShortName(java.lang.String name)
name
- New short name of the column.public java.lang.String getShortName()
public void setFullName(java.lang.String name)
name
- New full name of the column.public java.lang.String getFullName()
public int getVisible()
HIDDEN
, VISIBLE
or ALWAYS_HIDDEN
.
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |