From 9d20024aa35cd7f923ebfc1ed9a2ffbf2731da70 Mon Sep 17 00:00:00 2001
From: Jakob Odersky
+
+
+
+
+
+
+
+
+
+
+
+ graphyx/Graphyx.scala
]
+
+
+
+
+
+
+
object
+ Graphyx
+ extends
AnyRef
+
+
+ Value Summary
+
+
+
+ val
+
+ guiActor
+ : GUIActor
+
+
+
+
+
+
+
+ val
+
+ physicsActor
+ : PhysicsActor
+
+
+
+
+
+
+
+ val
+
+ tests
+ : scala.List[Test]
+
+
+
+
+
+ Method Summary
+
+
+
+ def
+
+ exit
+ : Unit
+
+
+
+
+
+
+
+ def
+
+ main
+ (args : scala.Array[java.lang.String]) : Unit
+
+
+
+
+
+
+
+ def
+
+ test
+ : Test
+
+
+
+
+
+
+
+ def
+
+ test_=
+ (t : Test) : Unit
+
+
+
+
+
+
+ Methods inherited from AnyRef
+
+
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
+
+
+
+
+
+
+
+
+ Methods inherited from Any
+
+
+ ==, !=, isInstanceOf, asInstanceOf
+
+
+ Value Details
+
+
val
+ tests : scala.List[Test]
+
+
+
+
val
+ physicsActor : PhysicsActor
+
+
+
+
val
+ guiActor : GUIActor
+
+
+ Method Details
+
+
def
+ test : Test
+
+
+
+
+
def
+ main(args : scala.Array[java.lang.String]) : Unit
+
+
+
+
def
+ exit : Unit
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/graphyx/actors$content.html b/doc/graphyx/actors$content.html
new file mode 100644
index 0000000..03856e4
--- /dev/null
+++ b/doc/graphyx/actors$content.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
Class Summary | |
+ class
+ |
+
+ GUIActor
+ extends scala.actors.Actor
+
+
+ |
+
+ class
+ |
+
+ PhysicsActor
+ extends scala.actors.Actor
+
+
+ |
+
+ case class
+ |
+
+ SetWorld
+ (val world : World) extends scala.Product
+
+
+ |
+
Object Summary | |
+ case object
+ |
+
+ Exit
+ extends scala.Product
+
+
+ |
+
+ case object
+ |
+
+ FireEvent
+ extends scala.Product
+
+
+ |
+
+ object
+ |
+
+ SetWorld
+ extends (World) => SetWorld
+
+
+ |
+
+ case object
+ |
+
+ Start
+ extends scala.Product
+
+
+ |
+
+ case object
+ |
+
+ Stop
+ extends scala.Product
+
+
+ |
+
+ graphyx.actors + |
+ + | +
+ SiMS
+ |
+
graphyx/actors/Exit.scala
]
+ case
+ object
+ Exit
+ extends
scala.ProductMethod Summary | |
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ protected def
+ |
+ + readResolve + : AnyRef + + + | +
+ override final def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override final
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ protected
+ def
+ readResolve : AnyRef
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/FireEvent.scala
]
+ case
+ object
+ FireEvent
+ extends
scala.ProductMethod Summary | |
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ protected def
+ |
+ + readResolve + : AnyRef + + + | +
+ override final def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override final
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ protected
+ def
+ readResolve : AnyRef
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/GUIActor.scala
]
+
+ class
+ GUIActor
+ extends
scala.actors.ActorValue Summary | |
+ val
+ |
+ + container + : Container + + + | +
+ var
+ |
+ + continue + : Boolean + + + | +
+ Values and Variables inherited from scala.actors.Actor + | |
+ scala.actors.Actor.mailbox, scala.actors.Actor.trapExit + |
Method Summary | |
+ def
+ |
+ + act + : Unit + + + | +
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/PhysicsActor.scala
]
+
+ class
+ PhysicsActor
+ extends
scala.actors.ActorValue Summary | |
+ var
+ |
+ + continue + : Boolean + + + | +
+ var
+ |
+ + simulate + : Boolean + + + | +
+ var
+ |
+ + world + : World + + + | +
+ Values and Variables inherited from scala.actors.Actor + | |
+ scala.actors.Actor.mailbox, scala.actors.Actor.trapExit + |
Method Summary | |
+ def
+ |
+ + act + : Unit + + + | +
+ def
+ |
+ + fps + : Int + + + | +
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ var
+ world : World
+
+ var
+ continue : Boolean
+
+ var
+ simulate : Boolean
+ Method Details |
+ def
+ fps : Int
+
+ def
+ act : Unit
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/SetWorld.scala
]
+
+ object
+ SetWorld
+ extends
(World) => SetWorld+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/SetWorld.scala
]
+ case
+ class
+ SetWorld(val
world : World)
+ extends
scala.ProductMethod Summary | |
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/Start.scala
]
+ case
+ object
+ Start
+ extends
scala.ProductMethod Summary | |
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ protected def
+ |
+ + readResolve + : AnyRef + + + | +
+ override final def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override final
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ protected
+ def
+ readResolve : AnyRef
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/actors/Stop.scala
]
+ case
+ object
+ Stop
+ extends
scala.ProductMethod Summary | |
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ protected def
+ |
+ + readResolve + : AnyRef + + + | +
+ override final def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override final
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ protected
+ def
+ readResolve : AnyRef
+ + + | +
+ SiMS
+ |
+
Class Summary | |
+ trait
+ |
+
+ Drawable
+ extends AnyRef
+
+ Enthaelt Methoden und Felder fuer graphische Darstellungen.
+ Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.
+ |
+
+ case class
+ |
+
+ GraphicalAABB
+ (val real : AABB) extends AABB with GraphicalObject
+
+
+ |
+
+ case class
+ |
+
+ GraphicalBody
+ (val real : Body) extends GraphicalObject with scala.Product
+
+
+ |
+
+ case class
+ |
+
+ GraphicalCircle
+ (val real : Circle) extends Circle with GraphicalShape
+
+
+ |
+
+ case class
+ |
+
+ GraphicalCollision
+ (val real : Collision) extends GraphicalObject with scala.Product
+
+
+ |
+
+ case class
+ |
+
+ GraphicalDistanceJoint
+ (val real : DistanceJoint) extends GraphicalJoint with scala.Product
+
+
+ |
+
+ trait
+ |
+
+ GraphicalJoint
+ extends GraphicalObject
+
+
+ |
+
+ trait
+ |
+
+ GraphicalObject
+ extends Drawable
+
+ Only copies functional info! (e.g. Graphical world does not include shapes, bodies).
+ |
+
+ case class
+ |
+
+ GraphicalPair
+ (val real : Pair) extends GraphicalObject with scala.Product
+
+
+ |
+
+ case class
+ |
+
+ GraphicalRectangle
+ (val real : Rectangle) extends Rectangle with GraphicalShape
+
+
+ |
+
+ case class
+ |
+
+ GraphicalRegularPolygon
+ (val real : RegularPolygon) extends RegularPolygon with GraphicalShape
+
+
+ |
+
+ case class
+ |
+
+ GraphicalRevoluteJoint
+ (val real : RevoluteJoint) extends GraphicalJoint with scala.Product
+
+
+ |
+
+ trait
+ |
+
+ GraphicalShape
+ extends Shape with GraphicalObject
+
+
+ |
+
+ case class
+ |
+
+ GraphicalSpringJoint
+ (val real : SpringJoint) extends GraphicalJoint with scala.Product
+
+
+ |
+
+ case class
+ |
+
+ GraphicalWorld
+ (val real : World) extends scala.Product
+
+
+ |
+
+ case class
+ |
+
+ Scene
+ (val real : World) extends scala.Product
+
+
+ |
+
Object Summary | |
+ object
+ |
+
+ GraphicalAABB
+ extends (AABB) => GraphicalAABB
+
+
+ |
+
+ object
+ |
+
+ GraphicalBody
+ extends (Body) => GraphicalBody
+
+
+ |
+
+ object
+ |
+
+ GraphicalCircle
+ extends (Circle) => GraphicalCircle
+
+
+ |
+
+ object
+ |
+
+ GraphicalCollision
+ extends (Collision) => GraphicalCollision
+
+
+ |
+
+ object
+ |
+
+ GraphicalDistanceJoint
+ extends (DistanceJoint) => GraphicalDistanceJoint
+
+
+ |
+
+ object
+ |
+
+ GraphicalPair
+ extends (Pair) => GraphicalPair
+
+
+ |
+
+ object
+ |
+
+ GraphicalRectangle
+ extends (Rectangle) => GraphicalRectangle
+
+
+ |
+
+ object
+ |
+
+ GraphicalRegularPolygon
+ extends (RegularPolygon) => GraphicalRegularPolygon
+
+
+ |
+
+ object
+ |
+
+ GraphicalRevoluteJoint
+ extends (RevoluteJoint) => GraphicalRevoluteJoint
+
+
+ |
+
+ object
+ |
+
+ GraphicalSpringJoint
+ extends (SpringJoint) => GraphicalSpringJoint
+
+
+ |
+
+ object
+ |
+
+ GraphicalWorld
+ extends (World) => GraphicalWorld
+
+
+ |
+
+ object
+ |
+
+ Parser
+ extends AnyRef
+
+
+ |
+
+ object
+ |
+
+ Scene
+ extends (World) => Scene
+
+
+ |
+
+ graphyx.graphics + |
+ + | +
+ SiMS
+ |
+
graphyx/graphics/Drawable.scala
]
+
+ trait
+ Drawable
+ extends
AnyRefValue Summary | |
+ var
+ |
+
+ g
+ : java.awt.Graphics
+
+ Java Graphics Objekt zur graphischen Darstellung
+ |
+
+ var
+ |
+
+ ppm
+ : Double
+
+ Anzahl von Pixeln pro Meter.
+ |
+
+ var
+ |
+
+ scale
+ : Double
+
+ Skala in der die graphischen Objekte gezeichnet werden.
+ |
+
+ var
+ |
+
+ windowHeight
+ : Int
+
+ Hoehe des Fensters in Pixeln.
+ |
+
Method Summary | |
+ def
+ |
+
+ correctY
+ (y : Double) : Double
+
+ Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.
+ |
+
+ abstract def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ def
+ |
+
+ drawCircle
+ (center : Vector2D, radius : Double) : Unit
+
+ Malt einen Kreis auf
+ g . |
+
+ def
+ |
+
+ drawLine
+ (startPoint : Vector2D, endPoint : Vector2D) : Unit
+
+ Malt eine Linie auf
+ g . |
+
+ def
+ |
+
+ drawPoint
+ (point : Vector2D) : Unit
+
+ Malt einen Punkt auf
+ g . |
+
+ def
+ |
+
+ drawPolygon
+ (points : scala.Seq[Vector2D]) : Unit
+
+ Malt ein Polygon auf
+ g . |
+
+ def
+ |
+
+ drawVector
+ (v : Vector2D, p : Vector2D) : Unit
+
+ Malt einen Vektor auf
+ g . |
+
+ def
+ |
+
+ fillCircle
+ (center : Vector2D, radius : Double) : Unit
+
+ Malt einen massiven Kreis auf
+ g . |
+
+ def
+ |
+
+ fillPolygon
+ (points : scala.Seq[Vector2D]) : Unit
+
+ Malt ein massives Polygon auf
+ g . |
+
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ var
+ g : java.awt.Graphics
+
+ var
+ ppm : Double
+
+ var
+ scale : Double
+
+ var
+ windowHeight : Int
+ Method Details |
y -
zu korrigierender Wertg
.startPoint -
Startpunkt in WeltkoordinatenendPoint -
Endpunkt in Weltkoordinateng
.points -
Eckpunkte des Polygons in Weltkoordinateng
.points -
Eckpunkte des Polygons in Weltkoordinateng
.center -
Mitte des Kreises in Weltkoordinatenradius -
Radius des Kreisesg
.center -
Mitte des Kreises in Weltkoordinatenradius -
Radius des Kreisesg
.
+ + Der Punkt wird von einem Kreis umgeben.
point -
Punkt in Weltkoordinateng
.v -
Vektor in Weltkoordinatenp -
Ursprungspunkt in Weltkoordinatenabstract
+ def
+ draw : Unit
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalAABB.scala
]
+
+ object
+ GraphicalAABB
+ extends
(AABB) => GraphicalAABB+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalAABB.scala
]
+ case
+ class
+ GraphicalAABB(val
real : AABB)
+ extends
AABB with
GraphicalObject+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
+ Values and Variables inherited from AABB + | |
+ minVertex, maxVertex + |
Method Summary | |
+ override def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AABB + | |
+ overlaps + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalBody.scala
]
+
+ object
+ GraphicalBody
+ extends
(Body) => GraphicalBody+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalBody.scala
]
+ case
+ class
+ GraphicalBody(val
real : Body)
+ extends
GraphicalObject with
scala.ProductValue Summary | |
+ val
+ |
+ + fixed + : Boolean + + + | +
+ val
+ |
+ + monitor + : Boolean + + + | +
+ val
+ |
+ + pos + : Vector2D + + + | +
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ pos : Vector2D
+
+ val
+ fixed : Boolean
+
+ val
+ monitor : Boolean
+ Method Details |
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalCircle.scala
]
+
+ object
+ GraphicalCircle
+ extends
(Circle) => GraphicalCircle+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalCircle.scala
]
+ case
+ class
+ GraphicalCircle(val
real : Circle)
+ extends
Circle with
GraphicalShape+ Values and Variables inherited from GraphicalShape + | |
+ uid + |
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
+ Values and Variables inherited from Circle + | |
+ radius, density, volume, I + |
+ Values and Variables inherited from Shape + | |
+ collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes + |
Method Summary | |
+ override def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from Circle + | |
+ AABB, project, contains + |
+ Methods inherited from Shape + | |
+ mass, asBody, ^, ^ + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalCollision.scala
]
+
+ object
+ GraphicalCollision
+ extends
(Collision) => GraphicalCollision+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalCollision.scala
]
+ case
+ class
+ GraphicalCollision(val
real : Collision)
+ extends
GraphicalObject with
scala.ProductValue Summary | |
+ val
+ |
+ + normal + : Vector2D + + + | +
+ val
+ |
+ + points + : scala.Iterable[Vector2D] + + + | +
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalDistanceJoint.scala
]
+
+ object
+ GraphicalDistanceJoint
+ extends
(DistanceJoint) => GraphicalDistanceJoint+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalDistanceJoint.scala
]
+ case
+ class
+ GraphicalDistanceJoint(val
real : DistanceJoint)
+ extends
GraphicalJoint with
scala.ProductValue Summary | |
+ val
+ |
+ + connection1 + : Vector2D + + + | +
+ val
+ |
+ + connection2 + : Vector2D + + + | +
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalJoint.scala
]
+
+ trait
+ GraphicalJoint
+ extends
GraphicalObjectValue Summary | |
+ abstract val
+ |
+
+ real
+ : Joint
+
+ Pointer to real object.
+ |
+
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ Methods inherited from GraphicalObject + | |
+ draw (abstract) + |
Value Details |
abstract
+ val
+ real : Joint
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalObject.scala
]
+
+ trait
+ GraphicalObject
+ extends
DrawableValue Summary | |
+ abstract val
+ |
+
+ real
+ : AnyRef
+
+ Pointer to real object.
+ |
+
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ abstract def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalPair.scala
]
+
+ object
+ GraphicalPair
+ extends
(Pair) => GraphicalPair+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalPair.scala
]
+ case
+ class
+ GraphicalPair(val
real : Pair)
+ extends
GraphicalObject with
scala.ProductValue Summary | |
+ val
+ |
+ + pos1 + : Vector2D + + + | +
+ val
+ |
+ + pos2 + : Vector2D + + + | +
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalRectangle.scala
]
+
+ object
+ GraphicalRectangle
+ extends
(Rectangle) => GraphicalRectangle+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalRectangle.scala
]
+ case
+ class
+ GraphicalRectangle(val
real : Rectangle)
+ extends
Rectangle with
GraphicalShape+ Values and Variables inherited from GraphicalShape + | |
+ uid + |
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
+ Values and Variables inherited from Rectangle + | |
+ halfWidth, halfHeight, density, volume, I + |
+ Values and Variables inherited from Shape + | |
+ collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes + |
Method Summary | |
+ override def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from Rectangle + | |
+ halfDiags, vertices + |
+ Methods inherited from ConvexPolygon + | |
+ sides, project, AABB, contains + |
+ Methods inherited from Shape + | |
+ mass, asBody, ^, ^ + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalRegularPolygon.scala
]
+
+ object
+ GraphicalRegularPolygon
+ extends
(RegularPolygon) => GraphicalRegularPolygon+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalRegularPolygon.scala
]
+ case
+ class
+ GraphicalRegularPolygon(val
real : RegularPolygon)
+ extends
RegularPolygon with
GraphicalShape+ Values and Variables inherited from GraphicalShape + | |
+ uid + |
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
+ Values and Variables inherited from RegularPolygon + | |
+ n, radius, density, volume, I + |
+ Values and Variables inherited from Shape + | |
+ collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes + |
Method Summary | |
+ override def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from RegularPolygon + | |
+ halfDiags, vertices + |
+ Methods inherited from ConvexPolygon + | |
+ sides, project, AABB, contains + |
+ Methods inherited from Shape + | |
+ mass, asBody, ^, ^ + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Method Details |
override
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalRevoluteJoint.scala
]
+
+ object
+ GraphicalRevoluteJoint
+ extends
(RevoluteJoint) => GraphicalRevoluteJoint+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalRevoluteJoint.scala
]
+ case
+ class
+ GraphicalRevoluteJoint(val
real : RevoluteJoint)
+ extends
GraphicalJoint with
scala.ProductValue Summary | |
+ val
+ |
+ + connection1 + : Vector2D + + + | +
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalShape.scala
]
+
+ trait
+ GraphicalShape
+ extends
Shape with
GraphicalObjectValue Summary | |
+ abstract val
+ |
+
+ real
+ : Shape
+
+ Pointer to real object.
+ |
+
+ override val
+ |
+
+ uid
+ : Int
+
+ Einzigartige Identifikationsnummer.
+ |
+
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
+ Values and Variables inherited from Shape + | |
+ density (abstract), volume (abstract), I (abstract), collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes + |
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from Shape + | |
+ AABB (abstract), project (abstract), contains (abstract), mass, asBody, ^, ^ + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ Methods inherited from GraphicalObject + | |
+ draw (abstract) + |
Value Details |
abstract
+ val
+ real : Shape
+ override
+ val
+ uid : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalSpringJoint.scala
]
+
+ object
+ GraphicalSpringJoint
+ extends
(SpringJoint) => GraphicalSpringJoint+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalSpringJoint.scala
]
+ case
+ class
+ GraphicalSpringJoint(val
real : SpringJoint)
+ extends
GraphicalJoint with
scala.ProductValue Summary | |
+ val
+ |
+ + connection1 + : Vector2D + + + | +
+ val
+ |
+ + connection2 + : Vector2D + + + | +
+ Values and Variables inherited from Drawable + | |
+ g, ppm, scale, windowHeight + |
Method Summary | |
+ def
+ |
+
+ draw
+ : Unit
+
+ Stellt das graphische Objekt dar.
+ |
+
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from Drawable + | |
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ draw : Unit
+ override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalWorld.scala
]
+
+ object
+ GraphicalWorld
+ extends
(World) => GraphicalWorld+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/GraphicalWorld.scala
]
+ case
+ class
+ GraphicalWorld(val
real : World)
+ extends
scala.ProductValue Summary | |
+ val
+ |
+ + enableCollisionDetection + : Boolean + + + | +
+ val
+ |
+ + enablePositionCorrection + : Boolean + + + | +
+ val
+ |
+ + gravity + : Vector2D + + + | +
+ val
+ |
+ + iterations + : Int + + + | +
+ val
+ |
+ + monitorResults + : scala.Seq[java.lang.String] + + + | +
+ val
+ |
+ + overCWarning + : Boolean + + + | +
+ val
+ |
+ + time + : Double + + + | +
+ val
+ |
+ + timeStep + : Double + + + | +
Method Summary | |
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ time : Double
+
+ val
+ timeStep : Double
+
+ val
+ iterations : Int
+
+ val
+ overCWarning : Boolean
+
+ val
+ gravity : Vector2D
+
+ val
+ monitorResults : scala.Seq[java.lang.String]
+
+ val
+ enableCollisionDetection : Boolean
+
+ val
+ enablePositionCorrection : Boolean
+ Method Details |
override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/Parser.scala
]
+
+ object
+ Parser
+ extends
AnyRefValue Summary | |
+ val
+ |
+ + throwOnUnknown + : Boolean + + + | +
Method Summary | |
+ def
+ |
+ + toGraphical + (real : AABB) : GraphicalAABB + + + | +
+ def
+ |
+ + toGraphical + (real : Pair) : GraphicalPair + + + | +
+ def
+ |
+
+ toGraphical
+ (real : Shape) : GraphicalShape with scala.Product
+
+
+ |
+
+ def
+ |
+
+ toGraphical
+ (real : Joint) : GraphicalJoint with scala.Product
+
+
+ |
+
+ def
+ |
+ + toGraphical + (real : Collision) : GraphicalCollision + + + | +
+ def
+ |
+ + toGraphical + (real : Body) : GraphicalBody + + + | +
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ toGraphical(real : Shape) : GraphicalShape with
scala.Product
+
+ def
+ toGraphical(real : Joint) : GraphicalJoint with
scala.Product
+
+ def
+ toGraphical(real : Collision) : GraphicalCollision
+
+ def
+ toGraphical(real : Pair) : GraphicalPair
+
+ def
+ toGraphical(real : AABB) : GraphicalAABB
+
+ def
+ toGraphical(real : Body) : GraphicalBody
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/Scene.scala
]
+
+ object
+ Scene
+ extends
(World) => Scene+ Methods inherited from scala.Function1 + | |
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/graphics/Scene.scala
]
+ case
+ class
+ Scene(val
real : World)
+ extends
scala.ProductValue Summary | |
+ val
+ |
+ + aabbs + : scala.Seq[GraphicalAABB] + + + | +
+ val
+ |
+ + bodies + : scala.Seq[GraphicalBody] + + + | +
+ val
+ |
+ + collisions + : scala.Seq[GraphicalCollision] + + + | +
+ val
+ |
+ + fps + : Int + + + | +
+ val
+ |
+
+ joints
+ : scala.Seq[GraphicalJoint with scala.Product]
+
+
+ |
+
+ val
+ |
+ + pairs + : scala.Seq[GraphicalPair] + + + | +
+ val
+ |
+
+ shapes
+ : scala.Seq[GraphicalShape with scala.Product]
+
+
+ |
+
+ val
+ |
+ + world + : GraphicalWorld + + + | +
Method Summary | |
+ override def
+ |
+
+ equals
+ (arg0 : Any) : Boolean
+
+ This method is used to compare the receiver object (
+ this )
+ with the argument object (arg0 ) for equivalence. |
+
+ override def
+ |
+
+ hashCode
+ : Int
+
+ Returns a hash code value for the object.
+ |
+
+ override def
+ |
+ + productArity + : Int + + + | +
+ override def
+ |
+ + productElement + (arg0 : Int) : Any + + + | +
+ override def
+ |
+ + productPrefix + : java.lang.String + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ world : GraphicalWorld
+
+ val
+ shapes : scala.Seq[GraphicalShape with
scala.Product]
+
+ val
+ joints : scala.Seq[GraphicalJoint with
scala.Product]
+
+ val
+ bodies : scala.Seq[GraphicalBody]
+
+ val
+ collisions : scala.Seq[GraphicalCollision]
+
+ val
+ pairs : scala.Seq[GraphicalPair]
+
+ val
+ aabbs : scala.Seq[GraphicalAABB]
+
+ val
+ fps : Int
+ Method Details |
override
+ def
+ hashCode : Int
+
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (o1.hashCode.equals(o2.hashCode)
) yet not be
+ equal (o1.equals(o2)
returns false
). A
+ degenerate implementation could always return 0
.
+ However, it is required that if two objects are equal
+ (o1.equals(o2)
returns true
) that they
+ have identical hash codes
+ (o1.hashCode.equals(o2.hashCode)
). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the equals
method.
+
override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
this
)
+ with the argument object (arg0
) for equivalence.
+
+ + The default implementations of this method is an equivalence + relation: +
x
of type Any
,
+ x.equals(x)
should return true
.x
and y
of type
+ Any
, x.equals(y)
should return true
if and only
+ if y.equals(x)
returns true
.x
, y
, and z
of type AnyRef
+ if x.equals(y)
returns true
and
+ y.equals(z)
returns
+ true
, then x.equals(z)
should return true
.
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override hashCode
to ensure that objects that are
+ "equal" (o1.equals(o2)
returns true
)
+ hash to the same Int
+ (o1.hashCode.equals(o2.hashCode)
).
arg0 -
the object to compare against this object for equality.true
if the receiver object is equivalent to the argument; false
otherwise. override
+ def
+ productPrefix : java.lang.String
+ override
+ def
+ productArity : Int
+ + + | +
+ SiMS
+ |
+
Class Summary | |
+ class
+ |
+
+ BodyPopup
+ extends PopupMenu
+
+
+ |
+
+ class
+ |
+
+ Container
+ extends AnyRef
+
+
+ |
+
+ class
+ |
+
+ ControlPanel
+ (container : Container) extends scala.swing.BoxPanel
+
+
+ |
+
+ class
+ |
+
+ GrabbedBody
+ (b : Body, point : Vector2D) extends AnyRef
+
+
+ |
+
+ class
+ |
+
+ GravityPanel
+ (container : Container) extends scala.swing.GridBagPanel
+
+
+ |
+
+ class
+ |
+
+ InfoPanel
+ (container : Container) extends scala.swing.BoxPanel
+
+
+ |
+
+ class
+ |
+
+ MainFrame
+ (container : Container) extends scala.swing.Frame
+
+
+ |
+
+ class
+ |
+
+ MainPanel
+ (container : Container) extends scala.swing.GridBagPanel
+
+
+ |
+
+ class
+ |
+
+ OptionsPanel
+ (container : Container) extends scala.swing.GridPanel
+
+
+ |
+
+ class
+ |
+
+ PopupMenu
+ extends scala.swing.Component
+
+
+ |
+
+ class
+ |
+
+ ShapeInfoPanel
+ (container : Container) extends scala.swing.GridPanel
+
+
+ |
+
+ class
+ |
+
+ WorldPanel
+ (container : Container) extends scala.swing.BoxPanel
+
+
+ |
+
+ graphyx.gui + |
+ + | +
+ SiMS
+ |
+
graphyx/gui/BodyPopup.scala
]
+
+ class
+ BodyPopup
+ extends
PopupMenuValue Summary | |
+ val
+ |
+ + btnClose + : scala.swing.MenuItem + + + | +
+ val
+ |
+ + chckFixed + : scala.swing.CheckMenuItem + + + | +
+ val
+ |
+ + chckMonitor + : scala.swing.CheckMenuItem + + + | +
+ Values and Variables inherited from PopupMenu + | |
+ peer + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
Method Summary | |
+ def
+ |
+ + body + : Body + + + | +
+ def
+ |
+ + body_= + (newBody : Body) : Unit + + + | +
+ Methods inherited from PopupMenu + | |
+ add, setVisible + |
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ chckMonitor : scala.swing.CheckMenuItem
+
+ val
+ chckFixed : scala.swing.CheckMenuItem
+
+ val
+ btnClose : scala.swing.MenuItem
+ Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/Container.scala
]
+
+ class
+ Container
+ extends
AnyRefValue Summary | |
+ val
+ |
+ + mainFrame + : MainFrame + + + | +
+ var
+ |
+ + scene + : Scene + + + | +
Method Summary | |
+ def
+ |
+ + exitGUI + : Unit + + + | +
+ def
+ |
+ + show + : Unit + + + | +
+ def
+ |
+ + update + (s : Scene) : Unit + + + | +
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/ControlPanel.scala
]
+
+ class
+ ControlPanel(container : Container)
+ extends
scala.swing.BoxPanelValue Summary | |
+ val
+ |
+ + btnExit + : scala.swing.Button + + + | +
+ val
+ |
+ + btnFire + : scala.swing.Button + + + | +
+ val
+ |
+ + btnReset + : scala.swing.Button + + + | +
+ val
+ |
+ + btnStart + : scala.swing.Button + + + | +
+ val
+ |
+ + btnStep + : scala.swing.Button + + + | +
+ val
+ |
+ + btnStop + : scala.swing.Button + + + | +
+ val
+ |
+ + cboTest + : scala.swing.ComboBox[Test] + + + | +
+ Values and Variables inherited from scala.swing.BoxPanel + | |
+ scala.swing.BoxPanel.peer + |
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper + | |
+ scala.swing.SequentialContainer.Wrapper.contents + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ btnStart : scala.swing.Button
+
+ val
+ btnStep : scala.swing.Button
+
+ val
+ btnStop : scala.swing.Button
+
+ val
+ btnExit : scala.swing.Button
+
+ val
+ btnFire : scala.swing.Button
+
+ val
+ btnReset : scala.swing.Button
+
+ val
+ cboTest : scala.swing.ComboBox[Test]
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/GrabbedBody.scala
]
+
+ class
+ GrabbedBody(b : Body, point : Vector2D)
+ extends
AnyRefValue Summary | |
+ val
+ |
+ + r + : Vector2D + + + | +
+ val
+ |
+ + wasFixed + : Boolean + + + | +
Method Summary | |
+ def
+ |
+ + body + : Body + + + | +
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/GravityPanel.scala
]
+
+ class
+ GravityPanel(container : Container)
+ extends
scala.swing.GridBagPanelValue Summary | |
+ val
+ |
+ + c + : scala.swing.GridBagPanel.Constraints + + + | +
+ val
+ |
+ + lblX + : scala.swing.Label + + + | +
+ val
+ |
+ + lblY + : scala.swing.Label + + + | +
+ val
+ |
+ + sldX + : scala.swing.Slider + + + | +
+ val
+ |
+ + sldY + : scala.swing.Slider + + + | +
+ Values and Variables inherited from scala.swing.GridBagPanel + | |
+ scala.swing.GridBagPanel.peer + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
Method Summary | |
+ def
+ |
+ + update + : Unit + + + | +
+ Methods inherited from scala.swing.GridBagPanel + | |
+ scala.swing.GridBagPanel.pair2Constraints, scala.swing.GridBagPanel.constraintsFor, scala.swing.GridBagPanel.areValid, scala.swing.GridBagPanel.add + |
+ Methods inherited from scala.swing.LayoutContainer + | |
+ scala.swing.LayoutContainer.layout + |
+ Methods inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper.contents + |
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ c : scala.swing.GridBagPanel.Constraints
+
+ val
+ sldX : scala.swing.Slider
+
+ val
+ lblX : scala.swing.Label
+
+ val
+ sldY : scala.swing.Slider
+
+ val
+ lblY : scala.swing.Label
+ Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/InfoPanel.scala
]
+
+ class
+ InfoPanel(container : Container)
+ extends
scala.swing.BoxPanelValue Summary | |
+ val
+ |
+ + out + : scala.swing.TextArea + + + | +
+ Values and Variables inherited from scala.swing.BoxPanel + | |
+ scala.swing.BoxPanel.peer + |
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper + | |
+ scala.swing.SequentialContainer.Wrapper.contents + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
Method Summary | |
+ def
+ |
+ + update + : Unit + + + | +
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/MainFrame.scala
]
+
+ class
+ MainFrame(container : Container)
+ extends
scala.swing.FrameValue Summary | |
+ val
+ |
+ + mainPanel + : MainPanel + + + | +
+ Values and Variables inherited from scala.swing.Frame + | |
+ scala.swing.Frame.peer + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.swing.RootPanel + | |
+ scala.swing.RootPanel.contents + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals, scala.Proxy.toString + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/MainPanel.scala
]
+
+ class
+ MainPanel(container : Container)
+ extends
scala.swing.GridBagPanelValue Summary | |
+ val
+ |
+ + c + : scala.swing.GridBagPanel.Constraints + + + | +
+ val
+ |
+ + controlPanel + : ControlPanel + + + | +
+ val
+ |
+ + gravityPanel + : GravityPanel + + + | +
+ val
+ |
+ + infoPanel + : InfoPanel + + + | +
+ val
+ |
+ + optionsPanel + : OptionsPanel + + + | +
+ val
+ |
+ + shapeInfoPanel + : ShapeInfoPanel + + + | +
+ val
+ |
+ + splitter + : scala.swing.SplitPane + + + | +
+ val
+ |
+ + worldPanel + : WorldPanel + + + | +
+ Values and Variables inherited from scala.swing.GridBagPanel + | |
+ scala.swing.GridBagPanel.peer + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
+ Methods inherited from scala.swing.GridBagPanel + | |
+ scala.swing.GridBagPanel.pair2Constraints, scala.swing.GridBagPanel.constraintsFor, scala.swing.GridBagPanel.areValid, scala.swing.GridBagPanel.add + |
+ Methods inherited from scala.swing.LayoutContainer + | |
+ scala.swing.LayoutContainer.layout + |
+ Methods inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper.contents + |
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ c : scala.swing.GridBagPanel.Constraints
+
+ val
+ worldPanel : WorldPanel
+
+ val
+ controlPanel : ControlPanel
+
+ val
+ infoPanel : InfoPanel
+
+ val
+ optionsPanel : OptionsPanel
+
+ val
+ shapeInfoPanel : ShapeInfoPanel
+
+ val
+ gravityPanel : GravityPanel
+
+ val
+ splitter : scala.swing.SplitPane
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/OptionsPanel.scala
]
+
+ class
+ OptionsPanel(container : Container)
+ extends
scala.swing.GridPanelValue Summary | |
+ val
+ |
+ + chckCD + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckDrawAABBs + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckDrawBodies + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckDrawCollisions + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckDrawJoints + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckDrawPairs + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckDrawShapes + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + chckPC + : scala.swing.CheckBox + + + | +
+ val
+ |
+ + components + : scala.List[scala.swing.Component] + + + | +
+ val
+ |
+ + lblCD + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDraw + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDrawAABBs + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDrawBodies + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDrawCollisions + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDrawJoints + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDrawPairs + : scala.swing.Label + + + | +
+ val
+ |
+ + lblDrawShapes + : scala.swing.Label + + + | +
+ val
+ |
+ + lblIterations + : scala.swing.Label + + + | +
+ val
+ |
+ + lblPC + : scala.swing.Label + + + | +
+ val
+ |
+ + lblTimeStep + : scala.swing.Label + + + | +
+ val
+ |
+ + txtIterations + : scala.swing.TextField + + + | +
+ val
+ |
+ + txtTimeStep + : scala.swing.TextField + + + | +
+ Values and Variables inherited from scala.swing.GridPanel + | |
+ scala.swing.GridPanel.peer + |
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper + | |
+ scala.swing.SequentialContainer.Wrapper.contents + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
Method Summary | |
+ def
+ |
+ + update + : Unit + + + | +
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ lblTimeStep : scala.swing.Label
+
+ val
+ txtTimeStep : scala.swing.TextField
+
+ val
+ lblIterations : scala.swing.Label
+
+ val
+ txtIterations : scala.swing.TextField
+
+ val
+ lblCD : scala.swing.Label
+
+ val
+ chckCD : scala.swing.CheckBox
+
+ val
+ lblPC : scala.swing.Label
+
+ val
+ chckPC : scala.swing.CheckBox
+
+ val
+ lblDraw : scala.swing.Label
+
+ val
+ lblDrawBodies : scala.swing.Label
+
+ val
+ chckDrawBodies : scala.swing.CheckBox
+
+ val
+ lblDrawShapes : scala.swing.Label
+
+ val
+ chckDrawShapes : scala.swing.CheckBox
+
+ val
+ lblDrawJoints : scala.swing.Label
+
+ val
+ chckDrawJoints : scala.swing.CheckBox
+
+ val
+ lblDrawAABBs : scala.swing.Label
+
+ val
+ chckDrawAABBs : scala.swing.CheckBox
+
+ val
+ lblDrawPairs : scala.swing.Label
+
+ val
+ chckDrawPairs : scala.swing.CheckBox
+
+ val
+ lblDrawCollisions : scala.swing.Label
+
+ val
+ chckDrawCollisions : scala.swing.CheckBox
+
+ val
+ components : scala.List[scala.swing.Component]
+ Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/PopupMenu.scala
]
+
+ class
+ PopupMenu
+ extends
scala.swing.ComponentValue Summary | |
+ override lazy val
+ |
+ + peer + : javax.swing.JPopupMenu + + + | +
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
Method Summary | |
+ def
+ |
+ + add + (item : scala.swing.MenuItem) : Unit + + + | +
+ def
+ |
+ + setVisible + (visible : Boolean) : Unit + + + | +
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
override
+ lazy val
+ peer : javax.swing.JPopupMenu
+ Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/ShapeInfoPanel.scala
]
+
+ class
+ ShapeInfoPanel(container : Container)
+ extends
scala.swing.GridPanelValue Summary | |
+ val
+ |
+ + components + : scala.List[scala.swing.Label] + + + | +
+ val
+ |
+ + lblBody + : scala.swing.Label + + + | +
+ val
+ |
+ + lblShape + : scala.swing.Label + + + | +
+ val
+ |
+ + lblValBody + : scala.swing.Label + + + | +
+ val
+ |
+ + lblValShape + : scala.swing.Label + + + | +
+ Values and Variables inherited from scala.swing.GridPanel + | |
+ scala.swing.GridPanel.peer + |
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper + | |
+ scala.swing.SequentialContainer.Wrapper.contents + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ lblBody : scala.swing.Label
+
+ val
+ lblValBody : scala.swing.Label
+
+ val
+ lblShape : scala.swing.Label
+
+ val
+ lblValShape : scala.swing.Label
+
+ val
+ components : scala.List[scala.swing.Label]
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/gui/WorldPanel.scala
]
+
+ class
+ WorldPanel(container : Container)
+ extends
scala.swing.BoxPanelValue Summary | |
+ var
+ |
+ + drawAABBs + : Boolean + + + | +
+ var
+ |
+ + drawBodies + : Boolean + + + | +
+ var
+ |
+ + drawCollisions + : Boolean + + + | +
+ var
+ |
+ + drawJoints + : Boolean + + + | +
+ var
+ |
+ + drawPairs + : Boolean + + + | +
+ var
+ |
+ + drawShapes + : Boolean + + + | +
+ var
+ |
+ + endPoint + : java.awt.Point + + + | +
+ var
+ |
+ + grabbedBody + : scala.Option[GrabbedBody] + + + | +
+ val
+ |
+ + lblBody + : scala.swing.Label + + + | +
+ var
+ |
+ + mousePressed + : Boolean + + + | +
+ var
+ |
+ + offset + : Vector2D + + + | +
+ val
+ |
+ + popup + : BodyPopup + + + | +
+ val
+ |
+ + ppm + : Double + + + | +
+ var
+ |
+ + scale + : Double + + + | +
+ var
+ |
+ + startPoint + : java.awt.Point + + + | +
+ Values and Variables inherited from scala.swing.BoxPanel + | |
+ scala.swing.BoxPanel.peer + |
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper + | |
+ scala.swing.SequentialContainer.Wrapper.contents + |
+ Values and Variables inherited from scala.swing.Container.Wrapper + | |
+ scala.swing.Container.Wrapper._contents + |
+ Values and Variables inherited from scala.swing.Component + | |
+ scala.swing.Component.initP + |
+ Values and Variables inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.listeners + |
+ Values and Variables inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.reactions + |
Method Summary | |
+ def
+ |
+ + drawAxes + (g : java.awt.Graphics) : Unit + + + | +
+ def
+ |
+ + drawParts + (parts : scala.Iterable[Drawable], g : java.awt.Graphics) : Unit + + + | +
+ def
+ |
+ + getBody + (p : Vector2D) : scala.Option[Body] + + + | +
+ def
+ |
+ + grab + (b : Body, p : Vector2D) : Unit + + + | +
+ override def
+ |
+ + paintComponent + (g : java.awt.Graphics) : Unit + + + | +
+ implicit def
+ |
+ + point2Vector + (p : java.awt.Point) : Vector2D + + + | +
+ def
+ |
+ + release + : Unit + + + | +
+ def
+ |
+ + scene + : Scene + + + | +
+ def
+ |
+ + update + : Unit + + + | +
+ Methods inherited from scala.swing.Publisher + | |
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish + |
+ Methods inherited from scala.swing.Reactor + | |
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo + |
+ Methods inherited from scala.Proxy + | |
+ scala.Proxy.hashCode, scala.Proxy.equals + |
+ Methods inherited from AnyRef + | |
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ lblBody : scala.swing.Label
+
+ val
+ popup : BodyPopup
+
+ val
+ ppm : Double
+
+ var
+ scale : Double
+
+ var
+ offset : Vector2D
+
+ var
+ drawBodies : Boolean
+
+ var
+ drawShapes : Boolean
+
+ var
+ drawJoints : Boolean
+
+ var
+ drawAABBs : Boolean
+
+ var
+ drawPairs : Boolean
+
+ var
+ drawCollisions : Boolean
+
+ var
+ mousePressed : Boolean
+
+ var
+ startPoint : java.awt.Point
+
+ var
+ endPoint : java.awt.Point
+
+ var
+ grabbedBody : scala.Option[GrabbedBody]
+ Method Details |
implicit
+ def
+ point2Vector(p : java.awt.Point) : Vector2D
+
+ def
+ scene : Scene
+
+ def
+ update : Unit
+ override
+ def
+ paintComponent(g : java.awt.Graphics) : Unit
+
+ def
+ drawAxes(g : java.awt.Graphics) : Unit
+
+ def
+ drawParts(parts : scala.Iterable[Drawable], g : java.awt.Graphics) : Unit
+
+ def
+ getBody(p : Vector2D) : scala.Option[Body]
+
+ def
+ release : Unit
+ + + | +
+ SiMS
+ |
+
Class Summary | |
+ trait
+ |
+
+ Test
+ extends AnyRef
+
+
+ |
+
Object Summary | |
+ object
+ |
+
+ BallStack
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Chain
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ CompositeShape
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Cup
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ EmptyTest
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Friction
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Friction2
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ General1
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ General2
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Joints1
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Joints2
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Net
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ RagdollTest
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Restitution
+ extends Test
+
+
+ |
+
+ object
+ |
+
+ Stacking
+ extends Test
+
+
+ |
+
+ graphyx.tests + |
+ + | +
+ SiMS
+ |
+
graphyx/tests/BallStack.scala
]
+
+ object
+ BallStack
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Chain.scala
]
+
+ object
+ Chain
+ extends
TestValue Summary | |
+ override val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/CompositeShape.scala
]
+
+ object
+ CompositeShape
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Cup.scala
]
+
+ object
+ Cup
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/EmptyTest.scala
]
+
+ object
+ EmptyTest
+ extends
TestValue Summary | |
+ override val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Friction.scala
]
+
+ object
+ Friction
+ extends
TestValue Summary | |
+ var
+ |
+ + r1 + : RevoluteJoint + + + | +
+ var
+ |
+ + r2 + : RevoluteJoint + + + | +
+ var
+ |
+ + r3 + : RevoluteJoint + + + | +
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ override def
+ |
+ + fireEvent + : Unit + + + | +
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
+ val
+ title : java.lang.String
+
+ val
+ world : World
+
+ var
+ r1 : RevoluteJoint
+
+ var
+ r2 : RevoluteJoint
+
+ var
+ r3 : RevoluteJoint
+ Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Friction2.scala
]
+
+ object
+ Friction2
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/General1.scala
]
+
+ object
+ General1
+ extends
TestValue Summary | |
+ override val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + blastBomb + : Unit + + + | +
+ override def
+ |
+ + fireEvent + : Unit + + + | +
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ def
+ init : Unit
+ override
+ def
+ fireEvent : Unit
+
+ def
+ blastBomb : Unit
+ + + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/General2.scala
]
+
+ object
+ General2
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Joints1.scala
]
+
+ object
+ Joints1
+ extends
TestValue Summary | |
+ override val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Joints2.scala
]
+
+ object
+ Joints2
+ extends
TestValue Summary | |
+ override val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Net.scala
]
+
+ object
+ Net
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/RagdollTest.scala
]
+
+ object
+ RagdollTest
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Restitution.scala
]
+
+ object
+ Restitution
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Stacking.scala
]
+
+ object
+ Stacking
+ extends
TestValue Summary | |
+ val
+ |
+ + title + : java.lang.String + + + | +
+ val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + init + : Unit + + + | +
+ Methods inherited from Test + | |
+ fireEvent, toString + |
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
+ + | +
+ SiMS
+ |
+
+ + | +
+ SiMS
+ |
+
graphyx/tests/Test.scala
]
+
+ trait
+ Test
+ extends
AnyRefValue Summary | |
+ abstract val
+ |
+ + title + : java.lang.String + + + | +
+ abstract val
+ |
+ + world + : World + + + | +
Method Summary | |
+ def
+ |
+ + fireEvent + : Unit + + + | +
+ abstract def
+ |
+ + init + : Unit + + + | +
+ override def
+ |
+
+ toString
+ : java.lang.String
+
+ Returns a string representation of the object.
+ |
+
+ Methods inherited from AnyRef + | |
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized + |
+ Methods inherited from Any + | |
+ ==, !=, isInstanceOf, asInstanceOf + |
Value Details |
Method Details |
abstract
+ def
+ init : Unit
+
+ def
+ fireEvent : Unit
+ override
+ def
+ toString : java.lang.String
+ + The default representation is platform dependent.
+ + | +
+ SiMS
+ |
+