|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Design model for the ListControl
Method Summary | |
int |
getCellPadding()
Returns the cell padding for the list cells |
int |
getCellSpacing()
Returns the cell spacing for the list cells |
java.lang.String |
getEmptyText()
A text that is output in the body of the list element if there are no lines available |
int |
getHeaderHeight()
Returns the height of the header (pixel) |
int |
getMinRowCount()
Returns the minimal number of rows which should be displayed(rendered) by the control. |
int |
getPageButtons()
Returns the number of page buttons to displayed. |
int |
getRowCount()
Returns the number of rows which should be displayed(rendered) by the control. |
int |
getRowHeight()
Returns the height of a row (pixel) |
SelectMode |
getSelectMode()
Specifies the selection mode of the list. |
OrientationType |
getTabOrientation()
Retrieves the tabulator orientation |
java.lang.String |
getTitle()
Returns the Title |
void |
setCellPadding(int padding)
Sets the cell padding for the list cells |
void |
setCellSpacing(int spacing)
Sets the cell spacing for the list cells |
void |
setEmptyText(java.lang.String emptyText)
Sets the text that is output in the body of the list element if there are no lines available |
void |
setMinRowCount(int rows)
This attribute is used to specify the minimum number of lines that are depicted simultaneously. |
void |
setPageButtons(int buttons)
Specifies the number of buttons that should be displayed for direct page navigation. |
void |
setRowCount(int rows)
This attribute is used to specify the maximum number of lines that are depicted simultaneously. |
void |
setSelectMode(SelectMode mode)
Sets the selection mode of the list. |
void |
setShowFrame(boolean show)
Disables the lists frame |
void |
setShowHeader(boolean showHeader)
This flag allows to hide the header within the list. |
void |
setTabOrientation(OrientationType orientation)
Specifies the tabulator orientation: horizontal = from top to bottom vertical = from left to right |
void |
setTitle(java.lang.String title)
Sets the title of the ListControl which is display in the Header |
boolean |
showFrame()
|
boolean |
showHeader()
Returns if the header of the control is suppressed |
Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel |
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth |
Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.ScrollSupport |
getScrollHeight, setScrollHeight |
Methods inherited from interface com.cc.framework.ui.model.ColumnContainer |
addColumn, getColumn, getColumns, removeColumn, size |
Methods inherited from interface com.cc.framework.ui.model.FrameContainer |
addInnerFrame, getImage, getInnerFrames, setImage |
Methods inherited from interface com.cc.framework.ui.model.ButtonContainer |
getButtonPermission, setButtonPermission, showButton |
Method Detail |
public int getRowCount()
public void setRowCount(int rows)
rows
- Number of linespublic int getMinRowCount()
public void setMinRowCount(int rows)
rows
- Number of linespublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The main title of the controlpublic java.lang.String getEmptyText()
public void setEmptyText(java.lang.String emptyText)
emptyText
- The text that is output in the body of the list element if
there are no lines availablepublic int getHeaderHeight()
public int getRowHeight()
public SelectMode getSelectMode()
public void setSelectMode(SelectMode mode)
mode
- the selection modepublic int getPageButtons()
public void setPageButtons(int buttons)
buttons
- Button countpublic void setShowFrame(boolean show)
show
- true
if the lists frame should be shownpublic boolean showFrame()
true
if the frame should be shownpublic void setShowHeader(boolean showHeader)
showHeader
- If set to false the header of the control will be suppressedpublic boolean showHeader()
false
if the header of the control is suppressed;
true
otherwise.public void setCellSpacing(int spacing)
spacing
- Spacing factorpublic int getCellSpacing()
public void setCellPadding(int padding)
padding
- Padding factorpublic int getCellPadding()
public void setTabOrientation(OrientationType orientation)
orientation
- The tabulator orientationpublic OrientationType getTabOrientation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |