PlanetsGui

ostrat.pspace.PlanetsGui
case class PlanetsGui(canv: CanvasPlatform) extends MapGui

Simple Solar system model application.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class MapGui
trait CanvasUser
class Object
trait Matchable
class Any
Show all

Members list

Type members

Classlikes

implicit class PrimaryBodyExtensions(thisBody: SSPrimaryBody)

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def arrCanv(inp: PtM2Arr): Polygon

Translates an array of map points to an array of Canvas Display positions

Translates an array of map points to an array of Canvas Display positions

Attributes

override def eTop(): Unit

Attributes

Definition Classes
def out(elapsedIn: Integer, startTime: Integer): Unit
def reFocus(newFocus: PtM2): Unit
final def repaintMap(): Unit
def toCanv(mapPoint: PtM2): Pt2

Translates a point from map position to Canvas Display position

Translates a point from map position to Canvas Display position

Attributes

Inherited methods

def addPanel(clipPoly: Polygon, cover: Boolean): Panel

Attributes

Inherited from:
CanvasPanelled

Attributes

Inherited from:
MapGui

This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

Attributes

Inherited from:
CanvasUser

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def reTop(commands: RArr[GraphicBounded]): Unit

repaints the top command bar

repaints the top command bar

Attributes

Inherited from:
MapGui
def refresh(): Unit

Attributes

Inherited from:
CanvasPanelled
def refreshPanel(panel: Panel): Unit

This method creates a new frame for the panel. It clips the painting area. Paints the Panel with the back colour, translates the GraphicElems from their positions relative to the Panel's centre to their absolute positions on the canvas. It stores the active object shapes with their absolute positions on the panels active object list. Finally it unclips the painting area.

This method creates a new frame for the panel. It clips the painting area. Paints the Panel with the back colour, translates the GraphicElems from their positions relative to the Panel's centre to their absolute positions on the canvas. It stores the active object shapes with their absolute positions on the panels active object list. Finally it unclips the painting area.

Attributes

Inherited from:
CanvasPanelled
def setStatus(str: String): Unit

Attributes

Inherited from:
MapGui

Attributes

Inherited from:
MapGui
def textBox(str: String, cmd: AnyRef): PolygonCompound

Attributes

Inherited from:
MapGui
def textBoxFull(str: String, cmd: AnyRef): PolygonCompound

Attributes

Inherited from:
MapGui

Concrete fields

val date: LocalDateTime
var elapsed: Int
val fixedClock: Clock
var mapFocus: PtM2
val margin: Int
val nowt: Instant
val num: Long
var scale: Length
var years: Double

Inherited fields

val barWidth: Int

Attributes

Inherited from:
MapGui

Attributes

Inherited from:
MapGui
var panels: RArr[Panel]

Attributes

Inherited from:
CanvasPanelled
var statusText: String

Attributes

Inherited from:
MapGui
val title: String

Attributes

Inherited from:
MapGui
val topPan: Panel

Attributes

Inherited from:
MapGui

Implicits

Implicits