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.HorizontalAlignment, HasTitle.Orientation, HasTitle.ReferencePosition, HasTitle.Size, HasTitle.VerticalAlignmentHasControlPoints.ControlPointTypeHasFillGradient.Type| Modifier | Constructor and Description |
|---|---|
protected |
WiresShapeViewExt(com.ait.lienzo.client.core.shape.MultiPath path,
com.ait.lienzo.client.core.shape.wires.LayoutContainer layoutContainer) |
|
WiresShapeViewExt(ViewEventType[] supportedEventTypes,
com.ait.lienzo.client.core.shape.MultiPath path) |
getAlpha, getBoundingBox, getDecorators, getFillAlpha, getFillColor, getShape, getShapeAbsoluteLocation, getShapeX, getShapeY, getStrokeAlpha, getStrokeColor, getStrokeWidth, getUserData, getUUID, moveDown, moveToBottom, moveToTop, moveUp, removeShadow, setAlpha, setDragBounds, setDragEnabled, setFillAlpha, setFillColor, setListening, setShadow, setShapeLocation, setStrokeAlpha, setStrokeColor, setStrokeWidth, setUserData, setUUIDaddChild, addChild, addLabel, addWiresResizeEndHandler, addWiresResizeStartHandler, addWiresResizeStepHandler, createControlHandles, equals, getControl, getControls, getMagnets, getPath, hashCode, isListening, isResizable, listen, loadControls, removeChild, removeFromParent, setControl, setDraggable, setLocation, setMagnets, setResizable, shapeMoved, uuidadd, addWiresDragEndHandler, addWiresDragMoveHandler, addWiresDragStartHandler, addWiresMoveHandler, getChildShapes, getComputedLocation, getContainer, getDockedTo, getGroup, getHandlerManager, getLayoutHandler, getLocation, getParent, getWiresManager, getX, getY, remove, setDockedTo, setLayoutHandler, setParent, setWiresManagerclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitremoveFromParentpublic WiresShapeViewExt(ViewEventType[] supportedEventTypes, com.ait.lienzo.client.core.shape.MultiPath path)
protected WiresShapeViewExt(com.ait.lienzo.client.core.shape.MultiPath path,
com.ait.lienzo.client.core.shape.wires.LayoutContainer layoutContainer)
protected void setEventHandlerManager(ViewEventHandlerManager eventHandlerManager)
protected ViewEventHandlerManager getEventHandlerManager()
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 setMargins(Map<Enum,Double> margins)
setMargins in interface HasTitle<T extends WiresShapeViewExt>public T setTitlePosition(HasTitle.VerticalAlignment verticalAlignment, HasTitle.HorizontalAlignment horizontalAlignment, HasTitle.ReferencePosition referencePosition, HasTitle.Orientation orientation)
setTitlePosition in interface HasTitle<T extends WiresShapeViewExt>public T setTextSizeConstraints(HasTitle.Size sizeConstraints)
setTextSizeConstraints in interface HasTitle<T extends WiresShapeViewExt>public T setTitleXOffsetPosition(Double xOffset)
setTitleXOffsetPosition in interface HasTitle<T extends WiresShapeViewExt>public T setTitleYOffsetPosition(Double yOffset)
setTitleYOffsetPosition 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 setTitleFontColor(String fillColor)
setTitleFontColor 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 String getTitleFontFamily()
getTitleFontFamily in interface HasTitle<T extends WiresShapeViewExt>public double getTitleFontSize()
getTitleFontSize in interface HasTitle<T extends WiresShapeViewExt>public String getTitlePosition()
getTitlePosition in interface HasTitle<T extends WiresShapeViewExt>public String getOrientation()
getOrientation in interface HasTitle<T extends WiresShapeViewExt>public double getMarginX()
getMarginX in interface HasTitle<T extends WiresShapeViewExt>public String getFontPosition()
getFontPosition in interface HasTitle<T extends WiresShapeViewExt>public String getFontAlignment()
getFontAlignment in interface HasTitle<T extends WiresShapeViewExt>public T setTitleStrokeAlpha(double strokeAlpha)
setTitleStrokeAlpha in interface HasTitle<T extends WiresShapeViewExt>public T setTextWrapper(TextWrapperStrategy wrapperStrategy)
setTextWrapper 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 void batch()
batch in interface HasTitle<T extends WiresShapeViewExt>public void refresh()
refresh in class com.ait.lienzo.client.core.shape.wires.WiresShapepublic T updateFillGradient(double width, double height)
public T showControlPoints(HasControlPoints.ControlPointType type)
showControlPoints in interface HasControlPoints<T extends WiresShapeViewExt>public T updateControlPoints(HasControlPoints.ControlPointType type)
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 WiresTextDecorator getTextViewDecorator()
protected void rebuildTextBoundaries(double width,
double height)
public void setTextBoundaries(double width,
double height)
setTextBoundaries in interface HasTitle<T extends WiresShapeViewExt>public Optional<com.ait.lienzo.client.core.shape.wires.layout.label.LabelContainerLayout> getLabelContainerLayout()
protected DragEvent buildDragEvent(com.ait.lienzo.client.core.shape.wires.event.AbstractWiresDragEvent sourceDragEvent)
protected ResizeEvent buildResizeEvent(com.ait.lienzo.client.core.shape.wires.event.AbstractWiresResizeEvent sourceResizeEvent)
protected T cast()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.