public class WiresConnectorView<T> extends com.ait.lienzo.client.core.shape.wires.WiresConnector implements ShapeView<T>, IsConnector<T>, HasControlPoints<T>, HasDecorators<com.ait.lienzo.client.core.shape.Shape<?>>
HasControlPoints.ControlPointType| Modifier and Type | Field and Description |
|---|---|
protected String |
uuid |
UUID_PREFIX| 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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areControlsVisible() |
T |
connect(ShapeView headShapeView,
Magnet headMagnetDef,
ShapeView tailShapeView,
Magnet tailMagnetDef,
boolean tailArrow,
boolean headArrow) |
void |
destroy() |
double |
getAlpha() |
com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl |
getControl() |
List<com.ait.lienzo.client.core.shape.Shape<?>> |
getDecorators() |
double |
getFillAlpha() |
String |
getFillColor() |
Point2D |
getShapeAbsoluteLocation() |
double |
getShapeX() |
double |
getShapeY() |
double |
getStrokeAlpha() |
String |
getStrokeColor() |
double |
getStrokeWidth() |
String |
getUUID() |
T |
hideControlPoints() |
T |
moveDown() |
T |
moveToBottom() |
T |
moveToTop() |
T |
moveUp() |
void |
removeFromParent() |
T |
setAlpha(double alpha) |
T |
setControl(com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl connectorControl) |
T |
setFillAlpha(double alpha) |
T |
setFillColor(String color) |
T |
setShapeX(double x) |
T |
setShapeY(double y) |
T |
setStrokeAlpha(double alpha) |
T |
setStrokeColor(String color) |
T |
setStrokeWidth(double width) |
T |
setUUID(String uuid) |
T |
showControlPoints(HasControlPoints.ControlPointType type) |
addToLayer, destroyPointHandles, getConnectionAcceptor, getGroup, getHead, getHeadConnection, getHeadDecorator, getLine, getPointHandles, getTail, getTailConnection, getTailDecorator, removeFromLayer, setConnectionAcceptor, setDraggable, setHeadConnection, setHeadMagnet, setPointHandles, setTailConnection, setTailMagnet, setWiresConnectorHandler, 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 T setControl(com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl connectorControl)
public com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl getControl()
public T connect(ShapeView headShapeView, Magnet headMagnetDef, ShapeView tailShapeView, Magnet tailMagnetDef, boolean tailArrow, boolean headArrow)
connect in interface IsConnector<T>public void removeFromParent()
removeFromParent 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 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 void destroy()
public List<com.ait.lienzo.client.core.shape.Shape<?>> getDecorators()
getDecorators in interface HasDecorators<com.ait.lienzo.client.core.shape.Shape<?>>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.