org.kuali.student.common.ui.client.mvc
Interface HasWidgetReadyCallback

All Known Implementing Classes:
CluSetEditorWidget.CluSetEditOptionDropdown, CluSetsConfigurer.CluSetEditOptionList, CourseProposalConfigurer.PersonList, CourseProposalConfigurer.ProposerPersonList, KSCheckBoxList, KSCheckBoxListImpl, KSDropDown, KSDropDownImpl, KSLabelList, KSLabelListImpl, KSRadioButtonList, KSRadioButtonListImpl, KSSelectedList, KSSelectItemWidgetAbstract, MultiplicityGroup.ConditionChoices, OrgPersonRelationTypePicker, OrgPositionTypePicker, OrgRelationTypePicker, OrgTypePicker

public interface HasWidgetReadyCallback

This interface should be implemented by widget that will not be ready for use until some action is completed (eg. load data from async callback)

Author:
Kuali Student Team

Method Summary
 void addWidgetReadyCallback(Callback<com.google.gwt.user.client.ui.Widget> callback)
          This method can be used to register a callback to be executed when a widget has been initialized.
 boolean isInitialized()
          This method can be used to query if a widget has been initialized.
 void setInitialized(boolean initialized)
          This method sets an initialized state of the widget
 

Method Detail

setInitialized

void setInitialized(boolean initialized)
This method sets an initialized state of the widget

Parameters:
initialized -

isInitialized

boolean isInitialized()
This method can be used to query if a widget has been initialized.

Returns:

addWidgetReadyCallback

void addWidgetReadyCallback(Callback<com.google.gwt.user.client.ui.Widget> callback)
This method can be used to register a callback to be executed when a widget has been initialized. The callback should be unregistered by the implementing widget after execution.

Parameters:
callback -


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