当前页面:
在线文档首页 >
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
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.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
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 |
DSLSentenceWidget
public DSLSentenceWidget(DSLSentence sentence)
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.