public class GridWidgetDnDHandlersState extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GridWidgetDnDHandlersState.GridWidgetHandlersOperation
The different states of the drag operation.
|
Constructor and Description |
---|
GridWidgetDnDHandlersState() |
Modifier and Type | Method and Description |
---|---|
List<GridColumn<?>> |
getActiveGridColumns()
Returns the active columns being affected by the current the operation.
|
List<GridRow> |
getActiveGridRows()
Returns the active rows being affected by the current the operation.
|
GridWidget |
getActiveGridWidget()
Returns the active GridWidget.
|
GridColumn.HeaderMetaData |
getActiveHeaderMetaData()
Returns the active HeaderMetaData.
|
com.google.gwt.dom.client.Style.Cursor |
getCursor()
Returns the Cursor type to be shown for the current operation.
|
GridWidgetDnDProxy |
getEventColumnHighlight()
Returns the Group representing the column during a drag operation of the column being moved
|
double |
getEventInitialColumnWidth()
Returns the width of a column being re-sized at the commencement of the resize operation.
|
double |
getEventInitialX()
Returns the grid-relative x-coordinate of the Mouse Event.
|
GridWidgetDnDHandlersState.GridWidgetHandlersOperation |
getOperation()
The current drag operation in progress.
|
void |
reset()
Resets the state to no operation with no active columns or rows.
|
void |
setActiveGridColumns(List<GridColumn<?>> activeGridColumns)
Sets the active columns to be affected by the current the operation.
|
void |
setActiveGridRows(List<GridRow> activeGridRows)
Sets the active rows to be affected by the current the operation.
|
void |
setActiveGridWidget(GridWidget activeGridWidget)
Sets the active GridWidget.
|
void |
setActiveHeaderMetaData(GridColumn.HeaderMetaData activeHeaderMetaData)
Sets the active HeaderMetaData.
|
void |
setCursor(com.google.gwt.dom.client.Style.Cursor cursor)
Sets the Cursor type to be shown for the current operation.
|
void |
setEventInitialColumnWidth(double eventInitialColumnWidth)
Sets the initial width of a column to be resized.
|
void |
setEventInitialX(double eventInitialX)
Sets the grid-relative x-coordinate of the Mouse Event.
|
void |
setOperation(GridWidgetDnDHandlersState.GridWidgetHandlersOperation operation)
Sets the current drag operation in progress.
|
public void reset()
public GridWidget getActiveGridWidget()
public void setActiveGridWidget(GridWidget activeGridWidget)
activeGridWidget
- public GridColumn.HeaderMetaData getActiveHeaderMetaData()
public void setActiveHeaderMetaData(GridColumn.HeaderMetaData activeHeaderMetaData)
activeHeaderMetaData
- public List<GridColumn<?>> getActiveGridColumns()
public void setActiveGridColumns(List<GridColumn<?>> activeGridColumns)
public List<GridRow> getActiveGridRows()
public void setActiveGridRows(List<GridRow> activeGridRows)
public GridWidgetDnDHandlersState.GridWidgetHandlersOperation getOperation()
public void setOperation(GridWidgetDnDHandlersState.GridWidgetHandlersOperation operation)
operation
- public com.google.gwt.dom.client.Style.Cursor getCursor()
public void setCursor(com.google.gwt.dom.client.Style.Cursor cursor)
cursor
- public double getEventInitialX()
public void setEventInitialX(double eventInitialX)
eventInitialX
- public double getEventInitialColumnWidth()
public void setEventInitialColumnWidth(double eventInitialColumnWidth)
eventInitialColumnWidth
- public GridWidgetDnDProxy getEventColumnHighlight()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.