|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.mdl.table.XMATableColumn
This class is a data object to specify information pertaining to columns of table widget models.
| Nested Class Summary | |
static interface |
XMATableColumn.AtomComparator
This interace is used to implement a costum comparator for an XMATableColumn. |
| Constructor Summary | |
XMATableColumn(TableWMClient table)
Constructs the information necessary to describe a column of table widget model. |
|
| Method Summary | |
XMATableColumn.AtomComparator |
getComparator()
|
at.spardat.enterprise.fmt.IFmt |
getFormatter()
Returns the formatter set or null if none has been set. |
boolean |
isSortable()
Returns if this column is sortable. |
boolean |
isVisible()
Returns true if this column is visible. |
void |
setComparator(XMATableColumn.AtomComparator comparator)
Sets an AtomComparator for the client side sorting of the XMATableColumn. |
void |
setFormatter(at.spardat.enterprise.fmt.IFmt formatter)
Sets the formatter for a particular column |
void |
setSortable(boolean b)
Sets whether this column is sortable |
void |
setVisible(boolean b)
Sets the visibility state of this column. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMATableColumn(TableWMClient table)
| Method Detail |
public void setFormatter(at.spardat.enterprise.fmt.IFmt formatter)
formatter - will be used to render the string representations of the column
cells. This parameter may be null.public at.spardat.enterprise.fmt.IFmt getFormatter()
public boolean isSortable()
public void setSortable(boolean b)
public boolean isVisible()
public void setVisible(boolean b)
b - the boolean which indicates the visibility state.public XMATableColumn.AtomComparator getComparator()
public void setComparator(XMATableColumn.AtomComparator comparator)
comparator - The comparator_ to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||