Class SpacerVisibilityChangedEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<SpacerVisibilityChangedHandler>
-
- com.vaadin.client.widget.escalator.events.SpacerVisibilityChangedEvent
-
public class SpacerVisibilityChangedEvent extends com.google.gwt.event.shared.GwtEvent<SpacerVisibilityChangedHandler>
Event fired when a spacer element is hidden or shown in Escalator.- Since:
- 7.7.13
- 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<SpacerVisibilityChangedHandler>
TYPE
Handler type.
-
Constructor Summary
Constructors Constructor Description SpacerVisibilityChangedEvent(int rowIndex, boolean visible)
Creates a spacer visibility changed event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(SpacerVisibilityChangedHandler handler)
com.google.gwt.event.shared.GwtEvent.Type<SpacerVisibilityChangedHandler>
getAssociatedType()
int
getRowIndex()
Gets the row index to which the spacer element belongs.static com.google.gwt.event.shared.GwtEvent.Type<SpacerVisibilityChangedHandler>
getType()
boolean
isVisible()
Gets whether the spacer element is displayed.-
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<SpacerVisibilityChangedHandler> TYPE
Handler type.
-
-
Constructor Detail
-
SpacerVisibilityChangedEvent
public SpacerVisibilityChangedEvent(int rowIndex, boolean visible)
Creates a spacer visibility changed event.- Parameters:
rowIndex
- index of row to which the spacer belongsvisible
-true
if the spacer element is shown,false
if the spacer element is hidden
-
-
Method Detail
-
getType
public static final com.google.gwt.event.shared.GwtEvent.Type<SpacerVisibilityChangedHandler> getType()
-
getRowIndex
public int getRowIndex()
Gets the row index to which the spacer element belongs.- Returns:
- the row index to which the spacer element belongs
-
isVisible
public boolean isVisible()
Gets whether the spacer element is displayed.- Returns:
true
if the spacer element is shown,false
if the spacer element is hidden
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<SpacerVisibilityChangedHandler> getAssociatedType()
- Specified by:
getAssociatedType
in classcom.google.gwt.event.shared.GwtEvent<SpacerVisibilityChangedHandler>
-
dispatch
protected void dispatch(SpacerVisibilityChangedHandler handler)
- Specified by:
dispatch
in classcom.google.gwt.event.shared.GwtEvent<SpacerVisibilityChangedHandler>
-
-