org.kuali.student.common.ui.client.widgets.rules
Class RuleTableManipulationWidget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
org.kuali.student.common.ui.client.widgets.rules.RuleTableManipulationWidget
- All Implemented Interfaces:
- com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.InsertPanel, Iterable<com.google.gwt.user.client.ui.Widget>
public class RuleTableManipulationWidget
- extends com.google.gwt.user.client.ui.FlowPanel
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
add, clear, insert |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
adopt, adopt, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
getWidget, getWidgetCount, getWidgetIndex, remove |
btnMakeOR
private KSButton btnMakeOR
btnMakeAND
private KSButton btnMakeAND
btnAddToGroup
private KSButton btnAddToGroup
btnMoveRuleDown
private KSButton btnMoveRuleDown
btnMoveRuleUp
private KSButton btnMoveRuleUp
btnUndo
private KSButton btnUndo
btnRedo
private KSButton btnRedo
btnDelete
private KSButton btnDelete
separator1
private SpanPanel separator1
separator2
private SpanPanel separator2
topButtonsPanel
private com.google.gwt.user.client.ui.FlowPanel topButtonsPanel
ruleTablePanel
private com.google.gwt.user.client.ui.FlowPanel ruleTablePanel
twiddler
private KSProgressIndicator twiddler
ruleTable
private RuleTable ruleTable
ruleTableSelectionHandler
private com.google.gwt.event.dom.client.ClickHandler ruleTableSelectionHandler
ruleTableEditClauseHandler
private com.google.gwt.event.dom.client.ClickHandler ruleTableEditClauseHandler
textClickHandler
private com.google.gwt.event.shared.HandlerRegistration textClickHandler
rule
private RuleInfo rule
reqCompEditCallback
private Callback reqCompEditCallback
ruleChangedCallback
private Callback ruleChangedCallback
isEnabled
private boolean isEnabled
isOperatorChecked
private boolean isOperatorChecked
RuleTableManipulationWidget
public RuleTableManipulationWidget()
setupHandlers
private void setupHandlers()
redraw
public void redraw()
redraw
public void redraw(StatementTreeViewInfo stmtTreeInfo,
boolean newRule,
Boolean ruleChanged)
updateTable
private void updateTable()
showRuleBeforeSimplify
private void showRuleBeforeSimplify(StatementVO unsimplified)
setEnabledView
public void setEnabledView(boolean enabled)
setEnableButtons
public void setEnableButtons(boolean enabled)
isAbletoMoveReqComp
private boolean isAbletoMoveReqComp()
isMatchingOperandSelected
private boolean isMatchingOperandSelected(int type)
isAbleToDelete
private boolean isAbleToDelete()
createButtonsPanel
private void createButtonsPanel()
getRule
public RuleInfo getRule()
setRule
public void setRule(RuleInfo rule)
addReqCompEditButtonClickCallback
public void addReqCompEditButtonClickCallback(Callback<ReqComponentInfo> callback)
addRuleChangedButtonClickCallback
public void addRuleChangedButtonClickCallback(Callback<Boolean> callback)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.