public class WiresConnectorView<T> extends com.ait.lienzo.client.core.shape.wires.WiresConnector implements LienzoShapeView<T>, IsConnector<T>, HasManageableControlPoints<T>, HasDragBounds<T>
HasControlPoints.ControlPointType| Constructor and Description |
|---|
WiresConnectorView(com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<?> line,
com.ait.lienzo.client.core.shape.MultiPathDecorator headDecorator,
com.ait.lienzo.client.core.shape.MultiPathDecorator tailDecorator) |
WiresConnectorView(com.ait.lienzo.client.core.shape.wires.WiresMagnet headMagnet,
com.ait.lienzo.client.core.shape.wires.WiresMagnet tailMagnet,
com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<?> line,
com.ait.lienzo.client.core.shape.MultiPathDecorator headDecorator,
com.ait.lienzo.client.core.shape.MultiPathDecorator tailDecorator) |
addControlPoint, addToLayer, addWiresConnectorPointsChangedHandler, destroy, destroyControlPoints, destroyPointHandles, equals, firePointsUpdated, getControl, getControlPointIndex, getControlPoints, getGroup, getHead, getHeadConnection, getHeadDecorator, getIndexForSelectedSegment, getIndexForSelectedSegment, getLine, getMagnetsOnAutoConnection, getPointHandles, getTail, getTailConnection, getTailDecorator, hashCode, isSpecialConnection, moveControlPoint, removeFromLayer, select, setControl, setDraggable, setHeadConnection, setHeadMagnet, setPointHandles, setTailConnection, setTailMagnet, unselect, updateForAutoConnections, updateForAutoConnections, updateForCenterConnection, updateForCenterConnection, updateForSpecialConnections, updateHeadTailForRefreshedConnector, uuidprotected String uuid
public WiresConnectorView(com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<?> line,
com.ait.lienzo.client.core.shape.MultiPathDecorator headDecorator,
com.ait.lienzo.client.core.shape.MultiPathDecorator tailDecorator)
public WiresConnectorView(com.ait.lienzo.client.core.shape.wires.WiresMagnet headMagnet,
com.ait.lienzo.client.core.shape.wires.WiresMagnet tailMagnet,
com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<?> line,
com.ait.lienzo.client.core.shape.MultiPathDecorator headDecorator,
com.ait.lienzo.client.core.shape.MultiPathDecorator tailDecorator)
public List<ControlPoint> addControlPoints(ControlPoint... controlPoint)
addControlPoints in interface HasManageableControlPoints<T>public T updateControlPoint(ControlPoint controlPoint)
updateControlPoint in interface HasManageableControlPoints<T>public T removeControlPoints(ControlPoint... cps)
removeControlPoints in interface HasManageableControlPoints<T>public List<ControlPoint> getShapeControlPoints()
getShapeControlPoints in interface HasManageableControlPoints<T>public T connect(ShapeView headShapeView, Connection headConnection, ShapeView tailShapeView, Connection tailConnection)
connect in interface IsConnector<T>public T setShapeLocation(Point2D location)
setShapeLocation in interface ShapeView<T>public Point2D getShapeAbsoluteLocation()
getShapeAbsoluteLocation in interface ShapeView<T>public String getFillColor()
getFillColor in interface ShapeView<T>public T setFillColor(String color)
setFillColor in interface ShapeView<T>public double getFillAlpha()
getFillAlpha in interface ShapeView<T>public T setFillAlpha(double alpha)
setFillAlpha in interface ShapeView<T>public String getStrokeColor()
getStrokeColor in interface ShapeView<T>public T setStrokeColor(String color)
setStrokeColor in interface ShapeView<T>public double getStrokeAlpha()
getStrokeAlpha in interface ShapeView<T>public T setStrokeAlpha(double alpha)
setStrokeAlpha in interface ShapeView<T>public double getStrokeWidth()
getStrokeWidth in interface ShapeView<T>public T setStrokeWidth(double width)
setStrokeWidth in interface ShapeView<T>public T setDragEnabled(boolean draggable)
setDragEnabled in interface ShapeView<T>public T moveToBottom()
moveToBottom in interface ShapeView<T>public T showControlPoints(HasControlPoints.ControlPointType type)
showControlPoints in interface HasControlPoints<T>public T hideControlPoints()
hideControlPoints in interface HasControlPoints<T>public boolean areControlsVisible()
areControlsVisible in interface HasControlPoints<T>public List<com.ait.lienzo.client.core.shape.Shape<?>> getDecorators()
getDecorators in interface HasDecorators<com.ait.lienzo.client.core.shape.Shape<?>>public BoundingBox getBoundingBox()
getBoundingBox in interface ShapeView<T>public void removeFromParent()
removeFromParent in interface ShapeView<T>public T removeShadow()
removeShadow in interface HasShadow<T>public Object getUserData()
getUserData in interface ShapeView<T>public void setUserData(Object userData)
setUserData in interface ShapeView<T>public T setDragBounds(double x0, double y0, double x1, double y1)
setDragBounds in interface HasDragBounds<T>public T unsetDragBounds()
unsetDragBounds in interface HasDragBounds<T>Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.