org.graphstream.ui.j2dviewer.renderer.shape

OrientableRectangularAreaShape

class OrientableRectangularAreaShape extends RectangularAreaShape with Orientable

Attributes
abstract
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. OrientableRectangularAreaShape
  2. Orientable
  3. RectangularAreaShape
  4. AreaShape
  5. Decorable
  6. Shadowable
  7. Strokable
  8. Fillable
  9. Area
  10. Shape
  11. AnyRef
  12. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OrientableRectangularAreaShape ()

Abstract Value Members

  1. val theShape : RectangularShape

    Attributes
    abstract
    Definition Classes
    RectangularAreaShape

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. var angle : Double

  7. def asInstanceOf [T0] : T0

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

    Render the shadow.

    Render the shadow.

    g

    The Java2D graphics.

    Definition Classes
    Shadowable
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def configureAreaForElement (g: Graphics2D, camera: Camera, info: NodeInfo, element: GraphicElement, decor: ShapeDecor): Unit

    Attributes
    protected
    Definition Classes
    Area
  11. def configureAreaForElement (g: Graphics2D, camera: Camera, info: NodeInfo, element: GraphicElement, x: Double, y: Double, contentOverallWidth: Double, contentOverallHeight: Double): Unit

    Attributes
    protected
    Definition Classes
    Area
  12. def configureAreaForElement (g: Graphics2D, camera: Camera, info: NodeInfo, element: GraphicElement, x: Double, y: Double): Unit

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

    Attributes
    protected
    Definition Classes
    Area
  14. def configureDecorableForElement (g: Graphics2D, camera: Camera, element: GraphicElement, info: ElementInfo): 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
  15. 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
  16. 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
  17. def configureFillableForGroup (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
  18. def configureForElement (bck: Backend, element: GraphicElement, info: ElementInfo, 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.

    Definition Classes
    OrientableRectangularAreaShapeAreaShapeShape
  19. 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.

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

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

    Attributes
    protected
    Definition Classes
    Orientable
  22. 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
  23. 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
  24. def decorArea (g: Graphics2D, camera: Camera, iconAndText: IconAndText, element: GraphicElement, shape: Shape): Unit

    Paint the decorations (text and icon).

    Paint the decorations (text and icon).

    Definition Classes
    Decorable
  25. def decorConnector (g: Graphics2D, camera: Camera, iconAndText: IconAndText, element: GraphicElement, shape: Shape): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  27. def equals (arg0: Any): Boolean

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

    Fill the shape.

    Fill the shape.

    g

    The Java2D graphics.

    shape

    The awt shape to fill.

    Definition Classes
    Fillable
  29. def fill (g: Graphics2D, dynColor: Double, shape: 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
  30. var fillPaint : ShapePaint

    The fill paint.

    The fill paint.

    Definition Classes
    Fillable
  31. def finalize (): Unit

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

    Attributes
    protected
    Definition Classes
    Area
  33. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  34. var h : Double

  35. def hashCode (): Int

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

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

    Attributes
    protected
  38. 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. All the settings for position, size, shadow, etc. must have been made. Usually all the "static" settings are already set in configure, therefore most often this method is only in charge of changing the shape position (and computing size if fitting it to the contents). This method is made to be called inside the render() method, hence it is protected.

    Attributes
    protected
    Definition Classes
    OrientableRectangularAreaShapeRectangularAreaShapeShape
  39. 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
  40. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  41. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  42. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  43. var orientation : SpriteOrientation

    Definition Classes
    Orientable
  44. var oriented : Boolean

  45. var p : Point3

  46. def positionAndFit (g: Graphics2D, camera: Camera, info: NodeInfo, element: GraphicElement, x: Double, y: Double, contentOverallWidth: Double, contentOverallHeight: Double): Unit

    Attributes
    protected
    Definition Classes
    Area
  47. def render (bck: Backend, camera: Camera, element: GraphicElement, info: ElementInfo): Unit

    Render the shape for the given element.

    Render the shape for the given element.

    Definition Classes
    OrientableRectangularAreaShapeRectangularAreaShapeShape
  48. def renderShadow (bck: Backend, camera: Camera, element: GraphicElement, info: ElementInfo): 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
  49. 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
  50. var shadowPaint : ShapePaint

    The shadow paint.

    The shadow paint.

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

    Sety the shadow width added to the shape width.

    Sety the shadow width added to the shape width.

    Definition Classes
    Shadowable
  52. def stroke (g: Graphics2D, shape: Shape): Unit

    Paint the stroke of the shape.

    Paint the stroke of the shape.

    Definition Classes
    Strokable
  53. var strokeColor : Color

    The stroke color.

    The stroke color.

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

    Attributes
    final
    Definition Classes
    AnyRef
  55. var target : Point3

    Definition Classes
    Orientable
  56. var text : String

    Definition Classes
    Decorable
  57. val theCenter : Point2

    Attributes
    protected
    Definition Classes
    Area
  58. var theDecor : ShapeDecor

    The text and icon.

    The text and icon.

    Definition Classes
    Decorable
  59. var theFillPercent : Double

    Value in [0.

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

    Definition Classes
    Fillable
  60. 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
  61. 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
  62. val theSize : Point2

    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. def wait (): Unit

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

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

    Attributes
    final
    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