public class CourseWidget extends com.google.gwt.user.client.ui.Composite implements AccessWidgetValue, HasDataValue
Modifier and Type | Field and Description |
---|---|
protected KSDropDown |
courseTypeWidget |
protected KSPicker |
courseWidget |
protected VerticalSection |
layout |
Constructor and Description |
---|
CourseWidget() |
Modifier and Type | Method and Description |
---|---|
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) |
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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
protected VerticalSection layout
protected KSDropDown courseTypeWidget
protected KSPicker courseWidget
public CourseWidget()
public void initWidget(List<Metadata> fieldsMetadata)
initWidget
in interface AccessWidgetValue
protected void createAndAddCourseTypesDropdown()
protected void addCourseListWidget(boolean enabled, String courseType)
protected MessageKeyInfo generateMessageInfo(String labelKey)
public void addValueChangeCallback(Callback<Data.Value> callback)
addValueChangeCallback
in interface HasDataValue
public void setValue(Data.Value value)
setValue
in interface HasDataValue
public void getValue(Callback<String> doneSaveCallback)
getValue
in interface AccessWidgetValue
public void setValue(String id)
setValue
in interface AccessWidgetValue
public void setLabelContent(String id, String code)
public void addGetCluNameCallback(Callback callback)
public Data.Value getValue()
getValue
in interface HasDataValue
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.