Class MxSymbolActivityNode
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.neotropic.flow.component.mxgraph.MxGraphCell
-
- com.neotropic.flow.component.mxgraph.MxGraphNode
-
- com.neotropic.flow.component.mxgraph.bpmn.BPMNNode
-
- com.neotropic.flow.component.mxgraph.bpmn.SymbolNode
-
- com.neotropic.kuwaiba.modules.commercial.processman.diagram.mx.MxSymbolActivityNode
-
- All Implemented Interfaces:
ActivityNode,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,Serializable,Cloneable
public class MxSymbolActivityNode extends com.neotropic.flow.component.mxgraph.bpmn.SymbolNode implements ActivityNode
- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.neotropic.flow.component.mxgraph.bpmn.SymbolNode
com.neotropic.flow.component.mxgraph.bpmn.SymbolNode.SymbolType
-
Nested classes/interfaces inherited from interface com.neotropic.kuwaiba.modules.commercial.processman.diagram.provider.ActivityNode
ActivityNode.ClickEvent, ActivityNode.ClickListener, ActivityNode.Event<T extends ActivityNode.Listener>, ActivityNode.Listener
-
-
Field Summary
-
Fields inherited from class com.neotropic.flow.component.mxgraph.bpmn.BPMNNode
ICON_HEIGHT, ICON_WIDTH, NODE_TYPE_EVENT, NODE_TYPE_GATEWAY, NODE_TYPE_LABEL, NODE_TYPE_LINK, NODE_TYPE_SUBPROCESS, NODE_TYPE_SWIMLANE, NODE_TYPE_TASK
-
Fields inherited from class com.neotropic.flow.component.mxgraph.MxGraphCell
PROPERTY_ANIMATE_ON_SELECT, PROPERTY_CELL_LAYER, PROPERTY_CELL_PARENT, PROPERTY_CURVED, PROPERTY_DASHED, PROPERTY_EDGE, PROPERTY_FONT_COLOR, PROPERTY_HEIGHT, PROPERTY_IMAGE, PROPERTY_LABEL, PROPERTY_LABEL_BACKGROUND_COLOR, PROPERTY_LAYER, PROPERTY_PERIMETER_SPACING, PROPERTY_POINTS, PROPERTY_RAW_STYLE, PROPERTY_SELECTABLE, PROPERTY_SOURCE, PROPERTY_SOURCE_LABEL, PROPERTY_STROKE_COLOR, PROPERTY_STROKE_WIDTH, PROPERTY_STYLE_NAME, PROPERTY_TAG, PROPERTY_TARGET, PROPERTY_TARGET_LABEL, PROPERTY_USE_PORT_TO_CONNECT, PROPERTY_UUID, PROPERTY_VERTEX, PROPERTY_WIDTH, PROPERTY_X, PROPERTY_Y
-
-
Constructor Summary
Constructors Constructor Description MxSymbolActivityNode(com.neotropic.flow.component.mxgraph.bpmn.BPMNDiagram graph, com.neotropic.flow.component.mxgraph.bpmn.SymbolNode.SymbolType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClickListener(ActivityNode.ClickListener listener)Adds a click listener.booleanisEnabled()booleanisExecuted()voidremoveAllClickListeners()Removes all click listener.voidremoveClickListener(ActivityNode.ClickListener listener)Removes a click listener.voidsetEnabled(boolean enabled)Sets if the activity is enabled.voidsetExecuted(boolean execute)Sets if the activity was executed.-
Methods inherited from class com.neotropic.flow.component.mxgraph.bpmn.SymbolNode
getType, isEvent, isGateway
-
Methods inherited from class com.neotropic.flow.component.mxgraph.bpmn.BPMNNode
getGenericType, isLabel, isShowNewSubprocessOption, isSubprocess, isSwimlane, isSymbol, isTask, setGenericType, setShowNewSubprocessOption
-
Methods inherited from class com.neotropic.flow.component.mxgraph.MxGraphCell
addCell, addCellAddedListener, addCellParentChangedListener, addCellPositionChangedListener, addClickCellListener, addClickOverlayButtonListener, addOnClickOverlayButtonListener, addOverlayButton, addOverlayButton, addOverlayButton, addPoint, addPortToConnect, addRawStyleToCurrent, addRightClickCellListener, clearCellOverlays, equals, getCellLayer, getCellParent, getCellVisible, getCollapsed, getConnectable, getFillColor, getFontColor, getFontSize, getHeight, getImage, getIsEdge, getIsLayer, getIsVertex, getLabel, getLabelBackgroundColor, getPerimeterSpacing, getPointList, getPoints, getProperties, getRawStyle, getRawStyleAsMap, getShape, getSource, getSourceLabel, getStrokeColor, getStrokeWidth, getStyleName, getTarget, getTargetLabel, getTooltip, getUuid, getWidth, getX, getY, hashCode, isCurved, isDashed, isMovable, orderCell, overrideStyle, removeOverlayButton, removeOverlayButtons, selectCell, setAddsOverlayButtons, setAnimateOnSelect, setAutosize, setCellLayer, setCellParent, setCellVisible, setChildrenCellPosition, setCollapsed, setConnectable, setEdgeStyle, setFillColor, setFontColor, setFontSize, setGeometry, setGeometry, setGeometry, setGeometry, setHeight, setImage, setIsConstituent, setIsCurved, setIsDashed, setIsEdge, setIsEditable, setIsFoldable, setIsLayer, setIsMovable, setIsResizable, setIsSelectable, setIsVertex, setLabel, setLabelBackgroundColor, setLabelPosition, setMovable, setPerimeterSpacing, setPoints, setPoints, setProperties, setRawStyle, setRawStyle, setRotation, setSelfPosition, setShape, setShowOverlayButtonsOnSelect, setSource, setSourceLabel, setStrokeColor, setStrokeWidth, setStyle, setStyleName, setTag, setTarget, setTargetLabel, setTooltip, setUsePortToConnect, setUuid, setVerticalAlign, setVerticalLabelPosition, setWidth, setX, setY, toggleCell, toggleVisibility, updateCellSize, updateCellSize, updatePosition
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceActivityNode- Specified by:
isEnabledin interfacecom.vaadin.flow.component.HasEnabled- Returns:
- True if the activity is enabled.
-
setEnabled
public void setEnabled(boolean enabled)
Description copied from interface:ActivityNodeSets if the activity is enabled.- Specified by:
setEnabledin interfaceActivityNode- Specified by:
setEnabledin interfacecom.vaadin.flow.component.HasEnabled- Parameters:
enabled- Set true if the activity is enabled.
-
isExecuted
public boolean isExecuted()
- Specified by:
isExecutedin interfaceActivityNode- Returns:
- True if the activity was executed
-
setExecuted
public void setExecuted(boolean execute)
Description copied from interface:ActivityNodeSets if the activity was executed.- Specified by:
setExecutedin interfaceActivityNode- Parameters:
execute- Set true if the activity was executed.
-
addClickListener
public void addClickListener(ActivityNode.ClickListener listener)
Description copied from interface:ActivityNodeAdds a click listener.- Specified by:
addClickListenerin interfaceActivityNode- Parameters:
listener- The click listener.
-
removeClickListener
public void removeClickListener(ActivityNode.ClickListener listener)
Description copied from interface:ActivityNodeRemoves a click listener.- Specified by:
removeClickListenerin interfaceActivityNode- Parameters:
listener- Click listener.
-
removeAllClickListeners
public void removeAllClickListeners()
Description copied from interface:ActivityNodeRemoves all click listener.- Specified by:
removeAllClickListenersin interfaceActivityNode
-
-