Class ListPositionChangeEvent<T>
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<ListPositionChangeEvent.ListPositionChangeHandler<T>>
-
- de.knightsoftnet.mtwidgets.client.event.ListPositionChangeEvent<T>
-
- Type Parameters:
T- type of the Event
public class ListPositionChangeEvent<T> extends com.google.gwt.event.shared.GwtEvent<ListPositionChangeEvent.ListPositionChangeHandler<T>>
event which can be thrown by a list editor entry to inform about it's movement.- Author:
- Manfred Tremmel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPositionChangeEvent.ListPositionChangeHandler<T>static interfaceListPositionChangeEvent.ListPositionChangeHandlers<T>static classListPositionChangeEvent.ListPositionEnum-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Constructor Summary
Constructors Constructor Description ListPositionChangeEvent(org.gwtproject.editor.client.Editor<T> peditor, ListPositionChangeEvent.ListPositionEnum ppositionChange)ListPositionChangeEvent(org.gwtproject.editor.client.Editor<T> peditor, ListPositionChangeEvent.ListPositionEnum ppositionChange, int pnewPosition)constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(ListPositionChangeEvent.ListPositionChangeHandler<T> handler)com.google.gwt.event.shared.GwtEvent.Type<ListPositionChangeEvent.ListPositionChangeHandler<T>>getAssociatedType()org.gwtproject.editor.client.Editor<T>getEditor()intgetNewPosition()ListPositionChangeEvent.ListPositionEnumgetPositionChange()static com.google.gwt.event.shared.GwtEvent.Type<ListPositionChangeEvent.ListPositionChangeHandler<?>>getType()-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
-
-
-
Constructor Detail
-
ListPositionChangeEvent
public ListPositionChangeEvent(org.gwtproject.editor.client.Editor<T> peditor, ListPositionChangeEvent.ListPositionEnum ppositionChange)
-
ListPositionChangeEvent
public ListPositionChangeEvent(org.gwtproject.editor.client.Editor<T> peditor, ListPositionChangeEvent.ListPositionEnum ppositionChange, int pnewPosition)
constructor.- Parameters:
peditor- editor widget in the listppositionChange- enum of changepnewPosition- new position for absolute changes
-
-
Method Detail
-
getType
public static com.google.gwt.event.shared.GwtEvent.Type<ListPositionChangeEvent.ListPositionChangeHandler<?>> getType()
-
dispatch
protected void dispatch(ListPositionChangeEvent.ListPositionChangeHandler<T> handler)
- Specified by:
dispatchin classcom.google.gwt.event.shared.GwtEvent<ListPositionChangeEvent.ListPositionChangeHandler<T>>
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<ListPositionChangeEvent.ListPositionChangeHandler<T>> getAssociatedType()
- Specified by:
getAssociatedTypein classcom.google.gwt.event.shared.GwtEvent<ListPositionChangeEvent.ListPositionChangeHandler<T>>
-
getEditor
public org.gwtproject.editor.client.Editor<T> getEditor()
-
getPositionChange
public final ListPositionChangeEvent.ListPositionEnum getPositionChange()
-
getNewPosition
public final int getNewPosition()
-
-