org.kuali.student.common.ui.client.widgets.table
Class NodeWidget

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 org.kuali.student.common.ui.client.widgets.table.NodeWidget
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.Event.NativePreviewHandler, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, Iterable<com.google.gwt.user.client.ui.Widget>

public class NodeWidget
extends com.google.gwt.user.client.ui.SimplePanel
implements com.google.gwt.user.client.Event.NativePreviewHandler


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
(package private)  com.google.gwt.user.client.ui.CheckBox checkBox
           
(package private)  com.google.gwt.event.shared.HandlerRegistration handlerRegistration
           
(package private)  com.google.gwt.user.client.ui.HTML html
           
private  Node node
           
(package private)  com.google.gwt.user.client.ui.VerticalPanel verticalPanel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
NodeWidget(Node<Token> n)
           
 
Method Summary
 void addSelectionHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean> ch)
           
 Node getNode()
           
 void installCheckBox()
           
 boolean isSelected()
           
 void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent pevent)
           
 void setNode(Node n)
           
 
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
 

Field Detail

node

private Node node

html

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

checkBox

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

handlerRegistration

com.google.gwt.event.shared.HandlerRegistration handlerRegistration

verticalPanel

com.google.gwt.user.client.ui.VerticalPanel verticalPanel
Constructor Detail

NodeWidget

public NodeWidget(Node<Token> n)
Method Detail

onPreviewNativeEvent

public void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent pevent)
Specified by:
onPreviewNativeEvent in interface com.google.gwt.user.client.Event.NativePreviewHandler

getNode

public Node getNode()

installCheckBox

public void installCheckBox()

isSelected

public boolean isSelected()

addSelectionHandler

public void addSelectionHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean> ch)

setNode

public void setNode(Node n)


Copyright © 2010 The Kuali Foundation. All rights reserved.