Class InsertColumnEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<InsertColumnEventHandler>
-
- org.drools.workbench.screens.scenariosimulation.client.events.InsertColumnEvent
-
public class InsertColumnEvent extends com.google.gwt.event.shared.GwtEvent<InsertColumnEventHandler>
GwtEventto insert a column.
-
-
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<InsertColumnEventHandler>TYPE
-
Constructor Summary
Constructors Constructor Description InsertColumnEvent(GridWidget gridWidget, int columnIndex, boolean isRight, boolean asProperty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(InsertColumnEventHandler handler)com.google.gwt.event.shared.GwtEvent.Type<InsertColumnEventHandler>getAssociatedType()intgetColumnIndex()GridWidgetgetGridWidget()booleanisAsProperty()booleanisRight()-
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<InsertColumnEventHandler> TYPE
-
-
Constructor Detail
-
InsertColumnEvent
public InsertColumnEvent(GridWidget gridWidget, int columnIndex, boolean isRight, boolean asProperty)
- Parameters:
gridWidget-columnIndex-isRight- whentrue, column will be inserted to the right of the given index (i.e. at position columnIndex +1), otherwise to the left (i.e. at position columnIndex)asProperty- whentrue, column will use the instance header of the original one, so to create a new "property" header under the same instance
-
-
Method Detail
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<InsertColumnEventHandler> getAssociatedType()
- Specified by:
getAssociatedTypein classcom.google.gwt.event.shared.GwtEvent<InsertColumnEventHandler>
-
getGridWidget
public GridWidget getGridWidget()
-
getColumnIndex
public int getColumnIndex()
-
isRight
public boolean isRight()
-
isAsProperty
public boolean isAsProperty()
-
dispatch
protected void dispatch(InsertColumnEventHandler handler)
- Specified by:
dispatchin classcom.google.gwt.event.shared.GwtEvent<InsertColumnEventHandler>
-
-