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

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.SimplePanel
                  extended by com.google.gwt.user.client.ui.FocusPanel
                      extended by org.kuali.student.common.ui.client.widgets.rules.RuleNodeWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllFocusHandlers, com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasFocus, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.SourcesClickEvents, com.google.gwt.user.client.ui.SourcesFocusEvents, com.google.gwt.user.client.ui.SourcesKeyboardEvents, com.google.gwt.user.client.ui.SourcesMouseEvents, com.google.gwt.user.client.ui.SourcesMouseWheelEvents, Iterable<com.google.gwt.user.client.ui.Widget>

public class RuleNodeWidget
extends com.google.gwt.user.client.ui.FocusPanel


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  com.google.gwt.user.client.ui.CheckBox checkBox
           
private  com.google.gwt.user.client.ui.HorizontalPanel checkBoxAndEdit
           
private  KSLabel edit
           
private  com.google.gwt.event.shared.HandlerRegistration editClauseHandlerRegistration
           
private  com.google.gwt.event.dom.client.ClickHandler editClickHandler
           
private  boolean editMode
           
private  com.google.gwt.user.client.ui.HTML html
           
private  Node node
           
private  boolean showCheckbox
           
private  KSLabel toggle
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
RuleNodeWidget(Node n)
           
RuleNodeWidget(Node n, boolean showControls)
           
 
Method Summary
 void addEditClauseHandler(com.google.gwt.event.dom.client.ClickHandler ch)
           
 void clearEditClauseHandler()
           
 void drawNode(Node n, RuleTable ruleTable, int rowIndex, int columnIndex)
           
 Node getNode()
           
private  void init(Node n, boolean showControls)
           
 boolean isEditMode()
           
 boolean isSelected()
           
 boolean isShowCheckbox()
           
 void setEditMode(boolean editMode)
           
 void setEnabled(boolean enabled)
           
 void setShowCheckbox(boolean showCheckbox)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FocusPanel
addBlurHandler, addClickHandler, addClickListener, addFocusHandler, addFocusListener, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, getTabIndex, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setFocus, setTabIndex
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, clear, 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.event.shared.HasHandlers
fireEvent
 

Field Detail

node

private Node node

html

private com.google.gwt.user.client.ui.HTML html

checkBoxAndEdit

private com.google.gwt.user.client.ui.HorizontalPanel checkBoxAndEdit

checkBox

private com.google.gwt.user.client.ui.CheckBox checkBox

edit

private KSLabel edit

toggle

private KSLabel toggle

editClauseHandlerRegistration

private com.google.gwt.event.shared.HandlerRegistration editClauseHandlerRegistration

editClickHandler

private com.google.gwt.event.dom.client.ClickHandler editClickHandler

editMode

private boolean editMode

showCheckbox

private boolean showCheckbox
Constructor Detail

RuleNodeWidget

public RuleNodeWidget(Node n)

RuleNodeWidget

public RuleNodeWidget(Node n,
                      boolean showControls)
Method Detail

init

private void init(Node n,
                  boolean showControls)

drawNode

public void drawNode(Node n,
                     RuleTable ruleTable,
                     int rowIndex,
                     int columnIndex)

isSelected

public boolean isSelected()

isShowCheckbox

public boolean isShowCheckbox()

setShowCheckbox

public void setShowCheckbox(boolean showCheckbox)

getNode

public Node getNode()

addEditClauseHandler

public void addEditClauseHandler(com.google.gwt.event.dom.client.ClickHandler ch)

clearEditClauseHandler

public void clearEditClauseHandler()

setEnabled

public void setEnabled(boolean enabled)

isEditMode

public boolean isEditMode()

setEditMode

public void setEditMode(boolean editMode)


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