站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.drools.brms.client.common.DirtyableComposite
                  extended by 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

Constructor Summary
AssetCategoryEditor(MetaData d, boolean readOnly)
           
 
Method Summary
 void addToCategory(String selectedPath)
          Appy the change (selected path to be added).
protected  void removeCategory(int idx)
           
 
Methods inherited from class org.drools.brms.client.common.DirtyableComposite
isDirty, makeDirty, resetDirty
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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).
Method Detail

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.