public class WiresShapeViewExt<T extends WiresShapeViewExt> extends WiresShapeView<T> implements HasTitle<T>, HasControlPoints<T>, HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>, HasFillGradient<T>
HasTitle.PositionHasControlPoints.ControlPointTypeHasFillGradient.TypeUUID_PREFIX| Constructor and Description |
|---|
WiresShapeViewExt(ViewEventType[] supportedEventTypes,
com.ait.lienzo.client.core.shape.MultiPath path) |
WiresShapeViewExt(ViewEventType[] supportedEventTypes,
com.ait.lienzo.client.core.shape.MultiPath path,
com.ait.lienzo.client.core.shape.wires.LayoutContainer layoutContainer) |
| Modifier and Type | Method and Description |
|---|---|
T |
addHandler(ViewEventType type,
ViewHandler<? extends ViewEvent> eventHandler) |
boolean |
areControlsVisible() |
void |
destroy() |
T |
disableHandlers() |
T |
enableHandlers() |
com.ait.lienzo.client.core.shape.Shape<?> |
getAttachableShape() |
T |
hideControlPoints() |
protected void |
initialize(ViewEventType[] supportedEventTypes) |
protected void |
initializeHandlerManager(com.ait.lienzo.client.core.shape.Node<?> node,
com.ait.lienzo.client.core.shape.Node<?> path,
ViewEventType[] supportedEventTypes) |
protected void |
initializeTextView() |
T |
moveTitleToTop() |
T |
removeHandler(ViewHandler<? extends ViewEvent> eventHandler) |
T |
setFillGradient(HasFillGradient.Type type,
String startColor,
String endColor) |
T |
setTitle(String title) |
T |
setTitleAlpha(double alpha) |
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) |
T |
showControlPoints(HasControlPoints.ControlPointType type) |
boolean |
supports(ViewEventType type) |
T |
updateFillGradient(double width,
double height) |
getAlpha, getDragEnforcer, getFillAlpha, getFillColor, getShape, getShapeAbsoluteLocation, getShapeX, getShapeY, getStrokeAlpha, getStrokeColor, getStrokeWidth, getUUID, moveDown, moveToBottom, moveToTop, moveUp, setAlpha, setDragBounds, setFillAlpha, setFillColor, setShapeX, setShapeY, setStrokeAlpha, setStrokeColor, setStrokeWidth, setUUID, unsetDragBoundsaddChild, addChild, addWiresResizeEndHandler, addWiresResizeStartHandler, addWiresResizeStepHandler, addWiresShapeHandler, createControlHandles, getControls, getMagnets, getPath, getX, getY, isResizable, loadControls, preDestroy, refresh, removeChild, removeFromParent, setDraggable, setMagnets, setResizable, setX, setY, uuidadd, addWiresDragEndHandler, addWiresDragMoveHandler, addWiresDragStartHandler, addWiresMoveHandler, getChildShapes, getContainer, getContainmentAcceptor, getDockedTo, getDockingAcceptor, getGroup, getHandlerManager, getLayoutHandler, getParent, remove, setContainer, setContainmentAcceptor, setDockedTo, setDockingAcceptor, setLayoutHandler, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveFromParentpublic WiresShapeViewExt(ViewEventType[] supportedEventTypes, com.ait.lienzo.client.core.shape.MultiPath path)
public WiresShapeViewExt(ViewEventType[] supportedEventTypes, com.ait.lienzo.client.core.shape.MultiPath path, com.ait.lienzo.client.core.shape.wires.LayoutContainer layoutContainer)
public boolean supports(ViewEventType type)
supports in interface HasEventHandlers<T extends WiresShapeViewExt,com.ait.lienzo.client.core.shape.Shape<?>>public com.ait.lienzo.client.core.shape.Shape<?> getAttachableShape()
getAttachableShape in interface HasEventHandlers<T extends WiresShapeViewExt,com.ait.lienzo.client.core.shape.Shape<?>>public T setTitle(String title)
setTitle in interface HasTitle<T extends WiresShapeViewExt>public T setTitlePosition(HasTitle.Position position)
setTitlePosition in interface HasTitle<T extends WiresShapeViewExt>public T setTitleRotation(double degrees)
setTitleRotation in interface HasTitle<T extends WiresShapeViewExt>public T setTitleStrokeColor(String color)
setTitleStrokeColor in interface HasTitle<T extends WiresShapeViewExt>public T setTitleFontFamily(String fontFamily)
setTitleFontFamily in interface HasTitle<T extends WiresShapeViewExt>public T setTitleFontSize(double fontSize)
setTitleFontSize in interface HasTitle<T extends WiresShapeViewExt>public T setTitleAlpha(double alpha)
setTitleAlpha in interface HasTitle<T extends WiresShapeViewExt>public T setTitleStrokeWidth(double strokeWidth)
setTitleStrokeWidth in interface HasTitle<T extends WiresShapeViewExt>public T moveTitleToTop()
moveTitleToTop in interface HasTitle<T extends WiresShapeViewExt>public T setFillGradient(HasFillGradient.Type type, String startColor, String endColor)
setFillGradient in interface HasFillGradient<T extends WiresShapeViewExt>public T updateFillGradient(double width, double height)
public T showControlPoints(HasControlPoints.ControlPointType type)
showControlPoints in interface HasControlPoints<T extends WiresShapeViewExt>public T hideControlPoints()
hideControlPoints in interface HasControlPoints<T extends WiresShapeViewExt>public boolean areControlsVisible()
areControlsVisible in interface HasControlPoints<T extends WiresShapeViewExt>public void destroy()
destroy in interface ShapeView<T extends WiresShapeViewExt>destroy in class WiresShapeView<T extends WiresShapeViewExt>public T addHandler(ViewEventType type, ViewHandler<? extends ViewEvent> eventHandler)
addHandler in interface HasEventHandlers<T extends WiresShapeViewExt,com.ait.lienzo.client.core.shape.Shape<?>>public T removeHandler(ViewHandler<? extends ViewEvent> eventHandler)
removeHandler in interface HasEventHandlers<T extends WiresShapeViewExt,com.ait.lienzo.client.core.shape.Shape<?>>public T enableHandlers()
enableHandlers in interface HasEventHandlers<T extends WiresShapeViewExt,com.ait.lienzo.client.core.shape.Shape<?>>public T disableHandlers()
disableHandlers in interface HasEventHandlers<T extends WiresShapeViewExt,com.ait.lienzo.client.core.shape.Shape<?>>protected void initialize(ViewEventType[] supportedEventTypes)
protected void initializeHandlerManager(com.ait.lienzo.client.core.shape.Node<?> node,
com.ait.lienzo.client.core.shape.Node<?> path,
ViewEventType[] supportedEventTypes)
protected void initializeTextView()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.