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

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


org.drools.brms.client.modeldriven.ui
Class DSLSentenceWidget

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.modeldriven.ui.DSLSentenceWidget
All Implemented Interfaces:
com.google.gwt.user.client.EventListener

public class DSLSentenceWidget
extends com.google.gwt.user.client.ui.Composite

This displays a widget to edit a DSL sentence.

Author:
Michael Neale

Constructor Summary
DSLSentenceWidget(DSLSentence sentence)
           
 
Method Summary
 void makeWidgets(String dslLine)
          This will take a DSL line item, and split it into widget thingamies for displaying.
protected  void updateSentence()
          This will go through the widgets and build up a sentence.
 
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

DSLSentenceWidget

public DSLSentenceWidget(DSLSentence sentence)
Method Detail

makeWidgets

public void makeWidgets(String dslLine)
This will take a DSL line item, and split it into widget thingamies for displaying. One day, if this is too complex, this will have to be done on the server side.


updateSentence

protected void updateSentence()
This will go through the widgets and build up a sentence.



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