public class WiresConnectorViewExt<T> extends WiresConnectorView<T> implements HasTitle<T>, HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>
HasTitle.PositionHasControlPoints.ControlPointType| Modifier and Type | Field and Description |
|---|---|
protected ViewEventHandlerManager |
eventHandlerManager |
protected com.ait.lienzo.client.core.shape.Text |
text |
protected com.ait.lienzo.client.core.shape.wires.LayoutContainer.Layout |
textPosition |
protected double |
textRotationDegrees |
uuidUUID_PREFIX| Constructor and Description |
|---|
WiresConnectorViewExt(ViewEventType[] supportedEventTypes,
com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<?> line,
com.ait.lienzo.client.core.shape.MultiPathDecorator headDecorator,
com.ait.lienzo.client.core.shape.MultiPathDecorator tailDecorator) |
WiresConnectorViewExt(ViewEventType[] supportedEventTypes,
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 |
|---|---|
T |
addHandler(ViewEventType type,
ViewHandler<? extends ViewEvent> eventHandler) |
void |
destroy() |
T |
disableHandlers() |
T |
enableHandlers() |
com.ait.lienzo.client.core.shape.Shape<?> |
getAttachableShape() |
protected void |
init(ViewEventType[] supportedEventTypes) |
T |
moveTitleToTop() |
T |
removeHandler(ViewHandler<? extends ViewEvent> eventHandler) |
T |
setTitle(String title) |
T |
setTitleAlpha(double alpha) |
T |
setTitleFontColor(String fillColor) |
T |
setTitleFontFamily(String fontFamily) |
T |
setTitleFontSize(double fontSize) |
T |
setTitlePosition(HasTitle.Position position) |
T |
setTitleRotation(double degrees) |
T |
setTitleStrokeColor(String color) |
T |
setTitleStrokeWidth(double strokeWidth) |
boolean |
supports(ViewEventType type) |
areControlsVisible, connect, getAlpha, getControl, getDecorators, getFillAlpha, getFillColor, getShapeAbsoluteLocation, getShapeX, getShapeY, getStrokeAlpha, getStrokeColor, getStrokeWidth, getUUID, hideControlPoints, moveDown, moveToBottom, moveToTop, moveUp, removeFromParent, setAlpha, setControl, setFillAlpha, setFillColor, setShapeX, setShapeY, setStrokeAlpha, setStrokeColor, setStrokeWidth, setUUID, showControlPointsaddToLayer, destroyPointHandles, getConnectionAcceptor, getGroup, getHead, getHeadConnection, getHeadDecorator, getLine, getPointHandles, getTail, getTailConnection, getTailDecorator, removeFromLayer, setConnectionAcceptor, setDraggable, setHeadConnection, setHeadMagnet, setPointHandles, setTailConnection, setTailMagnet, setWiresConnectorHandler, uuidprotected ViewEventHandlerManager eventHandlerManager
protected com.ait.lienzo.client.core.shape.Text text
protected com.ait.lienzo.client.core.shape.wires.LayoutContainer.Layout textPosition
protected double textRotationDegrees
public WiresConnectorViewExt(ViewEventType[] supportedEventTypes, 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 WiresConnectorViewExt(ViewEventType[] supportedEventTypes, 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)
protected void init(ViewEventType[] supportedEventTypes)
public boolean supports(ViewEventType type)
supports in interface HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>public com.ait.lienzo.client.core.shape.Shape<?> getAttachableShape()
getAttachableShape in interface HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>public T addHandler(ViewEventType type, ViewHandler<? extends ViewEvent> eventHandler)
addHandler in interface HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>public T removeHandler(ViewHandler<? extends ViewEvent> eventHandler)
removeHandler in interface HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>public T disableHandlers()
disableHandlers in interface HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>public T enableHandlers()
enableHandlers in interface HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>public T setTitlePosition(HasTitle.Position position)
setTitlePosition in interface HasTitle<T>public T setTitleRotation(double degrees)
setTitleRotation in interface HasTitle<T>public T setTitleStrokeColor(String color)
setTitleStrokeColor in interface HasTitle<T>public T setTitleFontFamily(String fontFamily)
setTitleFontFamily in interface HasTitle<T>public T setTitleFontSize(double fontSize)
setTitleFontSize in interface HasTitle<T>public T setTitleFontColor(String fillColor)
setTitleFontColor in interface HasTitle<T>public T setTitleStrokeWidth(double strokeWidth)
setTitleStrokeWidth in interface HasTitle<T>public T moveTitleToTop()
moveTitleToTop in interface HasTitle<T>public T setTitleAlpha(double alpha)
setTitleAlpha in interface HasTitle<T>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.