@Dependent public class ScenarioSimulationMainGridPanelMouseMoveHandler extends AbstractScenarioSimulationGridPanelHandler implements ScenarioSimulationGridPanelMouseMoveHandler
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
currentlyShownBodyColumnIndex |
protected Integer |
currentlyShownBodyRowIndex |
protected ErrorReportPopoverPresenter |
errorReportPopupPresenter |
rendererHelper, scenarioGrid, scenarioGridPanel| Constructor and Description |
|---|
ScenarioSimulationMainGridPanelMouseMoveHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCellHeight(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
int uiRowIndex) |
void |
hidePopover() |
protected boolean |
manageBodyCoordinates(Integer uiRowIndex,
Integer uiColumnIndex)
This method check if the click happened on an column of a grid row.
|
protected void |
manageFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
Integer uiRowIndex,
Integer uiColumnIndex) |
protected void |
manageFailedFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
Integer uiRowIndex,
Integer uiColumnIndex) |
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.
|
void |
onNodeMouseMove(com.ait.lienzo.client.core.event.NodeMouseMoveEvent event) |
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) |
protected void |
setupPopupPresenter(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
int uiRowIndex,
int uiColumnIndex,
int xPosition,
int yPosition,
PopoverView.Position position) |
convertDOMToGridCoordinateLocal, getColumnScenarioHeaderMetaDataLocal, getUiColumnIndexLocal, getUiHeaderRowIndexLocal, getUiRowIndexLocal, manageCoordinates, manageHeaderCoordinates, setScenarioGridPanelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetScenarioGridPanelprotected ErrorReportPopoverPresenter errorReportPopupPresenter
protected Integer currentlyShownBodyRowIndex
protected Integer currentlyShownBodyColumnIndex
public ScenarioSimulationMainGridPanelMouseMoveHandler()
public void onNodeMouseMove(com.ait.lienzo.client.core.event.NodeMouseMoveEvent event)
onNodeMouseMove in interface com.ait.lienzo.client.core.event.NodeMouseMoveHandlerpublic void hidePopover()
hidePopover in interface ScenarioSimulationGridPanelMouseMoveHandlerpublic void setErrorReportPopupPresenter(ErrorReportPopoverPresenter errorReportPopupPresenter)
setErrorReportPopupPresenter in interface ScenarioSimulationGridPanelMouseMoveHandlerprotected boolean manageGivenExpectHeaderCoordinates(ScenarioHeaderMetaData clickedScenarioHeaderMetadata, ScenarioGridColumn scenarioGridColumn, String group, Integer uiColumnIndex)
AbstractScenarioSimulationGridPanelHandlermanageGivenExpectHeaderCoordinates in class AbstractScenarioSimulationGridPanelHandlerprotected boolean manageBodyCoordinates(Integer uiRowIndex, Integer uiColumnIndex)
AbstractScenarioSimulationGridPanelHandlerfalsemanageBodyCoordinates in class AbstractScenarioSimulationGridPanelHandlerprotected void manageFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
Integer uiRowIndex,
Integer uiColumnIndex)
protected void manageFailedFactMappingValue(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
Integer uiRowIndex,
Integer uiColumnIndex)
protected void setupPopupPresenter(org.drools.scenariosimulation.api.model.FactMappingValue toManage,
int uiRowIndex,
int uiColumnIndex,
int xPosition,
int yPosition,
PopoverView.Position position)
protected com.ait.lienzo.client.core.types.Point2D retrieveCellMiddleXYPosition(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
int uiRowIndex)
protected int getCellHeight(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column,
int uiRowIndex)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.