public class DecisionTableGrid extends BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper> implements HasListSelectorControl, HasHitPolicyControl
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
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION_GROUP |
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 |
---|
DecisionTableGrid(GridCellTuple parent,
Optional<String> nodeUUID,
HasExpression hasExpression,
Optional<HasName> hasName,
DMNGridPanel gridPanel,
DMNGridLayer gridLayer,
DecisionTableGridData 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,
HitPolicyPopoverView.Presenter hitPolicyEditor,
NameAndDataTypePopoverView.Presenter headerEditor) |
Modifier and Type | Method and Description |
---|---|
void |
doAfterHeaderSelectionChange(int uiHeaderRowIndex,
int uiHeaderColumnIndex) |
void |
doAfterSelectionChange(int uiRowIndex,
int uiColumnIndex) |
protected void |
doInitialisation() |
BuiltinAggregator |
getBuiltinAggregator() |
HitPolicy |
getHitPolicy() |
List<HasListSelectorControl.ListSelectorItem> |
getItems(int uiRowIndex,
int uiColumnIndex) |
void |
initialiseUiCells() |
void |
initialiseUiColumns() |
void |
initialiseUiRows() |
DecisionTableUIModelMapper |
makeUiModelMapper() |
void |
onItemSelected(HasListSelectorControl.ListSelectorItem item) |
void |
setBuiltinAggregator(BuiltinAggregator aggregator) |
void |
setHitPolicy(HitPolicy hitPolicy,
org.uberfire.mvp.Command onSuccess) |
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 static final String DESCRIPTION_GROUP
public DecisionTableGrid(GridCellTuple parent, Optional<String> nodeUUID, HasExpression hasExpression, Optional<HasName> hasName, DMNGridPanel gridPanel, DMNGridLayer gridLayer, DecisionTableGridData 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, HitPolicyPopoverView.Presenter hitPolicyEditor, NameAndDataTypePopoverView.Presenter headerEditor)
protected void doInitialisation()
doInitialisation
in class BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper>
public DecisionTableUIModelMapper makeUiModelMapper()
makeUiModelMapper
in class BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper>
public void initialiseUiColumns()
initialiseUiColumns
in class BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper>
public void initialiseUiRows()
initialiseUiRows
in class BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper>
public void initialiseUiCells()
initialiseUiCells
in class BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper>
public List<HasListSelectorControl.ListSelectorItem> getItems(int uiRowIndex, int uiColumnIndex)
getItems
in interface HasListSelectorControl
public void onItemSelected(HasListSelectorControl.ListSelectorItem item)
onItemSelected
in interface HasListSelectorControl
public HitPolicy getHitPolicy()
getHitPolicy
in interface HasHitPolicyControl
public BuiltinAggregator getBuiltinAggregator()
getBuiltinAggregator
in interface HasHitPolicyControl
public void setHitPolicy(HitPolicy hitPolicy, org.uberfire.mvp.Command onSuccess)
setHitPolicy
in interface HasHitPolicyControl
public void setBuiltinAggregator(BuiltinAggregator aggregator)
setBuiltinAggregator
in interface HasHitPolicyControl
public void doAfterSelectionChange(int uiRowIndex, int uiColumnIndex)
doAfterSelectionChange
in class BaseExpressionGrid<DecisionTable,DecisionTableGridData,DecisionTableUIModelMapper>
public void doAfterHeaderSelectionChange(int uiHeaderRowIndex, int uiHeaderColumnIndex)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.