com.gwtext.client.widgets.menu.event
Interface CheckItemListener

All Superinterfaces:
BaseItemListener, ComponentListener
All Known Implementing Classes:
CheckItemListenerAdapter

public interface CheckItemListener
extends BaseItemListener


Method Summary
 boolean doBeforeCheckChange(CheckItem item, boolean checked)
          Fires before the checked value is set, providing an opportunity to cancel if needed.
 void onCheckChange(CheckItem item, boolean checked)
          Fires after the checked value has been set.
 
Methods inherited from interface com.gwtext.client.widgets.menu.event.BaseItemListener
onActivate, onClick, onDeactivate
 
Methods inherited from interface com.gwtext.client.widgets.event.ComponentListener
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave
 

Method Detail

doBeforeCheckChange

boolean doBeforeCheckChange(CheckItem item,
                            boolean checked)
Fires before the checked value is set, providing an opportunity to cancel if needed.

Parameters:
item - this
checked - the new checked value that will be set
Returns:
false to cancel

onCheckChange

void onCheckChange(CheckItem item,
                   boolean checked)
Fires after the checked value has been set.

Parameters:
item - this
checked - the checked value that was set