public class SpacerIndexChangedEvent extends com.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler> |
TYPE
Handler type.
|
| Constructor and Description |
|---|
SpacerIndexChangedEvent(int oldIndex,
int newIndex)
Creates a spacer index changed event.
|
| Modifier and Type | Method and 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.
|
assertLive, getSource, isLive, kill, revivepublic static final com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler> TYPE
public SpacerIndexChangedEvent(int oldIndex,
int newIndex)
oldIndex - old index of row to which the spacer belongsnewIndex - new index of row to which the spacer belongspublic static final com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler> getType()
public int getOldIndex()
public int getNewIndex()
public com.google.gwt.event.shared.GwtEvent.Type<SpacerIndexChangedHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>protected void dispatch(SpacerIndexChangedHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<SpacerIndexChangedHandler>Copyright © 2023 Vaadin Ltd. All rights reserved.