当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
AssetCategoryEditor (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.brms.client.ruleeditor
Class AssetCategoryEditor
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.common.DirtyableComposite
org.drools.brms.client.ruleeditor.AssetCategoryEditor
- All Implemented Interfaces:
- com.google.gwt.user.client.EventListener, IDirtyable
public class AssetCategoryEditor
- extends DirtyableComposite
This is a viewer/editor for categories.
It will show a list of categories currently applicable, and allow you to
remove/add to them.
It is intended to work with the meta data form.
- Author:
- Michael Neale
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 |
AssetCategoryEditor
public AssetCategoryEditor(MetaData d,
boolean readOnly)
- Parameters:
d
- The meta data.readOnly
- If it is to be non editable.change
- This will be called when a change is made (data in MetaData will be changed).
removeCategory
protected void removeCategory(int idx)
addToCategory
public void addToCategory(String selectedPath)
- Appy the change (selected path to be added).
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.