com.vaadin.client.widget.escalator.events.
Class SpacerIndexChangedEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>
-
- com.vaadin.client.widget.escalator.events.SpacerIndexChangedEvent
-
public class SpacerIndexChangedEvent extends com.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>
Event fired when a spacer element is moved to a new index in Escalator.
Since:
8.9
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<SpacerIndexChangedHandler>
TYPE
Handler type.
-
Constructor Summary
Constructors Constructor Description SpacerIndexChangedEvent(int oldIndex, int newIndex)
Creates a spacer index changed event.
-
Method Summary
All Methods Modifier and Type Method Description protected void
dispatch(SpacerIndexChangedHandler handler)
com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler>
getAssociatedType()
int
getNewIndex()
Gets the new row index to which the spacer element belongs.
int
getOldIndex()
Gets the old row index to which the spacer element belongs.
static com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler>
getType()
Returns the associated handler type.
-
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<SpacerIndexChangedHandler> TYPE
Handler type.
-
-
Method Detail
-
getType
public static final com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler> getType()
Returns the associated handler type.
Returns:
the handler type
-
getOldIndex
public int getOldIndex()
Gets the old row index to which the spacer element belongs.
Returns:
the old row index to which the spacer element belongs
-
getNewIndex
public int getNewIndex()
Gets the new row index to which the spacer element belongs.
Returns:
the new row index to which the spacer element belongs
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler> getAssociatedType()
Specified by:
getAssociatedType
in classcom.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>
-
dispatch
protected void dispatch(SpacerIndexChangedHandler handler)
Specified by:
dispatch
in classcom.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>
-
-