scalation.animation

DgAnimator

class DgAnimator extends MainFrame with Actor with Error

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

Linear Supertypes
Error, Actor, ReplyReactor, InternalActor, Serializable, Serializable, InputChannel[Any], ActorCanReply, InternalReplyReactor, 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. DgAnimator
  2. Error
  3. Actor
  4. ReplyReactor
  5. InternalActor
  6. Serializable
  7. Serializable
  8. InputChannel
  9. ActorCanReply
  10. InternalReplyReactor
  11. ReactorCanReply
  12. Reactor
  13. Combinators
  14. AbstractActor
  15. CanReply
  16. OutputChannel
  17. MainFrame
  18. Frame
  19. RichWindow
  20. Window
  21. RootPanel
  22. Container
  23. UIElement
  24. LazyPublisher
  25. Publisher
  26. Reactor
  27. Proxy
  28. AnyRef
  29. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    fgColor

    the foreground color

    bgColor

    the background color

    aniRatio

    the ratio of simulation speed vs. animation speed

Type Members

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

    Definition Classes
    ReactorCanReply → CanReply
  2. trait InterfaceMixin extends scala.swing.RichWindow.InterfaceMixin

    Definition Classes
    RichWindow → Window
  3. trait SuperMixin extends Window

    Attributes
    protected
    Definition Classes
    Window

Value Members

  1. def !(msg: Any): Unit

    Definition Classes
    InternalReplyReactor → 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
    InternalActor → 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[java.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 → Any
  37. def exceptionHandler: PartialFunction[Exception, Unit]

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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
    InternalReplyReactor → Reactor → OutputChannel
  47. final def getClass(): Class[_]

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

    Get the animation command queue.

  49. def getState: scala.actors.Actor.State.Value

    Definition Classes
    InternalActor → InternalReplyReactor → Reactor
  50. def hashCode(): Int

    Definition Classes
    Proxy → Any
  51. def iconImage: Image

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

    Definition Classes
    Frame
  53. def iconified: Boolean

    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. def internalSender: OutputChannel[Any]

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalReplyReactor
  58. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    InternalActor
  60. def link(to: ActorRef): ActorRef

    Definition Classes
    InternalActor
  61. def link(to: AbstractActor): AbstractActor

    Definition Classes
    InternalActor
  62. def listenTo(ps: Publisher*): Unit

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

    Attributes
    protected
    Definition Classes
    Publisher
  64. def locale: Locale

    Definition Classes
    UIElement
  65. def location: Point

    Definition Classes
    UIElement
  66. def locationOnScreen: Point

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

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

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

    Definition Classes
    Combinators
  70. def mailboxSize: Int

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

    Definition Classes
    Frame
  72. def maximized: Boolean

    Definition Classes
    Frame
  73. def maximumSize: Dimension

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

    Definition Classes
    UIElement
  75. def menuBar: MenuBar

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

    Definition Classes
    RichWindow
  77. def minimumSize: Dimension

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

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

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

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

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

    Definition Classes
    AnyRef
  83. def onFirstSubscribe(): Unit

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

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

    Definition Classes
    Window
  86. def owner: Window

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

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

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

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

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

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

    Definition Classes
    InternalActor → InputChannel → InternalReplyReactor → Reactor
  93. def reactWithin(msec: Long)(handler: PartialFunction[Any, Unit]): Nothing

    Definition Classes
    InternalActor → InputChannel → InternalReplyReactor
  94. val reactions: Reactions

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

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

    Definition Classes
    InternalActor → InputChannel
  97. def receiver: Actor

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

    Definition Classes
    UIElement
  99. def repaint(): Unit

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

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalReplyReactor
  101. def resizable: Boolean

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

    Definition Classes
    RichWindow
  103. def restart(): Unit

    Definition Classes
    Reactor
  104. def scheduler: IScheduler

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalActor → Reactor
  105. def self: Component

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

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

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

    Definition Classes
    Window
  109. def showing: Boolean

    Definition Classes
    UIElement
  110. def size: Dimension

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

    Definition Classes
    Window
  112. def start(): Actor

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

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

    Definition Classes
    AnyRef
  115. def title: String

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

    Definition Classes
    RichWindow
  117. def toString(): String

    Definition Classes
    Proxy → Any
  118. def toolkit: Toolkit

    Definition Classes
    UIElement
  119. def trapExit: Boolean

    Definition Classes
    InternalActor
  120. def trapExit_=(value: Boolean): Unit

    Definition Classes
    InternalActor
  121. def uniconify(): Unit

    Definition Classes
    Frame
  122. def unlink(from: ActorRef): Unit

    Definition Classes
    InternalActor
  123. def unlink(from: AbstractActor): Unit

    Definition Classes
    InternalActor
  124. def unmaximize(): Unit

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

    Definition Classes
    LazyPublisher → Publisher
  126. def visible: Boolean

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Error

Inherited from Actor

Inherited from ReplyReactor

Inherited from InternalActor

Inherited from Serializable

Inherited from Serializable

Inherited from InputChannel[Any]

Inherited from ActorCanReply

Inherited from InternalReplyReactor

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

Ungrouped