|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Column
Name: Column
Description: A class holding definitions of table columns.
Field Summary |
---|
Fields inherited from interface org.ujac.util.table.TableConstants |
---|
DEFAULT_DATE_FORMAT, DEFAULT_DOUBLE_FORMAT, DEFAULT_INTEGER_FORMAT, DEFAULT_TIME_FORMAT, DEFAULT_TIMESTAMP_FORMAT, ROW_TYPE_FOOTER, ROW_TYPE_GROUP, ROW_TYPE_GROUP_TITLE, ROW_TYPE_HEADER, ROW_TYPE_NORMAL |
Fields inherited from interface org.ujac.util.UjacTypes |
---|
TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NAME_BOOLEAN, TYPE_NAME_DATE, TYPE_NAME_DOUBLE, TYPE_NAME_FLOAT, TYPE_NAME_INT, TYPE_NAME_LONG, TYPE_NAME_OBJECT, TYPE_NAME_SHORT, TYPE_NAME_STRING, TYPE_NAME_TABLE, TYPE_NAME_TIME, TYPE_NAME_TIMESTAMP, TYPE_OBJECT, TYPE_SHORT, TYPE_STRING, TYPE_TABLE, TYPE_TIME, TYPE_TIMESTAMP |
Method Summary | |
---|---|
String |
getAlias()
Gets the column alias. |
int |
getDataIndex()
Gets the data index. |
Format |
getFormat()
Gets the colum format. |
int |
getIndex()
Gets the colum index. |
LayoutHints |
getLayoutHints()
Gets the layout hints. |
String |
getName()
Gets the colum name. |
int |
getType()
Gets the colum name. |
String |
getTypeName()
Gets the name of the column type. |
boolean |
isKey()
Tells wheter this column defines a key value or not. |
Column |
setAlias(String alias)
Sets the colum alias. |
Column |
setDataIndex(int dataIndex)
Sets the data index. |
Column |
setFormat(Format format)
Sets the colum format. |
Column |
setFormat(String format)
Sets the colum format. |
Column |
setIndex(int index)
Sets the colum index. |
Column |
setKey(boolean key)
Sets the key flag. |
Column |
setLayoutHints(LayoutHints layoutHints)
Sets the layout hints. |
void |
setType(int typeId)
Sets the colum type. |
Method Detail |
---|
String getName()
boolean isKey()
Column setKey(boolean key)
key
- The key flag to set.
int getType()
void setType(int typeId)
typeId
- The column type to set.String getAlias()
Column setAlias(String alias)
alias
- The new column alias.
Format getFormat()
Column setFormat(Format format)
format
- The new column format.
Column setFormat(String format)
format
- The format string to use.
int getIndex()
Column setIndex(int index)
index
- The new column index.
int getDataIndex()
Column setDataIndex(int dataIndex)
dataIndex
- The new data index.
LayoutHints getLayoutHints()
Column setLayoutHints(LayoutHints layoutHints)
layoutHints
- The layout hints to set.
String getTypeName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |