scalation.animation

AnimateCommand

case class AnimateCommand(action: CommandType.Value, eid: Int, shape: Shape, label: String, primary: Boolean, color: Color, pts: Array[Double], time: Double, from_eid: Int = -1, to_eid: Int = -1) extends Product with Serializable

The AnimateCommand class provides a template for animation commands.

action

the animation action to perform

eid

the external id for the component acted upon

shape

the shape of graph component (node, edge or token)

label

the display label for the component

primary

whether the component is primary (true) or secondary (false)

color

the color of the component

pts

the set points/dimensions giving the shapes location and size

time

simulation time when the command is to be performed

from_eid

the eid of the orgination node (only for edges)

to_eid

the eid of the destination node (only for edges)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AnimateCommand
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnimateCommand(action: CommandType.Value, eid: Int, shape: Shape, label: String, primary: Boolean, color: Color, pts: Array[Double], time: Double, from_eid: Int = -1, to_eid: Int = -1)

    action

    the animation action to perform

    eid

    the external id for the component acted upon

    shape

    the shape of graph component (node, edge or token)

    label

    the display label for the component

    primary

    whether the component is primary (true) or secondary (false)

    color

    the color of the component

    pts

    the set points/dimensions giving the shapes location and size

    time

    simulation time when the command is to be performed

    from_eid

    the eid of the orgination node (only for edges)

    to_eid

    the eid of the destination node (only for edges)

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. val action: CommandType.Value

    the animation action to perform

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val color: Color

    the color of the component

  10. def compare(command2: AnimateCommand): Int

    This method compares two AnimateCommand objects to see which one has the most recent timestamp.

    This method compares two AnimateCommand objects to see which one has the most recent timestamp.

    command2

    the AnimateCommand to compare this to

  11. val eid: Int

    the external id for the component acted upon

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. val from_eid: Int

    the eid of the orgination node (only for edges)

  15. final def getClass(): Class[_]

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

    Definition Classes
    Any
  17. val label: String

    the display label for the component

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. val primary: Boolean

    whether the component is primary (true) or secondary (false)

  22. val pts: Array[Double]

    the set points/dimensions giving the shapes location and size

  23. val shape: Shape

    the shape of graph component (node, edge or token)

  24. def show(array: Array[Double]): AnyRef

    Show the elements of the array and handle the null case.

    Show the elements of the array and handle the null case.

    array

    the array to be shown

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. val time: Double

    simulation time when the command is to be performed

  27. def toString(): String

    Convert the command to a string representation useful to printing/debugging.

    Convert the command to a string representation useful to printing/debugging.

    Definition Classes
    AnimateCommand → AnyRef → Any
  28. val to_eid: Int

    the eid of the destination node (only for edges)

  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped