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

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.CellPanel
                      extended by com.google.gwt.user.client.ui.HorizontalPanel
                          extended by org.kuali.student.common.ui.client.widgets.rules.AndOrButton
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAlignment, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasVerticalAlignment, 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 AndOrButton
extends com.google.gwt.user.client.ui.HorizontalPanel


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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
 
Field Summary
static int And
           
(package private)  com.google.gwt.user.client.ui.Button andButton
           
(package private)  com.google.gwt.event.shared.HandlerRegistration andHandlerRegi
           
static int Or
           
(package private)  com.google.gwt.user.client.ui.Button orButton
           
(package private)  com.google.gwt.event.shared.HandlerRegistration orHandlerRegi
           
private  int value
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT
 
Fields inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
ALIGN_BOTTOM, ALIGN_MIDDLE, ALIGN_TOP
 
Constructor Summary
AndOrButton()
           
 
Method Summary
 void addClickHandler(com.google.gwt.event.dom.client.ClickHandler clickHandler)
           
 int getValue()
           
 void removeClickHandler()
           
 void setEnabled(boolean enabled)
           
 void setValue(int v)
           
private  void update(int value)
           
 
Methods inherited from class com.google.gwt.user.client.ui.HorizontalPanel
add, getHorizontalAlignment, getVerticalAlignment, insert, onEnsureDebugId, remove, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class com.google.gwt.user.client.ui.CellPanel
getBody, getSpacing, getTable, setBorderWidth, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setSpacing
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove
 
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, 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

andButton

com.google.gwt.user.client.ui.Button andButton

orButton

com.google.gwt.user.client.ui.Button orButton

andHandlerRegi

com.google.gwt.event.shared.HandlerRegistration andHandlerRegi

orHandlerRegi

com.google.gwt.event.shared.HandlerRegistration orHandlerRegi

And

public static final int And
See Also:
Constant Field Values

Or

public static final int Or
See Also:
Constant Field Values

value

private int value
Constructor Detail

AndOrButton

public AndOrButton()
Method Detail

getValue

public int getValue()

addClickHandler

public void addClickHandler(com.google.gwt.event.dom.client.ClickHandler clickHandler)

removeClickHandler

public void removeClickHandler()

setValue

public void setValue(int v)

update

private void update(int value)

setEnabled

public void setEnabled(boolean enabled)


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