public class RelationGrid extends BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper> implements HasListSelectorControl
com.ait.lienzo.client.core.shape.Group.GroupFactory
com.ait.lienzo.client.core.shape.GroupOf.GroupOfFactory<T extends com.ait.lienzo.client.core.shape.IPrimitive<?>,C extends com.ait.lienzo.client.core.shape.GroupOf<T,C>>
com.ait.lienzo.client.core.shape.ContainerNode.ContainerNodeFactory<C extends com.ait.lienzo.client.core.shape.json.IJSONSerializable<C> & com.ait.lienzo.client.core.shape.IContainer<C,?>>
com.ait.lienzo.client.core.shape.Node.NodeFactory<N extends com.ait.lienzo.client.core.shape.json.IJSONSerializable<N>>
HasListSelectorControl.ListSelectorDividerItem, HasListSelectorControl.ListSelectorHeaderItem, HasListSelectorControl.ListSelectorItem, HasListSelectorControl.ListSelectorTextItem
DEFAULT_PADDING, definitionUtils, editorSelectedEvent, gridPanel, listSelector, nesting, parent, RESIZE_EXISTING, RESIZE_EXISTING_MINIMUM, uiModelMapper
canvasCommandFactory, cellEditorControls, domainObjectSelectionEvent, gridLayer, hasExpression, hasName, isOnlyVisualChangeAllowed, nodeUUID, refreshFormPropertiesEvent, selectedDomainObject, sessionCommandManager, sessionManager, translationService
allColumns, body, bodyColumns, bodySelections, bodyTransformer, boundary, floatingBody, floatingBodySelections, floatingColumns, floatingColumnsTransformer, floatingHeader, floatingHeaderSelections, header, headerSelections, model, renderer, rendererHelper, renderingInformation, renderQueue
Constructor and Description |
---|
RelationGrid(GridCellTuple parent,
Optional<String> nodeUUID,
HasExpression hasExpression,
Optional<HasName> hasName,
DMNGridPanel gridPanel,
DMNGridLayer gridLayer,
RelationGridData gridData,
DefinitionUtils definitionUtils,
SessionManager sessionManager,
SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
DefaultCanvasCommandFactory canvasCommandFactory,
javax.enterprise.event.Event<ExpressionEditorChanged> editorSelectedEvent,
javax.enterprise.event.Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
javax.enterprise.event.Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
CellEditorControlsView.Presenter cellEditorControls,
ListSelectorView.Presenter listSelector,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
boolean isOnlyVisualChangeAllowed,
int nesting,
NameAndDataTypePopoverView.Presenter headerEditor) |
Modifier and Type | Method and Description |
---|---|
void |
doAfterHeaderSelectionChange(int uiHeaderRowIndex,
int uiHeaderColumnIndex) |
void |
doAfterSelectionChange(int uiRowIndex,
int uiColumnIndex) |
protected void |
doInitialisation() |
List<HasListSelectorControl.ListSelectorItem> |
getItems(int uiRowIndex,
int uiColumnIndex) |
void |
initialiseUiCells() |
void |
initialiseUiColumns() |
void |
initialiseUiRows() |
RelationUIModelMapper |
makeUiModelMapper() |
void |
onItemSelected(HasListSelectorControl.ListSelectorItem item) |
adjustSelection, clearDisplayNameConsumer, deselect, destroyResources, doResize, extractEditableHeaderMetaData, findParentGrid, getBodyListBoxFactory, getBodyTextAreaFactory, getGridPanel, getHeaderTextAreaFactory, getHeaderTextBoxFactory, getLayer, getMinimumWidth, getNodeMouseClickEventHandlers, getNodeMouseDoubleClickEventHandlers, getPadding, getParentInformation, getUpdateStunnerTitleCommand, getViewport, hasAnyHeaderCellSelected, hasMultipleCellsSelected, isCacheable, newCellHasNoValueCommand, newCellHasValueCommand, newHasNameHasNoValueCommand, newHasNameHasValueCommand, newHeaderHasNoValueCommand, newHeaderHasValueCommand, onDragHandle, resize, select, selectCell, selectCell, selectExpressionEditorFirstCell, selectFirstCell, selectHeaderCell, selectHeaderCell, setDisplayNameConsumer, setTypeRefConsumer
fireDomainObjectSelectionEvent, fireDomainObjectSelectionEvent, getAndSetInitialWidth, getExpression, getNodeUUID, isOnlyVisualChangeAllowed, registerColumnResizeCompleted, showContextMenuForCell, showContextMenuForHeader
addCommandsToRenderQueue, addCommandToRenderQueue, drawBody, drawHeader, drawWithoutTransforms, executeRenderQueueCommands, getBaseGridRendererHelper, getBody, getCellSelectionManager, getGridMouseClickHandler, getGridMouseDoubleClickHandler, getHeader, getHeight, getModel, getRenderer, getRendererHelper, getWidth, isSelected, onGroupingToggle, onNodeMouseClick, renderGridBodyWidget, renderGridBoundary, renderGridHeaderWidget, renderSelectedRanges, setRenderer, setVisible, startEditingCell, startEditingCell
asGroup, getDefaultStorageEngine
add, add, asContainer, asGroupOf, asPrimitive, attachToLayerColorMap, batch, destroy, destroy, detachFromLayerColorMap, draw, find, getAlpha, getBoundingBoxAttributes, getControlHandleFactory, getControlHandles, getControlHandles, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFactory, getFillAlpha, getGroupType, getLocation, getOffset, getRotation, getRotationDegrees, getScale, getShear, getStrokeAlpha, getTransformingAttributes, getX, getY, isDraggable, isDragging, isEditable, moveDown, moveToBottom, moveToTop, moveUp, refresh, remove, removeAll, removeFromParent, setAlpha, setControlHandleFactory, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setGroupType, setLocation, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setShear, setShear, setStrokeAlpha, setX, setY, toJSONObject
asContainerNode, copy, find, findByID, getBoundingBox, getChildNodes, getChildNodes, getPathClipper, getStorageBounds, getStorageEngine, length, moveDown, moveToBottom, moveToTop, moveUp, setPathClipper, setStorageBounds, setStorageEngine
addAttributesChangedHandler, addEnsureHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, addParentsLocations, animate, animate, asAttributes, asAttributes, asGuide, asLayer, asList, asMultiPointShape, asNode, asScene, asShape, asViewport, cancelAttributesChangedBatcher, cast, copyUnchecked, doAnimating, drawWithTransforms, drawWithTransforms, equals, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingPoints, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getMetaData, getName, getNodeType, getOverLayer, getParent, getPossibleNodeTransform, getRequiredAttributes, getScene, getScratchPad, getUserData, hashCode, hasMetaData, isAnimating, isEventHandled, isEventHandledGlobally, isListening, isVisible, onWire, setAttributesChangedBatcher, setID, setListening, setName, setNodeType, setParent, setUserData, toJSONString, toString, unAnimating, uuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
attachToLayerColorMap, detachFromLayerColorMap, getAlpha, getControlHandleFactory, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFillAlpha, getLocation, getOffset, getRotation, getRotationDegrees, getScale, getShear, getStrokeAlpha, getX, getY, isDraggable, isDragging, isEditable, setAlpha, setControlHandleFactory, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setLocation, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setShear, setShear, setStrokeAlpha, setX, setY
addAttributesChangedHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, animate, animate, asContainer, asContainerNode, asGroup, asGroupOf, asGuide, asLayer, asMultiPointShape, asNode, asPrimitive, asScene, asShape, asViewport, batch, cancelAttributesChangedBatcher, copy, draw, drawWithTransforms, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingBox, getBoundingBoxAttributes, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getMetaData, getName, getNodeType, getOverLayer, getParent, getRequiredAttributes, getScene, getScratchPad, getTransformingAttributes, getUserData, hasMetaData, isEventHandled, isListening, isVisible, moveDown, moveToBottom, moveToTop, moveUp, refresh, removeFromParent, setAttributesChangedBatcher, setID, setListening, setName, setUserData, uuid
public RelationGrid(GridCellTuple parent, Optional<String> nodeUUID, HasExpression hasExpression, Optional<HasName> hasName, DMNGridPanel gridPanel, DMNGridLayer gridLayer, RelationGridData gridData, DefinitionUtils definitionUtils, SessionManager sessionManager, SessionCommandManager<AbstractCanvasHandler> sessionCommandManager, DefaultCanvasCommandFactory canvasCommandFactory, javax.enterprise.event.Event<ExpressionEditorChanged> editorSelectedEvent, javax.enterprise.event.Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent, javax.enterprise.event.Event<DomainObjectSelectionEvent> domainObjectSelectionEvent, CellEditorControlsView.Presenter cellEditorControls, ListSelectorView.Presenter listSelector, org.jboss.errai.ui.client.local.spi.TranslationService translationService, boolean isOnlyVisualChangeAllowed, int nesting, NameAndDataTypePopoverView.Presenter headerEditor)
protected void doInitialisation()
doInitialisation
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
public RelationUIModelMapper makeUiModelMapper()
makeUiModelMapper
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
public void initialiseUiColumns()
initialiseUiColumns
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
public void initialiseUiRows()
initialiseUiRows
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
public void initialiseUiCells()
initialiseUiCells
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
public List<HasListSelectorControl.ListSelectorItem> getItems(int uiRowIndex, int uiColumnIndex)
getItems
in interface HasListSelectorControl
public void onItemSelected(HasListSelectorControl.ListSelectorItem item)
onItemSelected
in interface HasListSelectorControl
public void doAfterSelectionChange(int uiRowIndex, int uiColumnIndex)
doAfterSelectionChange
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
public void doAfterHeaderSelectionChange(int uiHeaderRowIndex, int uiHeaderColumnIndex)
doAfterHeaderSelectionChange
in class BaseExpressionGrid<Relation,RelationGridData,RelationUIModelMapper>
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.