public abstract class BasicShapeView<T> extends AbstractShapeView<T> implements HasTitle<T>, HasControlPoints<T>, HasEventHandlers<T,com.ait.lienzo.client.core.shape.Shape<?>>, HasFillGradient<T>, HasChildren<BasicShapeView<T>>
HasTitle.PositionHasControlPoints.ControlPointTypeHasFillGradient.TypeHasChildren.LayoutUUID_PREFIX| Constructor and Description |
|---|
BasicShapeView(ViewEventType[] supportedEventTypes,
com.ait.lienzo.client.core.shape.MultiPath path) |
getFillAlpha, getFillColor, getShape, getShapeAbsoluteLocation, getShapeX, getShapeY, getStrokeAlpha, getStrokeColor, getStrokeWidth, getUUID, getZIndex, moveDown, moveToBottom, moveToTop, moveUp, setDragBounds, setFillAlpha, setFillColor, setShapeX, setShapeY, setStrokeAlpha, setStrokeColor, setStrokeWidth, setUUID, setZIndexaddChild, 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 BasicShapeView(ViewEventType[] supportedEventTypes, com.ait.lienzo.client.core.shape.MultiPath path)
public void addChild(BasicShapeView<T> child, HasChildren.Layout layout)
addChild in interface HasChildren<BasicShapeView<T>>public void removeChild(BasicShapeView<T> child)
removeChild in interface HasChildren<BasicShapeView<T>>public Iterable<BasicShapeView<T>> getChildren()
getChildren in interface HasChildren<BasicShapeView<T>>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 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 setTitleAlpha(double alpha)
setTitleAlpha in interface HasTitle<T>public T setTitleStrokeWidth(double strokeWidth)
setTitleStrokeWidth in interface HasTitle<T>public T moveTitleToTop()
moveTitleToTop in interface HasTitle<T>public T refreshTitle()
refreshTitle in interface HasTitle<T>public com.ait.lienzo.client.core.shape.Text getText()
public T setFillGradient(HasFillGradient.Type type, String startColor, String endColor)
setFillGradient in interface HasFillGradient<T>public T updateFillGradient(double width, double height)
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>protected void doDestroy()
doDestroy in class AbstractShapeView<T>public void destroy()
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 enableHandlers()
enableHandlers 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<?>>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.