站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

CategoryExplorerWidget (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.client.categorynav
Class CategoryExplorerWidget

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.categorynav.CategoryExplorerWidget
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.TreeListener

public class CategoryExplorerWidget
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.user.client.ui.TreeListener

This is a rule/resource navigator that uses the server side categories to navigate the repository. Uses the the Tree widget.


Constructor Summary
CategoryExplorerWidget(CategorySelectHandler handler)
          Create a new cat explorer.
 
Method Summary
 String getSelectedPath()
           
 void onTreeItemSelected(com.google.gwt.user.client.ui.TreeItem item)
           
 void onTreeItemStateChanged(com.google.gwt.user.client.ui.TreeItem item)
           
 void refresh()
          This refreshes the view.
 void setTreeSize(String width)
           
 void showEmptyTree()
           
 
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

CategoryExplorerWidget

public CategoryExplorerWidget(CategorySelectHandler handler)
Create a new cat explorer.

Parameters:
handler -
Method Detail

setTreeSize

public void setTreeSize(String width)

refresh

public void refresh()
This refreshes the view.


showEmptyTree

public void showEmptyTree()

onTreeItemSelected

public void onTreeItemSelected(com.google.gwt.user.client.ui.TreeItem item)
Specified by:
onTreeItemSelected in interface com.google.gwt.user.client.ui.TreeListener

onTreeItemStateChanged

public void onTreeItemStateChanged(com.google.gwt.user.client.ui.TreeItem item)
Specified by:
onTreeItemStateChanged in interface com.google.gwt.user.client.ui.TreeListener

getSelectedPath

public String getSelectedPath()


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.