|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.Component
org.olat.core.gui.components.table.Table
public class Table
Description:
a table. 1.) set column descriptors 2.) generate a tabledatamodel with valid
datas 3.) do table.setTableDataModel(tdm); this inits and sorts the table
| Field Summary | |
|---|---|
static java.lang.String |
COMMAND_MULTISELECT
TableMultiSelectEvent command identifier. |
static java.lang.String |
COMMANDLINK_ROWACTION_CLICKED
Table row selection. |
| Method Summary | |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
|
void |
enableShowAllLink(boolean enableShowAllLinkValue)
|
TableDataModel |
getFilteredTableDataModel()
|
ComponentRenderer |
getHTMLRendererSingleton()
|
java.lang.String |
getSearchString()
|
int |
getSortedRow(int originalRow)
serves a purpose: it maps from the rowid in the gui (first row = 0, second = 1 and so on) to the corresponding row in the tabledatamodel getSortedRow(guirow) is used by the columnDescriptors: public String getRenderValue(int row).. |
TableDataModel |
getTableDataModel()
|
int |
getUnfilteredRowCount()
|
TableDataModel |
getUnfilteredTableDataModel()
|
boolean |
isShowAllLinkEnabled()
|
boolean |
isShowAllSelected()
|
boolean |
isSortableColumnIn(java.util.List selRows)
|
boolean |
isSortAscending()
* used by renderer only |
boolean |
isSortingEnabled()
|
boolean |
isTableFiltered()
|
void |
setSearchString(java.lang.String tableSearchString)
|
void |
setShowAllSelected(boolean isShowAllSelected)
|
void |
validate(UserRequest ureq,
ValidationResult vr)
called just before the rendering of the -whole tree- takes place, so e.g. |
| Methods inherited from class org.olat.core.gui.components.Component |
|---|
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Field Detail |
|---|
public static final java.lang.String COMMAND_MULTISELECT
public static final java.lang.String COMMANDLINK_ROWACTION_CLICKED
| Method Detail |
|---|
public int getSortedRow(int originalRow)
originalRow -
public TableDataModel getTableDataModel()
public TableDataModel getUnfilteredTableDataModel()
public TableDataModel getFilteredTableDataModel()
public int compare(java.lang.Object a,
java.lang.Object b)
compare in interface java.util.ComparatorComparator.compare(java.lang.Object, java.lang.Object)public boolean isSortAscending()
public boolean isSortingEnabled()
public boolean isSortableColumnIn(java.util.List selRows)
selRows -
public ComponentRenderer getHTMLRendererSingleton()
getHTMLRendererSingleton in class Component
public void validate(UserRequest ureq,
ValidationResult vr)
Component
validate in class Componentpublic boolean isShowAllSelected()
public void setShowAllSelected(boolean isShowAllSelected)
public void enableShowAllLink(boolean enableShowAllLinkValue)
public boolean isShowAllLinkEnabled()
public int getUnfilteredRowCount()
public void setSearchString(java.lang.String tableSearchString)
public java.lang.String getSearchString()
public boolean isTableFiltered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||