org.graphstream.ui.j2dviewer.renderer.shape.swing

OrientableSquareShape

class OrientableSquareShape extends OrientableRectangularAreaShape

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OrientableSquareShape
  2. OrientableRectangularAreaShape
  3. Orientable
  4. RectangularAreaShape
  5. AreaShape
  6. Decorable
  7. Shadowable
  8. Strokable
  9. Fillable
  10. Area
  11. Shape
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OrientableSquareShape()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var angle: Double

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def cast(g: Graphics2D, shape: java.awt.Shape): Unit

    Render the shadow.

    Render the shadow.

    g

    The Java2D graphics.

    Definition Classes
    Shadowable
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def configureAreaForElement(backend: Backend, camera: Camera, skel: AreaSkeleton, element: GraphicElement, decor: ShapeDecor): Unit

    Select the general size and position of the shape.

    Select the general size and position of the shape. This is done according to:

    • The style,
    • Eventually the element specific size attribute,
    • Eventually the element contents (decor).
    Attributes
    protected
    Definition Classes
    Area
  11. def configureAreaForGroup(style: Style, camera: Camera): Unit

    Select the general size for the group.

    Select the general size for the group.

    Attributes
    protected
    Definition Classes
    Area
  12. def configureDecorableForElement(backend: Backend, camera: Camera, element: GraphicElement, skel: Skeleton): Unit

    Setup the parts of the decor specific to each element.

    Setup the parts of the decor specific to each element.

    Attributes
    protected
    Definition Classes
    Decorable
  13. def configureDecorableForGroup(style: Style, camera: Camera): Unit

    Configure all the static parts needed to decor the shape.

    Configure all the static parts needed to decor the shape.

    Attributes
    protected
    Definition Classes
    Decorable
  14. def configureFillableForElement(style: Style, camera: Camera, element: GraphicElement): Unit

    Configure the dynamic parts needed to fill the shape.

    Configure the dynamic parts needed to fill the shape.

    Attributes
    protected
    Definition Classes
    Fillable
  15. def configureFillableForGroup(bck: Backend, style: Style, camera: Camera): Unit

    Configure all static parts needed to fill the shape.

    Configure all static parts needed to fill the shape.

    Attributes
    protected
    Definition Classes
    Fillable
  16. def configureForElement(bck: Backend, element: GraphicElement, skel: Skeleton, camera: Camera): Unit

    Configure all the dynamic and per element settings.

    Configure all the dynamic and per element settings. Some configurations can only be done before painting the element, since they change for each element.

    element

    The specific element to render.

    camera

    the view parameters.

    Definition Classes
    OrientableRectangularAreaShapeAreaShapeShape
  17. def configureForGroup(bck: Backend, style: Style, camera: Camera): Unit

    Configure as much as possible the graphics before painting several version of this shape at different positions.

    Configure as much as possible the graphics before painting several version of this shape at different positions.

    style

    The style for the group.

    camera

    the view parameters.

    Definition Classes
    OrientableRectangularAreaShapeAreaShapeShape
  18. def configureOrientableForElement(camera: Camera, sprite: GraphicSprite): Unit

    Compute the orientation vector for the given element according to the orientation mode.

    Compute the orientation vector for the given element according to the orientation mode.

    Attributes
    protected
    Definition Classes
    Orientable
  19. def configureOrientableForGroup(style: Style, camera: Camera): Unit

    Configure the orientation mode for the group according to the style.

    Configure the orientation mode for the group according to the style.

    Attributes
    protected
    Definition Classes
    Orientable
  20. def configureShadowableForGroup(style: Style, camera: Camera): Unit

    Configure all the static parts needed to cast the shadow of the shape.

    Configure all the static parts needed to cast the shadow of the shape.

    Attributes
    protected
    Definition Classes
    Shadowable
  21. def configureStrokableForGroup(style: Style, camera: Camera): Unit

    Configure all the static parts needed to stroke the shape.

    Configure all the static parts needed to stroke the shape.

    Attributes
    protected
    Definition Classes
    Strokable
  22. def decorArea(backend: Backend, camera: Camera, iconAndText: IconAndText, element: GraphicElement, shape: java.awt.Shape): Unit

    Paint the decorations (text and icon).

    Paint the decorations (text and icon).

    Definition Classes
    Decorable
  23. def decorConnector(backend: Backend, camera: Camera, iconAndText: IconAndText, element: GraphicElement, shape: java.awt.Shape): Unit

    Definition Classes
    Decorable
  24. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  26. def fill(g: Graphics2D, shape: java.awt.Shape, camera: Camera): Unit

    Fill the shape.

    Fill the shape.

    g

    The Java2D graphics.

    shape

    The awt shape to fill.

    Definition Classes
    Fillable
  27. def fill(g: Graphics2D, dynColor: Double, optColor: Color, shape: java.awt.Shape, camera: Camera): Unit

    Fill the shape.

    Fill the shape.

    g

    The Java2D graphics.

    dynColor

    The value between 0 and 1 allowing to know the dynamic plain color, if any.

    shape

    The awt shape to fill.

    Definition Classes
    Fillable
  28. var fillPaint: ShapePaint

    The fill paint.

    The fill paint.

    Definition Classes
    Fillable
  29. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. var fit: Boolean

    Fit the shape size to its contents?

    Fit the shape size to its contents?

    Attributes
    protected
    Definition Classes
    Area
  31. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  32. var h: Double

  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def make(bck: Backend, forShadow: Boolean, camera: Camera): Unit

    Attributes
    protected
    Definition Classes
    OrientableRectangularAreaShape
  36. def make(bck: Backend, camera: Camera): Unit

    Must create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements.

    Must create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements. This method is made to be called inside the render() method, hence it is protected.

    camera

    the view parameters.

    Attributes
    protected
    Definition Classes
    OrientableRectangularAreaShapeRectangularAreaShapeShape
  37. def makeShadow(bck: Backend, camera: Camera): Unit

    Same as #make(Camera) for the shadow shape.

    Same as #make(Camera) for the shadow shape. The shadow shape may be moved and resized compared to the original shape. This method is made to be called inside the renderShadow() method, hence it is protected.

    Attributes
    protected
    Definition Classes
    OrientableRectangularAreaShapeRectangularAreaShapeShape
  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  41. var orientation: SpriteOrientation

    The shape orientation.

    The shape orientation.

    Definition Classes
    Orientable
  42. var oriented: Boolean

  43. var p: Point3

  44. var plainFast: Boolean

    Definition Classes
    Fillable
  45. def render(bck: Backend, camera: Camera, element: GraphicElement, skel: Skeleton): Unit

    Render the shape for the given element.

    Render the shape for the given element.

    camera

    The view parameters.

    element

    The element to render.

    Definition Classes
    OrientableRectangularAreaShapeRectangularAreaShapeShape
  46. def renderShadow(bck: Backend, camera: Camera, element: GraphicElement, skel: Skeleton): Unit

    Render the shape shadow for the given element.

    Render the shape shadow for the given element. The shadow is rendered in a different pass than usual rendering, therefore it is a separate method.

    Definition Classes
    OrientableRectangularAreaShapeRectangularAreaShapeShape
  47. def shadowOffset(xoff: Double, yoff: Double): Unit

    Set the shadow offset according to the shape.

    Set the shadow offset according to the shape.

    Definition Classes
    Shadowable
  48. var shadowPaint: ShapePaint

    The shadow paint.

    The shadow paint.

    Definition Classes
    Shadowable
  49. def shadowWidth(width: Double, height: Double): Unit

    Set the shadow width added to the shape width.

    Set the shadow width added to the shape width.

    Definition Classes
    Shadowable
  50. def stroke(g: Graphics2D, shape: java.awt.Shape): Unit

    Paint the stroke of the shape.

    Paint the stroke of the shape.

    Definition Classes
    Strokable
  51. var strokeColor: Color

    The stroke color.

    The stroke color.

    Definition Classes
    Strokable
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. var target: Point3

    The shape target.

    The shape target.

    Definition Classes
    Orientable
  54. var text: String

    The string of text of the contents.

    The string of text of the contents.

    Definition Classes
    Decorable
  55. val theCenter: Point2

    The shape position.

    The shape position.

    Attributes
    protected
    Definition Classes
    Area
  56. var theDecor: ShapeDecor

    The text and icon.

    The text and icon.

    Definition Classes
    Decorable
  57. var theFillColor: Color

    Definition Classes
    Fillable
  58. var theFillPercent: Double

    Value in [0.

    Value in [0..1] for dyn-colors.

    Definition Classes
    Fillable
  59. val theShadowOff: Point2

    Offset of the shadow according to the shape center.

    Offset of the shadow according to the shape center.

    Attributes
    protected
    Definition Classes
    Shadowable
  60. val theShadowWidth: Point2

    Additional width of a shadow (added to the shape size).

    Additional width of a shadow (added to the shape size).

    Attributes
    protected
    Definition Classes
    Shadowable
  61. val theShape: RectangularShape

  62. val theSize: Point2

    The shape size.

    The shape size.

    Attributes
    protected
    Definition Classes
    Area
  63. var theStroke: ShapeStroke

    The stroke.

    The stroke.

    Definition Classes
    Strokable
  64. var theStrokeWidth: Double

    The stroke width.

    The stroke width.

    Definition Classes
    Strokable
  65. def toString(): String

    Definition Classes
    AnyRef → Any
  66. var w: Double

  67. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  68. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  69. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Orientable

Inherited from RectangularAreaShape

Inherited from AreaShape

Inherited from Decorable

Inherited from Shadowable

Inherited from Strokable

Inherited from Fillable

Inherited from Area

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped