@Dependent public class CommonOnMoveHandler extends AbstractScenarioSimulationGridPanelHandler
Modifier and Type | Field and Description |
---|---|
protected Integer |
currentlyShownBodyColumnIndex |
protected Integer |
currentlyShownBodyRowIndex |
protected ErrorReportPopoverPresenter |
errorReportPopupPresenter |
rendererHelper, scenarioGrid, scenarioGridPanel
Constructor and Description |
---|
CommonOnMoveHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleOnMove(int mx,
int my) |
void |
hidePopover() |
protected boolean |
manageBodyCoordinates(Integer uiRowIndex,
Integer uiColumnIndex)
This method check if the click happened on an column of a grid row.
|
protected boolean |
manageGivenExpectHeaderCoordinates(ScenarioHeaderMetaData clickedScenarioHeaderMetadata,
ScenarioGridColumn scenarioGridColumn,
String group,
Integer uiColumnIndex)
This method manage the click happened on an GIVEN or EXPECT header, starting editing it if not already did.
|
protected com.ait.lienzo.client.core.types.Point2D |
retrieveCellMiddleXYPosition(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
int uiRowIndex) |
void |
setErrorReportPopupPresenter(ErrorReportPopoverPresenter errorReportPopupPresenter) |
convertDOMToGridCoordinateLocal, getColumnScenarioHeaderMetaDataLocal, getUiColumnIndexLocal, getUiHeaderRowIndexLocal, getUiRowIndexLocal, manageCoordinates, manageHeaderCoordinates, setScenarioGridPanel
protected ErrorReportPopoverPresenter errorReportPopupPresenter
protected Integer currentlyShownBodyRowIndex
protected Integer currentlyShownBodyColumnIndex
public void handleOnMove(int mx, int my)
public void hidePopover()
public void setErrorReportPopupPresenter(ErrorReportPopoverPresenter errorReportPopupPresenter)
protected boolean manageGivenExpectHeaderCoordinates(ScenarioHeaderMetaData clickedScenarioHeaderMetadata, ScenarioGridColumn scenarioGridColumn, String group, Integer uiColumnIndex)
AbstractScenarioSimulationGridPanelHandler
manageGivenExpectHeaderCoordinates
in class AbstractScenarioSimulationGridPanelHandler
protected boolean manageBodyCoordinates(Integer uiRowIndex, Integer uiColumnIndex)
AbstractScenarioSimulationGridPanelHandler
false
manageBodyCoordinates
in class AbstractScenarioSimulationGridPanelHandler
protected com.ait.lienzo.client.core.types.Point2D retrieveCellMiddleXYPosition(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column, int uiRowIndex)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.