Class GridSelectionAllowedEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<GridSelectionAllowedHandler>
-
- com.vaadin.client.widget.grid.events.GridSelectionAllowedEvent
-
public class GridSelectionAllowedEvent extends com.google.gwt.event.shared.GwtEvent<GridSelectionAllowedHandler>
A selection allowed event, fired by the Grid when its selection allowed value changes.- Since:
- 8.0
- Author:
- Vaadin Ltd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gwt.event.shared.GwtEvent.Type<GridSelectionAllowedHandler>
TYPE
The type of this event.
-
Constructor Summary
Constructors Constructor Description GridSelectionAllowedEvent(boolean selectionAllowed)
Creates a new event instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(GridSelectionAllowedHandler handler)
com.google.gwt.event.shared.GwtEvent.Type<GridSelectionAllowedHandler>
getAssociatedType()
boolean
isSelectionAllowed()
Gets selection allowed value.-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
-
-
-
Field Detail
-
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<GridSelectionAllowedHandler> TYPE
The type of this event.
-
-
Method Detail
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<GridSelectionAllowedHandler> getAssociatedType()
- Specified by:
getAssociatedType
in classcom.google.gwt.event.shared.GwtEvent<GridSelectionAllowedHandler>
-
isSelectionAllowed
public boolean isSelectionAllowed()
Gets selection allowed value.- Returns:
true
if selection is allowed,false
otherwise
-
dispatch
protected void dispatch(GridSelectionAllowedHandler handler)
- Specified by:
dispatch
in classcom.google.gwt.event.shared.GwtEvent<GridSelectionAllowedHandler>
-
-