|
Guvnor web application Drools 6.0.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.drools.guvnor.client.common.DirtyableComposite
org.drools.guvnor.client.asseteditor.drools.modeldriven.ui.RuleModellerWidget
org.drools.guvnor.client.asseteditor.drools.modeldriven.ui.FactPatternWidget
public class FactPatternWidget
This is the new smart widget that works off the model.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class org.drools.guvnor.client.common.DirtyableComposite |
---|
dirtyflag |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
FactPatternWidget(RuleModeller mod,
com.google.gwt.event.shared.EventBus eventBus,
IPattern p,
boolean canBind)
|
|
FactPatternWidget(RuleModeller ruleModeller,
com.google.gwt.event.shared.EventBus eventBus,
IPattern pattern,
boolean canBind,
Boolean readOnly)
Creates a new FactPatternWidget |
|
FactPatternWidget(RuleModeller mod,
com.google.gwt.event.shared.EventBus eventBus,
IPattern p,
boolean isAll0WithLabel,
boolean canBind,
Boolean readOnly)
|
Method Summary | |
---|---|
boolean |
isDirty()
|
boolean |
isFactTypeKnown()
Does the Fact Type the Widget represents known to the SuggestionCompletionEngine. |
boolean |
isReadOnly()
Dictates if the widget's state is RO or not. |
Methods inherited from class org.drools.guvnor.client.asseteditor.drools.modeldriven.ui.RuleModellerWidget |
---|
addOnModifiedCommand, getEventBus, getModeller, isModified, setModified |
Methods inherited from class org.drools.guvnor.client.common.DirtyableComposite |
---|
getHeight, getWidth, makeDirty, onBrowserEvent, resetDirty |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onDetach, render, render, resolvePotentialElement, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FactPatternWidget(RuleModeller mod, com.google.gwt.event.shared.EventBus eventBus, IPattern p, boolean canBind)
public FactPatternWidget(RuleModeller ruleModeller, com.google.gwt.event.shared.EventBus eventBus, IPattern pattern, boolean canBind, Boolean readOnly)
canBind
- readOnly
- if the widget should be in RO mode. If this parameter is null,
the readOnly attribute is calculated.public FactPatternWidget(RuleModeller mod, com.google.gwt.event.shared.EventBus eventBus, IPattern p, boolean isAll0WithLabel, boolean canBind, Boolean readOnly)
Method Detail |
---|
public boolean isDirty()
isDirty
in interface DirtyableWidget
isDirty
in class DirtyableComposite
public boolean isReadOnly()
RuleModellerWidget
isReadOnly
in class RuleModellerWidget
public boolean isFactTypeKnown()
RuleModellerWidget
isFactTypeKnown
in class RuleModellerWidget
|
Guvnor web application Drools 6.0.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |