PanelLike

ostrat.pgui.PanelLike
trait PanelLike extends RectCenlign

The purpose of this trait is to give common methods for Panels and Simple Canvases. A SimpleCanvas is like a Panel but not a Panel.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CArcExs
class LsA1
class LsA10
class LsA11
class LsA12
class LsA13
class LsA1a
class LsA1b
class LsA2
class LsA3
class LsA3a
class LsA4
class LsA5
class LsA6
class LsA7
class LsA8
class LsA9
class LsB1
class LsB2
class LsB3
class LsC1
class LsC2
class LsC3
class LsC4
class LsC5
class LsC6
class LsC7
class LsC8
class LsD1
class LsD2
class LsD3
class LsD4
class LsD5
class BattleGui
class FlagsGui
class ColourGen
class TessGui
class Panel

Members list

Concise view

Value members

Concrete methods

def setMouseSimple(action: Pt2 => Unit): Unit

Just responds to the position of the mose click on the Panel, ignores any potential active objects on the screen.

Just responds to the position of the mose click on the Panel, ignores any potential active objects on the screen.

Attributes

def setMouseSimplest(action: => Unit): Unit

Just responds to when the Panel is clicked, ignores the position of the mose click or any potential active objects on the screen.

Just responds to when the Panel is clicked, ignores the position of the mose click or any potential active objects on the screen.

Attributes

Inherited methods

Attributes

Inherited from:
OrdinalEdgePoints

Attributes

Inherited from:
RectCenlign
final override def bottomLeft: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def bottomRight: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign

Attributes

Inherited from:
OrdinalEdgePoints
override def cen: Pt2

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

Attributes

Definition Classes
Inherited from:
RectCenlign

Attributes

Inherited from:
RectCenlign

The X component of the centre.

The X component of the centre.

Attributes

Inherited from:
RectCenlign

The Y component of the centre.

The Y component of the centre.

Attributes

Inherited from:
RectCenlign
def crossHairs(lineWidth: Double, lineColour: Colour): LinesDraw

Attributes

Inherited from:
RectCenlign
def gridLines(spacing: Double, colour: Colour, lineWidth: Double): LinesDraw

Not sure why spacing has got a minus sign

Not sure why spacing has got a minus sign

Attributes

Inherited from:
RectCenlign
def gridLines2Colours(spacing: Double, cenColour: Colour, otherColour: Colour, lineWidth: Double): RArr[LinesDraw]

Badly named I think, not sure why spacing has got a minus sign

Badly named I think, not sure why spacing has got a minus sign

Attributes

Inherited from:
RectCenlign

Attributes

Inherited from:
Rectangularlign

Attributes

Inherited from:
RectCenlign

Attributes

Inherited from:
RectCenlign

Attributes

Inherited from:
RectCenlign

Attributes

Inherited from:
OrdinalEdgePoints
def top: Double

Attributes

Inherited from:
RectCenlign
final override def topLeft: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def topRight: Pt2

Attributes

Definition Classes
Inherited from:
RectCenlign

Top right offset from centre.

Top right offset from centre.

Attributes

Inherited from:
OrdinalEdgePoints

Attributes

Inherited from:
Rectangularlign
final override def xBottomLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def xBottomRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def xTopLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def xTopRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yBottomLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yBottomRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yTopLeft: Double

Attributes

Definition Classes
Inherited from:
RectCenlign
final override def yTopRight: Double

Attributes

Definition Classes
Inherited from:
RectCenlign

Concrete fields

The active objects registered with this PanelLike.

The active objects registered with this PanelLike.

Attributes

This method name is inconsistent with mousedown on the canvas class

This method name is inconsistent with mousedown on the canvas class

Attributes

This method name is inconsistent with mouseUp on the canvas class

This method name is inconsistent with mouseUp on the canvas class

Attributes