org.kuali.student.common.ui.client.widgets.rules
Class RuleManageWidget

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by org.kuali.student.common.ui.client.widgets.rules.RuleManageWidget
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 RuleManageWidget
extends com.google.gwt.user.client.ui.FlowPanel


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
private  RuleExpressionEditor editLogic
           
private  RuleTableManipulationWidget editObject
           
private static String logicView
           
private static String objectView
           
private  KSTabPanel panel
           
private  SubrulePreviewWidget preview
           
private static String previewView
           
private  StatementTreeViewInfo rule
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
RuleManageWidget()
           
 
Method Summary
 StatementTreeViewInfo getStatementTreeViewInfo()
           
 void redraw(StatementTreeViewInfo rule, Boolean ruleChanged)
           
 void setEnabled(boolean enabled)
           
 void setReqCompEditButtonClickCallback(Callback<ReqComponentInfo> callback)
           
 void setRuleChangedButtonClickCallback(Callback<Boolean> callback)
           
private  void updateLogicView()
           
protected  void updateObjectRule(RuleInfo rule)
           
private  void updateObjectView(Boolean ruleChanged)
           
private  void updatePreview()
           
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Field Detail

editObject

private RuleTableManipulationWidget editObject

editLogic

private RuleExpressionEditor editLogic

preview

private SubrulePreviewWidget preview

panel

private KSTabPanel panel

rule

private StatementTreeViewInfo rule

objectView

private static final String objectView
See Also:
Constant Field Values

logicView

private static final String logicView
See Also:
Constant Field Values

previewView

private static final String previewView
See Also:
Constant Field Values
Constructor Detail

RuleManageWidget

public RuleManageWidget()
Method Detail

redraw

public void redraw(StatementTreeViewInfo rule,
                   Boolean ruleChanged)

updateObjectView

private void updateObjectView(Boolean ruleChanged)

updateLogicView

private void updateLogicView()

updatePreview

private void updatePreview()

updateObjectRule

protected void updateObjectRule(RuleInfo rule)

setReqCompEditButtonClickCallback

public void setReqCompEditButtonClickCallback(Callback<ReqComponentInfo> callback)

setRuleChangedButtonClickCallback

public void setRuleChangedButtonClickCallback(Callback<Boolean> callback)

getStatementTreeViewInfo

public StatementTreeViewInfo getStatementTreeViewInfo()

setEnabled

public void setEnabled(boolean enabled)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.