Class FiberNode
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.neotropic.flow.component.mxgraph.MxGraphCell
-
- com.neotropic.flow.component.mxgraph.MxGraphNode
-
- org.neotropic.kuwaiba.visualization.mxgraph.MxBusinessObjectNode
-
- com.neotropic.kuwaiba.modules.commercial.ospman.dialogs.TreeLayoutNode
-
- com.neotropic.kuwaiba.modules.commercial.ospman.dialogs.FiberNode
-
- All Implemented Interfaces:
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 FiberNode extends TreeLayoutNode
Represents a fiber in the mid-span access and splicing view- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
-
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 FiberNode(BusinessObjectLight fiberObject, TreeLayout treeLayout, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, PhysicalConnectionsService physicalConnectionsService, Consumer<BusinessObjectLight> consumerObjectChange, LoggingService log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColor()
BusinessObjectLight
getFiberObject()
boolean
isLeftover()
void
release()
void
splice()
-
Methods inherited from class com.neotropic.kuwaiba.modules.commercial.ospman.dialogs.TreeLayoutNode
collapse, expand, getNode, getNodeChildren, getNodeHeight, getNodeLevel, getNodeWidth, getNodeX, getNodeY, getParentNode, getTreeLayout, isLeaf, isNodeExpanded, isNodeVisible, setCellVisible, setIsLeaf, setNodeChildren, setNodeExpanded, setNodeHeight, setNodeLevel, setNodeVisible, setNodeWidth, setNodeX, setNodeY, setParentNode, setTreeLayout
-
Methods inherited from class org.neotropic.kuwaiba.visualization.mxgraph.MxBusinessObjectNode
getBusinessObject, setBusinessObject
-
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, 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
-
-
-
-
Constructor Detail
-
FiberNode
public FiberNode(BusinessObjectLight fiberObject, TreeLayout treeLayout, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, PhysicalConnectionsService physicalConnectionsService, Consumer<BusinessObjectLight> consumerObjectChange, LoggingService log) throws InventoryException
- Throws:
InventoryException
-
-
Method Detail
-
isLeftover
public boolean isLeftover()
-
getColor
public String getColor()
-
getFiberObject
public BusinessObjectLight getFiberObject()
-
splice
public void splice() throws InventoryException
- Throws:
InventoryException
-
release
public void release() throws InventoryException
- Throws:
InventoryException
-
-