PlanetsGui

case class PlanetsGui(canv: CanvasPlatform) extends MapGui

Simple Solar system model application.

trait Serializable
trait Product
trait Equals
class MapGui
class Object
trait Matchable
class Any

Type members

Classlikes

implicit implicit class PrimaryBodyExtensions(thisBody: SSPrimaryBody)

Value members

Concrete methods

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

override def eTop(): Unit
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

Inherited methods

def addPanel(clipPoly: Polygon, cover: Boolean): Panel
Inherited from:
CanvasPanelled
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.

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

repaints the top command bar

repaints the top command bar

Inherited from:
MapGui
def refresh(): Unit
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.

Inherited from:
CanvasPanelled
def setStatus(str: String): Unit
Inherited from:
MapGui
Inherited from:
MapGui
def textBox(str: String, cmd: AnyRef): PolygonCompound
Inherited from:
MapGui
def textBoxFull(str: String, cmd: AnyRef): PolygonCompound
Inherited from:
MapGui

Concrete fields

val date: LocalDateTime
val fixedClock: Clock
val margin: Int
val nowt: Instant
val num: Long

Inherited fields

Inherited from:
MapGui
Inherited from:
MapGui
Inherited from:
CanvasPanelled
var statusText: String
Inherited from:
MapGui
Inherited from:
CanvasUser
Inherited from:
MapGui

Implicits

Implicits