scalation.animation

DgAnimator

class DgAnimator extends MainFrame with Actor with Error

This class is an animation engine for animating graphs. For example, it can animate bipartite graphs to animate Petri Nets.

Linear Supertypes
Error, Actor, Serializable, Serializable, InputChannel[Any], ActorCanReply, ReplyReactor, ReactorCanReply, Reactor[Any], Combinators, AbstractActor, CanReply[Any, Any], OutputChannel[Any], MainFrame, Frame, RichWindow, Window, RootPanel, Container, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DgAnimator
  2. Error
  3. Actor
  4. Serializable
  5. Serializable
  6. InputChannel
  7. ActorCanReply
  8. ReplyReactor
  9. ReactorCanReply
  10. Reactor
  11. Combinators
  12. AbstractActor
  13. CanReply
  14. OutputChannel
  15. MainFrame
  16. Frame
  17. RichWindow
  18. Window
  19. RootPanel
  20. Container
  21. UIElement
  22. LazyPublisher
  23. Publisher
  24. Reactor
  25. Proxy
  26. AnyRef
  27. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DgAnimator(_title: String, fgColor: Color = scalation.scala2d.Colors.black, bgColor: Color = scalation.scala2d.Colors.white)

    bgColor

    the background color

Type Members

  1. type Future[+P] = Future[P]

    Definition Classes
    ReactorCanReply → CanReply

Value Members

  1. def !(msg: Any): Unit

    Definition Classes
    ReplyReactor → Reactor → OutputChannel
  2. def !!(msg: Any): Future[Any]

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  3. def !![A](msg: Any, handler: PartialFunction[Any, A]): Future[A]

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  4. final def !=(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def !?(msec: Long, msg: Any): Option[Any]

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  7. def !?(msg: Any): Any

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  8. final def ##(): Int

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

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

    Definition Classes
    Any
  11. def ?: Any

    Definition Classes
    Actor → InputChannel
  12. def act(): Unit

    Repeatedly execute animation commands, sleep and repaint.

    Repeatedly execute animation commands, sleep and repaint.

    Definition Classes
    DgAnimator → Reactor
  13. def animate(tStart: Double, tStop: Double): Unit

    Start the animation by staring the animation actor.

    Start the animation by staring the animation actor.

    tStart

    the animation start time

    tStop

    the animation stop time

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def background: Color

    Definition Classes
    UIElement
  16. def background_=(c: Color): Unit

    Definition Classes
    UIElement
  17. def bounds: Rectangle

    Definition Classes
    UIElement
  18. def bounds_=(rect: Rectangle): Unit

    Definition Classes
    Window
  19. val canvas: Panel { val f: java.awt.Font }

    The canvas Panel is used to place shapes in the drawing region.

  20. def centerOnScreen(): Unit

    Definition Classes
    Window
  21. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def close(): Unit

    Definition Classes
    Window
  23. def closeOperation(): Unit

    Definition Classes
    MainFrame → Window
  24. def contents: Seq[Component]

    Definition Classes
    RootPanel → Container
  25. def contents_=(c: Component): Unit

    Definition Classes
    Window → RootPanel
  26. def continue(): Unit

    Definition Classes
    Combinators
  27. def cursor: Cursor

    Definition Classes
    UIElement
  28. def cursor_=(c: Cursor): Unit

    Definition Classes
    UIElement
  29. def deafTo(ps: Publisher*): Unit

    Definition Classes
    Reactor
  30. def defaultButton: Option[Button]

    Definition Classes
    Window
  31. def defaultButton_=(b: Option[Button]): Unit

    Definition Classes
    Window
  32. def defaultButton_=(b: Button): Unit

    Definition Classes
    Window
  33. def displayable: Boolean

    Definition Classes
    UIElement
  34. def dispose(): Unit

    Definition Classes
    Window
  35. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. def equals(that: Any): Boolean

    Definition Classes
    Proxy → AnyRef → Any
  37. def exceptionHandler: PartialFunction[Exception, Unit]

    Attributes
    protected[actors]
    Definition Classes
    Reactor
  38. def exit(): Nothing

    Attributes
    protected[actors]
    Definition Classes
    Actor → Reactor
  39. def exit(reason: AnyRef): Nothing

    Attributes
    protected[actors]
    Definition Classes
    Actor
  40. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  42. def font: Font

    Definition Classes
    UIElement
  43. def font_=(f: Font): Unit

    Definition Classes
    UIElement
  44. def foreground: Color

    Definition Classes
    UIElement
  45. def foreground_=(c: Color): Unit

    Definition Classes
    UIElement
  46. def forward(msg: Any): Unit

    Definition Classes
    ReplyReactor → Reactor → OutputChannel
  47. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  48. def getCommandQueue: SynchronizedQueue[AnimateCommand]

    Get the animation command queue.

  49. def getState: Value

    Definition Classes
    Actor → ReplyReactor → Reactor
  50. def hashCode(): Int

    Definition Classes
    Proxy → AnyRef → Any
  51. def iconImage: Image

    Definition Classes
    Frame
  52. def iconImage_=(i: Image): Unit

    Definition Classes
    Frame
  53. def iconified(): Unit

    Definition Classes
    Frame
  54. def iconify(): Unit

    Definition Classes
    Frame
  55. def ignoreRepaint: Boolean

    Definition Classes
    UIElement
  56. def ignoreRepaint_=(b: Boolean): Unit

    Definition Classes
    UIElement
  57. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  58. def link(body: ⇒ Unit): Actor

    Definition Classes
    Actor
  59. def link(to: AbstractActor): AbstractActor

    Definition Classes
    Actor
  60. def listenTo(ps: Publisher*): Unit

    Definition Classes
    Reactor
  61. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Attributes
    protected
    Definition Classes
    Publisher
  62. def locale: Locale

    Definition Classes
    UIElement
  63. def location: Point

    Definition Classes
    UIElement
  64. def locationOnScreen: Point

    Definition Classes
    UIElement
  65. def location_=(p: Point): Unit

    Definition Classes
    Window
  66. def loop(body: ⇒ Unit): Unit

    Definition Classes
    Combinators
  67. def loopWhile(cond: ⇒ Boolean)(body: ⇒ Unit): Unit

    Definition Classes
    Combinators
  68. def mailboxSize: Int

    Attributes
    protected[actors]
    Definition Classes
    Reactor
  69. def maximize(): Unit

    Definition Classes
    Frame
  70. def maximized(): Unit

    Definition Classes
    Frame
  71. def maximumSize: Dimension

    Definition Classes
    UIElement
  72. def maximumSize_=(x: Dimension): Unit

    Definition Classes
    UIElement
  73. def menuBar: MenuBar

    Definition Classes
    RichWindow
  74. def menuBar_=(m: MenuBar): Unit

    Definition Classes
    RichWindow
  75. def minimumSize: Dimension

    Definition Classes
    UIElement
  76. def minimumSize_=(x: Dimension): Unit

    Definition Classes
    UIElement
  77. implicit def mkBody[A](body: ⇒ A): Body[A]

    Definition Classes
    Reactor → Combinators
  78. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  81. def onFirstSubscribe(): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  82. def onLastUnsubscribe(): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  83. def open(): Unit

    Definition Classes
    Window
  84. def owner: Window

    Definition Classes
    Window
  85. def pack(): DgAnimator.this.type

    Definition Classes
    Window
  86. lazy val peer: JFrame with InterfaceMixin

    Definition Classes
    Frame → RichWindow → Window → RootPanel → UIElement
  87. def preferredSize: Dimension

    Definition Classes
    UIElement
  88. def preferredSize_=(x: Dimension): Unit

    Definition Classes
    UIElement
  89. def publish(e: Event): Unit

    Definition Classes
    Publisher
  90. def react(handler: PartialFunction[Any, Unit]): Nothing

    Definition Classes
    Actor → InputChannel → ReplyReactor → Reactor
  91. def reactWithin(msec: Long)(handler: PartialFunction[Any, Unit]): Nothing

    Definition Classes
    Actor → InputChannel → ReplyReactor
  92. val reactions: Reactions

    Definition Classes
    Reactor
  93. def receive[R](f: PartialFunction[Any, R]): R

    Definition Classes
    Actor → InputChannel
  94. def receiveWithin[R](msec: Long)(f: PartialFunction[Any, R]): R

    Definition Classes
    Actor → InputChannel
  95. def receiver: Actor

    Definition Classes
    Reactor → OutputChannel
  96. def repaint(rect: Rectangle): Unit

    Definition Classes
    UIElement
  97. def repaint(): Unit

    Definition Classes
    UIElement
  98. def reply(msg: Any): Unit

    Attributes
    protected[actors]
    Definition Classes
    ReplyReactor
  99. def resizable: Boolean

    Definition Classes
    RichWindow
  100. def resizable_=(b: Boolean): Unit

    Definition Classes
    RichWindow
  101. def restart(): Unit

    Definition Classes
    Reactor
  102. def scheduler: IScheduler

    Attributes
    protected[actors]
    Definition Classes
    Actor → Reactor
  103. def self: Component

    Definition Classes
    UIElement → Proxy
  104. def send(msg: Any, replyTo: OutputChannel[Any]): Unit

    Definition Classes
    Reactor → OutputChannel
  105. def sender: OutputChannel[Any]

    Attributes
    protected[actors]
    Definition Classes
    ReplyReactor
  106. def setLocationRelativeTo(c: UIElement): Unit

    Definition Classes
    Window
  107. def showing: Boolean

    Definition Classes
    UIElement
  108. def size: Dimension

    Definition Classes
    UIElement
  109. def size_=(size: Dimension): Unit

    Definition Classes
    Window → UIElement
  110. def start(): Actor

    Definition Classes
    Actor → Reactor
  111. def subscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  112. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  113. def title: String

    Definition Classes
    RichWindow
  114. def title_=(s: String): Unit

    Definition Classes
    RichWindow
  115. def toString(): String

    Definition Classes
    Proxy → AnyRef → Any
  116. def toolkit: Toolkit

    Definition Classes
    UIElement
  117. var trapExit: Boolean

    Definition Classes
    Actor
  118. def uniconify(): Unit

    Definition Classes
    Frame
  119. def unlink(from: AbstractActor): Unit

    Definition Classes
    Actor
  120. def unmaximize(): Unit

    Definition Classes
    Frame
  121. def unsubscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  122. def visible: Boolean

    Definition Classes
    UIElement
  123. def visible_=(b: Boolean): Unit

    Definition Classes
    UIElement
  124. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Error

Inherited from Actor

Inherited from Serializable

Inherited from Serializable

Inherited from InputChannel[Any]

Inherited from ActorCanReply

Inherited from ReplyReactor

Inherited from ReactorCanReply

Inherited from Reactor[Any]

Inherited from Combinators

Inherited from AbstractActor

Inherited from CanReply[Any, Any]

Inherited from OutputChannel[Any]

Inherited from MainFrame

Inherited from Frame

Inherited from RichWindow

Inherited from Window

Inherited from RootPanel

Inherited from Container

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any