org.drools.guvnor.client.widgets.drools.decoratedgrid.events
Class MoveColumnsEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<MoveColumnsEvent.Handler>
org.drools.guvnor.client.widgets.drools.decoratedgrid.events.MoveColumnsEvent
public class MoveColumnsEvent
- extends com.google.gwt.event.shared.GwtEvent<MoveColumnsEvent.Handler>
Represents an event to move one or more consecutive columns.
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
Constructor Summary |
MoveColumnsEvent(int sourceColumnIndex,
int targetColumnIndex,
int numberOfColumns)
Creates a Move Columns event. |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
TYPE
public static com.google.gwt.event.shared.GwtEvent.Type<MoveColumnsEvent.Handler> TYPE
MoveColumnsEvent
public MoveColumnsEvent(int sourceColumnIndex,
int targetColumnIndex,
int numberOfColumns)
- Creates a Move Columns event.
- Parameters:
sourceColumnIndex
- The index of the first column to movetargetColumnIndex
- The index to where the columns will be movednumberOfColumns
- The number of columns to move
getSourceColumnIndex
public int getSourceColumnIndex()
- Gets the index of the first column to move
- Returns:
- sourceTargetIndex
getTargetColumnIndex
public int getTargetColumnIndex()
- Gets the index to where the columns will be moved
- Returns:
- targetColumnIndex
getNumberOfColumns
public int getNumberOfColumns()
- Gets the number of columns to move
- Returns:
- numberOfColumns
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<MoveColumnsEvent.Handler> getAssociatedType()
- Overrides:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<MoveColumnsEvent.Handler>
dispatch
protected void dispatch(MoveColumnsEvent.Handler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<MoveColumnsEvent.Handler>
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.