|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColumnDescriptor
Description:
TODO: Class Description for ColumnDescriptor
| Field Summary | |
|---|---|
static int |
ALIGNMENT_CENTER
means text output of this column should be centered |
static int |
ALIGNMENT_LEFT
means text output of this column should be aligned to the left (default) |
static int |
ALIGNMENT_RIGHT
means text output of this column should be aligned to the right |
| Method Summary | |
|---|---|
int |
compareTo(int rowa,
int rowb)
|
java.lang.String |
getAction(int row)
gets the action code for the column, null if no action |
int |
getAlignment()
|
java.lang.String |
getHeaderKey()
|
HrefGenerator |
getHrefGenerator()
|
java.lang.String |
getPopUpWindowAttributes()
|
boolean |
isPopUpWindowAction()
|
boolean |
isSortingAllowed()
|
void |
modelChanged()
called by the table if the model has changed. |
void |
otherColumnDescriptorSorted()
called when this columnDescriptor is not being sorted by the user, but another columnDescriptor. |
void |
renderValue(StringOutput sb,
int row,
Renderer renderer)
|
void |
setHrefGenerator(HrefGenerator h)
|
void |
setTable(Table table)
|
void |
sortingAboutToStart()
called before the actual sorting calls with compareTo(int rowa, int rowb) take place |
java.lang.String |
toString(int rowid)
String represenation of the value at specified row |
boolean |
translateHeaderKey()
|
| Field Detail |
|---|
static final int ALIGNMENT_RIGHT
static final int ALIGNMENT_CENTER
static final int ALIGNMENT_LEFT
| Method Detail |
|---|
java.lang.String getHeaderKey()
boolean translateHeaderKey()
true if the header key should be translated by the
renderer, otherwise falseint getAlignment()
void renderValue(StringOutput sb,
int row,
Renderer renderer)
sb - row - renderer - the Renderer. if null this means that the renderValue
should be in plain text (e.g. for excel download)
int compareTo(int rowa,
int rowb)
rowa - rowb -
void setTable(Table table)
table - the backreference to the tablejava.lang.String getAction(int row)
row - the current row
void modelChanged()
void sortingAboutToStart()
void otherColumnDescriptorSorted()
boolean isSortingAllowed()
boolean isPopUpWindowAction()
java.lang.String getPopUpWindowAttributes()
void setHrefGenerator(HrefGenerator h)
h - HrefGenerator getHrefGenerator()
java.lang.String toString(int rowid)
rowid -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||