scalation.animation

AnimateCommand

Related Doc: package animation

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val action: CommandType.Value

    the animation action to perform

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

    the color of the component

  8. 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

  9. val eid: Int

    the external id for the component acted upon

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    the eid of the orgination node (only for edges)

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

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

    Definition Classes
    Any
  15. val label: String

    the display label for the component

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

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

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

    Definition Classes
    AnyRef
  19. val primary: Boolean

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

  20. val pts: Array[Double]

    the set points/dimensions giving the shapes location and size

  21. val shape: Shape

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

  22. 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

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

    Definition Classes
    AnyRef
  24. val time: Double

    simulation time when the command is to be performed

  25. 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
  26. val to_eid: Int

    the eid of the destination node (only for edges)

  27. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. 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