Class PaletteShape
- java.lang.Object
-
- com.ait.lienzo.client.core.shape.Node<T>
-
- com.ait.lienzo.client.core.shape.ContainerNode<T,C>
-
- com.ait.lienzo.client.core.shape.GroupOf<com.ait.lienzo.client.core.shape.IPrimitive<?>,com.ait.lienzo.client.core.shape.Group>
-
- com.ait.lienzo.client.core.shape.Group
-
- org.uberfire.ext.wires.core.client.palette.PaletteShape
-
- All Implemented Interfaces:
com.ait.lienzo.client.core.shape.IContainer<com.ait.lienzo.client.core.shape.Group,com.ait.lienzo.client.core.shape.IPrimitive<?>>,com.ait.lienzo.client.core.shape.IDestroyable,com.ait.lienzo.client.core.shape.IDrawable<com.ait.lienzo.client.core.shape.Group>,com.ait.lienzo.client.core.shape.IPrimitive<com.ait.lienzo.client.core.shape.Group>,com.ait.lienzo.client.core.shape.json.IJSONSerializable<com.ait.lienzo.client.core.shape.Group>,com.ait.lienzo.client.core.shape.wires.IControlHandleFactory,com.ait.tooling.nativetools.client.NObjectOnWire,Serializable
public class PaletteShape extends com.ait.lienzo.client.core.shape.Group implements Serializable
A PaletteShape is an icon and text, bound by a rectangle, used in the Palette.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ait.lienzo.client.core.shape.Group
com.ait.lienzo.client.core.shape.Group.GroupFactory
-
Nested classes/interfaces inherited from class com.ait.lienzo.client.core.shape.GroupOf
com.ait.lienzo.client.core.shape.GroupOf.GroupOfFactory<T extends com.ait.lienzo.client.core.shape.IPrimitive<?>,C extends com.ait.lienzo.client.core.shape.GroupOf<T,C>>
-
-
Constructor Summary
Constructors Constructor Description PaletteShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetBounding(com.ait.lienzo.client.core.shape.Rectangle bounding)Add a bounding Rectangle to the PaletteShape.voidsetDescription(com.ait.lienzo.client.core.shape.Text description)Add Text to the PaletteShape.voidsetGroup(com.ait.lienzo.client.core.shape.Group group)Add a Group to the PaletteShape.-
Methods inherited from class com.ait.lienzo.client.core.shape.Group
asGroup, getDefaultStorageEngine
-
Methods inherited from class com.ait.lienzo.client.core.shape.GroupOf
add, add, asContainer, asGroupOf, asPrimitive, attachToLayerColorMap, batch, destroy, destroy, detachFromLayerColorMap, draw, find, getAlpha, getBoundingBoxAttributes, getControlHandleFactory, getControlHandles, getControlHandles, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFactory, getFillAlpha, getGroupType, getLocation, getOffset, getRotation, getRotationDegrees, getScale, getShear, getStrokeAlpha, getTransformingAttributes, getX, getY, isDraggable, isDragging, isEditable, moveDown, moveToBottom, moveToTop, moveUp, refresh, remove, removeAll, removeFromParent, setAlpha, setControlHandleFactory, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setGroupType, setLocation, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setShear, setShear, setStrokeAlpha, setX, setY, toJSONObject
-
Methods inherited from class com.ait.lienzo.client.core.shape.ContainerNode
asContainerNode, copy, drawWithoutTransforms, find, findByID, getBoundingBox, getChildNodes, getChildNodes, getPathClipper, getStorageBounds, getStorageEngine, length, moveDown, moveToBottom, moveToTop, moveUp, setPathClipper, setStorageBounds, setStorageEngine
-
Methods inherited from class com.ait.lienzo.client.core.shape.Node
addAttributesChangedHandler, addEnsureHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, addParentsLocations, animate, animate, asAttributes, asAttributes, asGuide, asLayer, asList, asMultiPointShape, asNode, asScene, asShape, asViewport, cancelAttributesChangedBatcher, cast, copyUnchecked, doAnimating, drawWithTransforms, drawWithTransforms, equals, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingPoints, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getLayer, getMetaData, getName, getNodeType, getOverLayer, getParent, getPossibleNodeTransform, getRequiredAttributes, getScene, getScratchPad, getUserData, getViewport, hashCode, hasMetaData, isAnimating, isEventHandled, isEventHandledGlobally, isListening, isVisible, onWire, setAttributesChangedBatcher, setID, setListening, setName, setNodeType, setParent, setUserData, setVisible, toJSONString, toString, unAnimating, uuid
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ait.lienzo.client.core.shape.IDrawable
addAttributesChangedHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, animate, animate, asContainerNode, asGuide, asLayer, asMultiPointShape, asNode, asScene, asShape, asViewport, cancelAttributesChangedBatcher, copy, drawWithTransforms, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingBox, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getLayer, getMetaData, getName, getNodeType, getOverLayer, getParent, getRequiredAttributes, getScene, getScratchPad, getUserData, getViewport, hasMetaData, isEventHandled, isListening, isVisible, setAttributesChangedBatcher, setID, setListening, setName, setUserData, setVisible, uuid
-
-
-
-
Method Detail
-
setBounding
public void setBounding(com.ait.lienzo.client.core.shape.Rectangle bounding)
Add a bounding Rectangle to the PaletteShape.- Parameters:
bounding- If null this parameter is ignored
-
setGroup
public void setGroup(com.ait.lienzo.client.core.shape.Group group)
Add a Group to the PaletteShape.- Parameters:
group- If null this parameter is ignored
-
setDescription
public void setDescription(com.ait.lienzo.client.core.shape.Text description)
Add Text to the PaletteShape.- Parameters:
description- If null this parameter is ignored
-
-