当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
AssetItemListViewer (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.brms.client.rulelist
Class AssetItemListViewer
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.drools.brms.client.rulelist.AssetItemListViewer
- All Implemented Interfaces:
- com.google.gwt.user.client.EventListener
public class AssetItemListViewer
- extends com.google.gwt.user.client.ui.Composite
This is a viewer for viewing a list of rules for editing/selection.
This uses the sortable table widget, and can be re-used with different data sets.
(ie no need to throw is away).
Method Summary |
void |
loadTableData(TableDataResult data)
This will create a table, and load the data, wrapping it in a scrolling area. |
void |
setRefreshCommand(com.google.gwt.user.client.Command refreshCom)
Optionally set the refresh command to repopulate the list on demand. |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
getElement, initWidget, onAttach, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
getParent, isAttached, onBrowserEvent, onLoad, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
RULE_LIST_TABLE_ID
public static final String RULE_LIST_TABLE_ID
- See Also:
- Constant Field Values
AssetItemListViewer
public AssetItemListViewer(EditItemEvent event)
setRefreshCommand
public void setRefreshCommand(com.google.gwt.user.client.Command refreshCom)
- Optionally set the refresh command to repopulate the list on demand.
- Parameters:
refreshCom
-
loadTableData
public void loadTableData(TableDataResult data)
- This will create a table, and load the data, wrapping it in a scrolling area.
If the data is null, it will just fill it in with something empty
so it looks busy.
This could probably clear the table, but I just throw it away
let the garbage collector do the hard work.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.