org.kuali.student.lum.common.client.widgets
Class GradeWidget

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.Composite
              extended by org.kuali.student.lum.common.client.widgets.GradeWidget
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, HasDataValue, AccessWidgetValue

public class GradeWidget
extends com.google.gwt.user.client.ui.Composite
implements AccessWidgetValue, HasDataValue


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)  Metadata gradeMetadata
           
(package private)  KSPicker gradeTypeWidget
           
(package private)  KSPicker gradeWidget
           
private  com.google.gwt.user.client.ui.FlowPanel layout
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
GradeWidget()
           
 
Method Summary
private  void addGradeListWidget(boolean enabled)
           
 void addValueChangeCallback(Callback<Data.Value> callback)
           
 Data.Value getValue()
           
 void getValue(Callback<String> doneSaveCallback)
           
 void initWidget(List<Metadata> fieldsMetadata)
           
private  void setupHandlers()
           
 void setValue(Data.Value value)
           
 void setValue(String id)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, 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

layout

private com.google.gwt.user.client.ui.FlowPanel layout

gradeTypeWidget

KSPicker gradeTypeWidget

gradeWidget

KSPicker gradeWidget

gradeMetadata

Metadata gradeMetadata
Constructor Detail

GradeWidget

public GradeWidget()
Method Detail

initWidget

public void initWidget(List<Metadata> fieldsMetadata)
Specified by:
initWidget in interface AccessWidgetValue

setupHandlers

private void setupHandlers()

addGradeListWidget

private void addGradeListWidget(boolean enabled)

addValueChangeCallback

public void addValueChangeCallback(Callback<Data.Value> callback)
Specified by:
addValueChangeCallback in interface HasDataValue

setValue

public void setValue(Data.Value value)
Specified by:
setValue in interface HasDataValue

getValue

public void getValue(Callback<String> doneSaveCallback)
Specified by:
getValue in interface AccessWidgetValue

setValue

public void setValue(String id)
Specified by:
setValue in interface AccessWidgetValue

getValue

public Data.Value getValue()
Specified by:
getValue in interface HasDataValue


Copyright © 2010 The Kuali Foundation. All rights reserved.