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

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.CourseWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, HasDataValue, AccessWidgetValue

public class CourseWidget
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
protected  KSDropDown courseTypeWidget
           
protected  KSPicker courseWidget
           
protected  VerticalSection layout
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
CourseWidget()
           
 
Method Summary
protected  void addCourseListWidget(boolean enabled, String courseType)
           
 void addGetCluNameCallback(Callback callback)
           
 void addValueChangeCallback(Callback<Data.Value> callback)
           
protected  void createAndAddCourseTypesDropdown()
           
protected  MessageKeyInfo generateMessageInfo(String labelKey)
           
 Data.Value getValue()
           
 void getValue(Callback<String> doneSaveCallback)
           
 void initWidget(List<Metadata> fieldsMetadata)
           
 void setLabelContent(String id, String code)
           
 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
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

layout

protected VerticalSection layout

courseTypeWidget

protected KSDropDown courseTypeWidget

courseWidget

protected KSPicker courseWidget
Constructor Detail

CourseWidget

public CourseWidget()
Method Detail

initWidget

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

createAndAddCourseTypesDropdown

protected void createAndAddCourseTypesDropdown()

addCourseListWidget

protected void addCourseListWidget(boolean enabled,
                                   String courseType)

generateMessageInfo

protected MessageKeyInfo generateMessageInfo(String labelKey)

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

setLabelContent

public void setLabelContent(String id,
                            String code)

addGetCluNameCallback

public void addGetCluNameCallback(Callback callback)

getValue

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


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.