Uses of Class
sm.SMShape

Packages that use SMShape
sm   
 

Uses of SMShape in sm
 

Subclasses of SMShape in sm
 class SMEllipse
          An ellipse shape for use with an SMCanvas.
 class SMImage
          An image shape for use with an SMCanvas.
 class SMPolyLine
          An arbitrary shape for use with an SMCanvas.
 class SMRectangle
          A rectangle shape for use with an SMCanvas.
 class SMRectangularShape
          An abstract rectangular shape for use with an SMCanvas.
 class SMSegment
          A segment for use with an SMCanvas.
 class SMText
          A text shape for use with an Canvas.
 class SMWidget
          A widget shape for use with an Canvas.
 

Methods in sm that return SMShape
 SMShape StateMachine.State.EventOnShape.getShape()
          Returns the SMShape on which the mouse event firing this transition has occured.
 SMShape SMWidget.setFillPaint(java.awt.Paint fp)
           
 SMShape SMText.addTo(SMCanvas c)
           
 SMShape SMText.copyTo(SMShape sms)
          Copies this shape into a destination shape.
 SMShape SMText.duplicate()
          Creates a new copy of this shape and returns it.
abstract  SMShape SMTag.nextShape()
           
 SMShape SMTag.contains(double x, double y)
          Returns the topmost SMShape containing the point (x, y).
 SMShape SMTag.contains(java.awt.geom.Point2D p)
          Returns the topmost SMShape containing the point p.
 SMShape SMTag.contains(double x, double y, double w, double h)
          Returns the topmost SMShape containing a given rectangle.
 SMShape SMTag.contains(java.awt.geom.Rectangle2D r)
          Returns the topmost SMShape containing a given rectangle.
 SMShape SMTag.isOnOutline(java.awt.geom.Point2D p)
          Returns the topmost SMShape whose outline contains the point p.
 SMShape SMTag.intersects(double x, double y, double w, double h)
          Returns the topmost SMShape that intersects the given rectangle.
 SMShape SMTag.intersects(java.awt.geom.Rectangle2D r)
          Returns the topmost SMShape that intersects the given rectangle.
 SMShape SMTag.getFirstHavingTag(SMTag t)
          Returns the topmost SMShape that has tag t.
 SMShape SMTag.firstShape()
          Returns the first shape that has this tag.
 SMShape SMTag.getFirstAntialiasedShape()
          Returns the first antialiased SMShape that has this tag.
 SMShape SMTag.getFirstFilledShape()
          Returns the first SMShape that has this tag and that is filled.
 SMShape SMTag.getFirstOutlinedShape()
          Returns the first SMShape that has this tag and that is outlined.
 SMShape SMShape.setShape(java.awt.Shape s)
          Sets the shape.
 SMShape SMShape.addTo(SMCanvas c)
          Adds this shape to a canvas.
 SMShape SMShape.remove()
          Removes this shape from its canvas.
 SMShape SMShape.setDrawable(boolean d)
          Specifies whether this shape is to be displayed.
 SMShape SMShape.setTransparency(float alpha)
          Sets the transparency of this shape, which applies both to the boundary and interior.
 SMShape SMShape.setFilled(boolean isFilled)
          Sets the filled property of this shape.
 SMShape SMShape.setFillPaint(java.awt.Paint fp)
          Sets the fill Paint, which is used to display the interior of the shape when it is filled.
 SMShape SMShape.setOutlined(boolean o)
          Sets the outlined property of this shape.
 SMShape SMShape.setStroke(java.awt.Stroke str)
          Sets the stroke style, which specifies the shape of the boundary of the shape when it is outlined (thickness, dash pattern, etc.).
 SMShape SMShape.setOutlinePaint(java.awt.Paint op)
          Sets the outline Paint, which is used to display the boundary of the shape when it is outlined.
 SMShape SMShape.getClip()
          Returns the shape that clips this shape, if any.
 SMShape SMShape.setClip(SMShape clip)
          Sets the clipping shape of this shape.
 SMShape SMShape.setAntialiased(boolean a)
          Specifies whether this shape is antialiased.
 SMShape SMShape.getParent()
          Returns the parent of this shape, if any.
 SMShape SMShape.setParent(SMShape p)
          Sets the parent of this shape (only if the parent and this ahape are in the same canvas).
 SMShape SMShape.addChild(SMShape c)
          Adds a child to this shape.
 SMShape SMShape.removeChild(SMShape s)
          Removes a child from this shape.
 SMShape SMShape.setReferencePoint(double x, double y)
          Set this shape's reference point.
 SMShape SMShape.translateBy(double dx, double dy)
          Translates this shape by dx, dy.
 SMShape SMShape.translateTo(double x, double y)
          Translates this shape to x, y (the point of reference of this shape will be exactly at (x, y)).
 SMShape SMShape.rotateBy(double dt)
          Rotates this shape by dt
 SMShape SMShape.rotateTo(double t)
          Rotates this shape to angle t
 SMShape SMShape.scaleBy(double x, double y)
          Scales this shape by x horizontally and y vertically.
 SMShape SMShape.scaleTo(double x, double y)
          Sets the scale of this shape to x horizontally and y vertically.
 SMShape SMShape.scaleBy(double ds)
          Scales this shape by s horizontally and vertically.
 SMShape SMShape.scaleTo(double s)
          Sets this shape's scale to s horizontally and vertically.
 SMShape SMShape.setPickable(boolean pick)
          Specifies whether this shape can be picked.
 SMShape SMShape.above(SMShape before)
          Moves this shape in the canvas's display list so that it is right above a given shape in the display list.
 SMShape SMShape.aboveAll()
          Moves this shape in the canvas's display list so that it is above all other shapes.
 SMShape SMShape.below(SMShape after)
          Moves this shape in the canvas's display list so that it is right below a given shape in the display list.
 SMShape SMShape.belowAll()
          Moves this shape in the canvas's display list so that it is below all other shapes.
 SMShape SMShape.addTag(SMTag t)
          Adds a tag to this shape only if the tag is a SMVolatileTag, does anything otherwise.
 SMShape SMShape.addTag(SMExtensionalTag t)
          Adds a tag to this shape.
 SMShape SMShape.addTag(java.lang.String t)
          Adds a SMNamedTag tag to this shape.
 SMShape SMShape.removeTag(SMTag t)
          Removes a tag from this shape only if the tag is a SMVolatileTag.
 SMShape SMShape.removeTag(java.lang.String t)
          Removes a tag from this shape.
 SMShape SMShape.copyTo(SMShape sms)
          Copies this shape into a destination shape.
 SMShape SMShape.duplicate()
          Creates a new copy of this shape and returns it.
 SMShape SMShape.addGhost()
          Builds the 'ghost' of this shape.
 SMShape SMSegment.duplicate()
          Creates a new copy of this shape and returns it.
 SMShape SMRectangle.duplicate()
          Creates a new copy of this shape and returns it.
 SMShape SMPolyLine.copyTo(SMShape sms)
           
 SMShape SMPolyLine.duplicate()
          Creates a new copy of this shape and returns it.
 SMShape SMOrTag.nextShape()
           
 SMShape SMNamedTag.nextShape()
           
 SMShape SMImage.copyTo(SMShape sms)
          Copies this shape into a destination shape.
 SMShape SMImage.duplicate()
          Creates a new copy of this shape and returns it.
 SMShape SMHierarchyTag.nextShape()
           
 SMShape SMHierarchy.getParent()
          Returns the shape which is at the head of this hierarchy.
abstract  SMShape SMExtensionalTag.nextShape()
           
 SMShape SMEllipse.duplicate()
          Creates a new copy of this shape and returns it.
 SMShape SMCanvas.pick(java.awt.geom.Point2D p)
          Returns the topmost shape at a given position.
 SMShape SMAndTag.nextShape()
           
 

Methods in sm with parameters of type SMShape
 SMShape SMText.copyTo(SMShape sms)
          Copies this shape into a destination shape.
 boolean SMTag.tagsShape(SMShape s)
          Tests if the shape s is tagged by this tag.
 void SMTag.action(SMShape s)
          Method called by action().
 SMTag SMTag.setParent(SMShape parent)
          Calls setParent(SMShape parent) for every SMShape that has this tag.
 SMTag SMTag.above(SMShape before)
          Calls above(SMShape before) for every SMShape that has this tag.
 SMTag SMTag.below(SMShape after)
          Calls below(SMShape after) for every SMShape that has this tag.
 SMTag SMTag.setClip(SMShape clip)
          Calls setClip(SMShape clip) for every SMShape that has this tag.
 SMShape SMShape.setClip(SMShape clip)
          Sets the clipping shape of this shape.
 SMShape SMShape.setParent(SMShape p)
          Sets the parent of this shape (only if the parent and this ahape are in the same canvas).
 SMShape SMShape.addChild(SMShape c)
          Adds a child to this shape.
 SMShape SMShape.removeChild(SMShape s)
          Removes a child from this shape.
 boolean SMShape.isAbove(SMShape before)
          Tests if this shape is above another shape in the display list.
 SMShape SMShape.above(SMShape before)
          Moves this shape in the canvas's display list so that it is right above a given shape in the display list.
 boolean SMShape.isBelow(SMShape after)
          Tests if this shape is before another shape in the display list.
 SMShape SMShape.below(SMShape after)
          Moves this shape in the canvas's display list so that it is right below a given shape in the display list.
 SMShape SMShape.copyTo(SMShape sms)
          Copies this shape into a destination shape.
 SMShape SMPolyLine.copyTo(SMShape sms)
           
 SMShape SMImage.copyTo(SMShape sms)
          Copies this shape into a destination shape.
 void SMExtensionalTag.added(SMShape s)
          Method called when this tag is added to an SMShape.
 void SMExtensionalTag.removed(SMShape s)
          Method called when this tag is removed from an SMShape.
 SMExtensionalTag SMExtensionalTag.addTo(SMShape s)
          Adds the shape s to the collection containing all the shapes that have this tag.
 SMExtensionalTag SMExtensionalTag.removeFrom(SMShape s)
          Removes the shape s from the collection containing all the shapes that have this tag.
 SMCanvas SMCanvas.addShape(SMShape sms)
          Adds a shape to the canvas.
 SMCanvas SMCanvas.removeShape(SMShape sms)
          Removes a shape from the canvas.
 

Constructors in sm with parameters of type SMShape
SMHierarchyTag(SMShape s)
          Builds a SMHierarchyTag with the set composed of s and every shape whose s is an ancestor..
SMHierarchy(SMShape p)
          Builds a collection containing all the shapes having p as an ancestor.