Package org.exoplatform.webui.core
Class UIGrid
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIGrid
- Direct Known Subclasses:
UIFormGrid
Created by The eXo Platform SARL Author : Tuan Nguyen tuan08@users.sourceforge.net May 7, 2006
A grid element (represented by an HTML table) that can be paginated with a UIPageIterator
A grid element (represented by an HTML table) that can be paginated with a UIPageIterator
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]An array of String representing the actions on each beanprotected String[]An array of String representing the fields in each beanprotected StringThe bean field that holds the id of this beanprotected intprotected Stringprotected UIPageIteratorThe page iteratorprotected booleanFields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindComponentById(String lookupId) String[]String[]getBeanIdFor(Object bean) List<?> getBeans()intgetFieldValue(Object bean, String field) getLabel()booleanvoidsetDisplayedChars(int displayedChars) voidvoidsetUseAjax(boolean value) Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, findComponentOfType, findFirstComponentOfType, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
Field Details
-
uiIterator_
The page iterator -
beanIdField_
The bean field that holds the id of this bean -
beanField_
An array of String representing the fields in each bean -
action_
An array of String representing the actions on each bean -
label_
-
useAjax
protected boolean useAjax -
displayedChars_
protected int displayedChars_
-
-
Constructor Details
-
UIGrid
- Throws:
Exception
-
-
Method Details
-
getUIPageIterator
-
configure
-
getBeanIdField
-
getBeanFields
-
getBeanActions
-
getBeans
- Throws:
Exception
-
getLabel
-
setLabel
-
getFieldValue
- Throws:
Exception
-
getBeanIdFor
- Throws:
Exception
-
findComponentById
- Overrides:
findComponentByIdin classUIComponent
-
isUseAjax
public boolean isUseAjax() -
setUseAjax
public void setUseAjax(boolean value) -
getDisplayedChars
public int getDisplayedChars() -
setDisplayedChars
public void setDisplayedChars(int displayedChars)
-