|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITable
Platform and technology independent Table definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
JTable
Field Summary |
---|
Fields inherited from interface javax.rad.ui.control.INavigationControl |
---|
NAVIGATION_CELL_AND_FOCUS, NAVIGATION_CELL_AND_ROW_AND_FOCUS, NAVIGATION_NONE, NAVIGATION_ROW_AND_FOCUS |
Method Summary | |
---|---|
ColumnView |
getColumnView()
Returns the ColumnView displayed by this control. |
int |
getMaxRowHeight()
Gets the max row height for automatic calculation. |
int |
getMinRowHeight()
Gets the min row height for automatic calculation. |
int |
getRowHeight()
Gets the row height. |
TranslationMap |
getTranslation()
Gets the translation for this table. |
boolean |
isAutoResize()
Gets true, if the ITable is in auto resize mode. |
boolean |
isEditable()
Gets if editable or not. |
boolean |
isShowFocusRect()
Gets if showing the focus rect or not. |
boolean |
isShowHorizontalLines()
Gets if showing the vertical lines or not. |
boolean |
isShowSelection()
Gets if showing the selection or not. |
boolean |
isShowVerticalLines()
Gets if showing the vertical lines or not. |
boolean |
isSortOnHeaderEnabled()
Gets true, if it is possible sorting the data by clicking on the header. |
boolean |
isTableHeaderVisible()
Gets the visibility of the table header. |
void |
setAutoResize(boolean pAutoResize)
Sets true, if the ITable is in auto resize mode. |
void |
setColumnView(ColumnView pColumnView)
Sets the ColumnView displayed by this control. |
void |
setEditable(boolean pEditable)
Sets if editable or not. |
void |
setMaxRowHeight(int pMaxRowHeight)
Sets the max row height for automatic calculation. |
void |
setMinRowHeight(int pMinRowHeight)
Sets the min row height for automatic calculation. |
void |
setRowHeight(int pRowHeight)
Sets the row height. |
void |
setShowFocusRect(boolean pShowFocusRect)
Sets if showing the focus rect or not. |
void |
setShowHorizontalLines(boolean pShowHorizontalLines)
Sets if showing the vertical lines or not. |
void |
setShowSelection(boolean pShowSelection)
Sets if showing the selection or not. |
void |
setShowVerticalLines(boolean pShowVerticalLines)
Sets if showing the vertical lines or not. |
void |
setSortOnHeaderEnabled(boolean pSortOnHeaderEnabled)
Set true, if it should possible sorting the data by clicking on the header. |
void |
setTableHeaderVisible(boolean pTableHeaderVisible)
Sets the visibility of the table header. |
void |
setTranslation(TranslationMap pTranslation)
Sets the translation for this table. |
Methods inherited from interface javax.rad.ui.IResource |
---|
getResource |
Methods inherited from interface javax.rad.model.ui.ITableControl |
---|
getDataBook, setDataBook, startEditing |
Methods inherited from interface javax.rad.model.ui.IControl |
---|
cancelEditing, notifyRepaint, saveEditing |
Methods inherited from interface javax.rad.ui.control.INavigationControl |
---|
getEnterNavigationMode, getTabNavigationMode, setEnterNavigationMode, setTabNavigationMode |
Methods inherited from interface javax.rad.ui.control.ICellFormatable |
---|
getCellFormatter, setCellFormatter |
Method Detail |
---|
ColumnView getColumnView()
setColumnView(javax.rad.model.ColumnView)
void setColumnView(ColumnView pColumnView)
pColumnView
- the ColumnViewgetColumnView()
boolean isAutoResize()
void setAutoResize(boolean pAutoResize)
pAutoResize
- true, if the ITable is in auto resize mode.int getRowHeight()
void setRowHeight(int pRowHeight)
pRowHeight
- the row height.int getMinRowHeight()
void setMinRowHeight(int pMinRowHeight)
pMinRowHeight
- the min row height for automatic calculation.int getMaxRowHeight()
void setMaxRowHeight(int pMaxRowHeight)
pMaxRowHeight
- the max row height for automatic calculation.boolean isTableHeaderVisible()
void setTableHeaderVisible(boolean pTableHeaderVisible)
pTableHeaderVisible
- the visibility of the table header.boolean isSortOnHeaderEnabled()
void setSortOnHeaderEnabled(boolean pSortOnHeaderEnabled)
pSortOnHeaderEnabled
- true, if it is possible sorting the data by clicking on the header.boolean isEditable()
void setEditable(boolean pEditable)
pEditable
- if editable or not.void setTranslation(TranslationMap pTranslation)
setTranslation
in interface ITranslatable
pTranslation
- the translation mappingTranslationMap getTranslation()
getTranslation
in interface ITranslatable
boolean isShowSelection()
void setShowSelection(boolean pShowSelection)
pShowSelection
- showing the selection or not.boolean isShowFocusRect()
void setShowFocusRect(boolean pShowFocusRect)
pShowFocusRect
- showing the focus rect or not.boolean isShowVerticalLines()
void setShowVerticalLines(boolean pShowVerticalLines)
pShowVerticalLines
- showing the vertical lines or not.boolean isShowHorizontalLines()
void setShowHorizontalLines(boolean pShowHorizontalLines)
pShowHorizontalLines
- showing the vertical lines or not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |