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 origination node (only for edges)
- to_eid
the 'eid' of the destination node (only for edges)
- Alphabetic
- By Inheritance
- AnimateCommand
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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 origination node (only for edges)
- to_eid
the 'eid' of the destination node (only for edges)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val action: CommandType.Value
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val color: Color
-
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 animate command to compare 'this' to
- val eid: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val from_eid: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val label: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val primary: Boolean
- val pts: Array[Double]
- val shape: Shape
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val time: Double
-
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
- val to_eid: Int
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )