ostrat.pgui
The package attempts to encapsulate the various abstract canvas traits while the actual objects that populate a canvas go in package geom.
Attributes
Members list
Type members
Classlikes
A canvas that is not divided up into panels. A panel is a portion of the canvas that has its own origin and is clipped.
A canvas that is not divided up into panels. A panel is a portion of the canvas that has its own origin and is clipped.
Attributes
- Supertypes
-
trait PanelLiketrait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentretrait CanvasUserclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class BlackJackGuiclass BattleGuiclass FlagSelectorGUIclass FlagsGuiclass ReactorGUIclass ColourGenclass TessGuiclass CArcExsclass Canvclass HelloWorldclass LsAEllipsesclass LsATextclass LsB1class LsB2class LsB3class LsC1class LsC2class LsC3class LsC3bclass LsC4class LsC5class LsC6class LsC7class LsC8class LsD1class LsD2class LsD3class LsD4class LsD5Show all
A canvas divided up into panels. Each panel is clipped and has its own origin.
A canvas divided up into panels. Each panel is clipped and has its own origin.
Attributes
- Supertypes
- Known subtypes
-
trait CmdBarGuiclass GlobeGuiclass EarthBasicGuiclass ULocGuiclass DungeonGuiclass DraughtsGuiclass ChessGuiclass HGridSysGuiclass EGridBaseGuiclass DLessGuiclass EGTerrOnlyGuiclass BC305Guiclass DiscovGuiclass PeriGuiclass IndRevGuiclass SorsGuiclass WW1Guiclass WW2Guiclass G4HGuiclass G1HGuiclass G3HGuiclass G2HGuiclass CivGuiclass NormGuiclass ZugGuiclass TGridSysGuiclass SqSysGuiclass G1SGuiclass G2SGuiclass AltReacGuiclass GoGuiclass LsE1class LsE2class MapGuiclass UnfixedMapGuiclass PlanetsGuiShow all
An abstract Canvas interface implemented and to be implemented on various platforms. A concrete implementation will utilise canvas like an HTML canvas or a Scalafx canvas. This concrete implementation class must (can?) be mixed in with a a particular use trait like CanvSimple or CanvMulti. The default methods take the origin as the centre of the canvas. Note the Canvas Platform merely passes bare pointer event data to delegate functions. It does not process them in relation to objects painted on the Canvas.
An abstract Canvas interface implemented and to be implemented on various platforms. A concrete implementation will utilise canvas like an HTML canvas or a Scalafx canvas. This concrete implementation class must (can?) be mixed in with a a particular use trait like CanvSimple or CanvMulti. The default methods take the origin as the centre of the canvas. Note the Canvas Platform merely passes bare pointer event data to delegate functions. It does not process them in relation to objects painted on the Canvas.
It is really not a good idea to use this trait, use a sub class of this trait directly in your applications. You do not want to be thinking in terms of the imperative methods of this application. Use one of the provided classes like CanvasNoPanels or Canvas Panelled or create your own if the provided classes don't fulfill your needs.
Attributes
- Supertypes
-
trait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentreclass Objecttrait Matchableclass AnyShow all
- Known subtypes
This trait is for Canvas Implementations with a Top left origin and downward y axis. It should not be used directly by graphical applications.
This trait is for Canvas Implementations with a Top left origin and downward y axis. It should not be used directly by graphical applications.
Attributes
- Supertypes
-
trait CanvasPlatformtrait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentreclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CanvasFxtrait CanvasTopLeftStubs
This trait provides stub methods to allow development on a Canvas with incomplete functionality. Override the methods as desired but remove this trait form the inheritance hierarchy once full functionality has been implemented
This trait provides stub methods to allow development on a Canvas with incomplete functionality. Override the methods as desired but remove this trait form the inheritance hierarchy once full functionality has been implemented
Attributes
- Supertypes
-
trait CanvasTopLefttrait CanvasPlatformtrait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentreclass Objecttrait Matchableclass AnyShow all
So the descendant classes need to set the canv.mouseup field to use the mouse and its equivalents.
So the descendant classes need to set the canv.mouseup field to use the mouse and its equivalents.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CanvasNoPanelsclass BlackJackGuiclass BattleGuiclass FlagSelectorGUIclass FlagsGuiclass ReactorGUIclass ColourGenclass TessGuiclass CArcExsclass Canvclass HelloWorldclass LsAEllipsesclass LsATextclass LsB1class LsB2class LsB3class LsC1class LsC2class LsC3class LsC3bclass LsC4class LsC5class LsC6class LsC7class LsC8class LsD1class LsD2class LsD3class LsD4class LsD5trait CanvasPanelledtrait CmdBarGuiclass GlobeGuiclass EarthBasicGuiclass ULocGuiclass DungeonGuiclass DraughtsGuiclass ChessGuiclass HGridSysGuiclass EGridBaseGuiclass DLessGuiclass EGTerrOnlyGuiclass BC305Guiclass DiscovGuiclass PeriGuiclass IndRevGuiclass SorsGuiclass WW1Guiclass WW2Guiclass G4HGuiclass G1HGuiclass G3HGuiclass G2HGuiclass CivGuiclass NormGuiclass ZugGuiclass TGridSysGuiclass SqSysGuiclass G1SGuiclass G2SGuiclass AltReacGuiclass GoGuiclass LsE1class LsE2class MapGuiclass UnfixedMapGuiclass PlanetsGuiShow all
A simple 2 panel display, a man panel and a command bar.
A simple 2 panel display, a man panel and a command bar.
Attributes
- Supertypes
- Known subtypes
-
class GlobeGuiclass EarthBasicGuiclass ULocGuiclass DungeonGuiclass DraughtsGuiclass ChessGuiclass HGridSysGuiclass EGridBaseGuiclass DLessGuiclass EGTerrOnlyGuiclass BC305Guiclass DiscovGuiclass PeriGuiclass IndRevGuiclass SorsGuiclass WW1Guiclass WW2Guiclass G4HGuiclass G1HGuiclass G3HGuiclass G2HGuiclass CivGuiclass NormGuiclass ZugGuiclass TGridSysGuiclass SqSysGuiclass G1SGuiclass G2SGuiclass AltReacGuiclass GoGuiclass LsE1class LsE2Show all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
A convenience trait for launching Apps.
A convenience trait for launching Apps.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait GuiLaunchMoreobject DLessLaunchobject EGridLaunchobject G1HLaunchobject G1SLaunchobject G3HLaunchobject G2HLaunchobject G2SLaunchobject BcLaunchobject DungLaunchobject EarthBasicLaunchobject DraughtsLaunchobject ChessLaunchobject DiscovLaunchobject PeriLaunchobject IndRevLaunchobject NormLaunchobject SorsLaunchobject ULocLaunchobject WW1Launchobject WW2Launchclass GuiLaunchSimpleobject GoLaunchtrait GuiLaunchStdobject CivLaunchobject ZugLaunchobject LessonsShow all
A GuiLaunch that actually uses the setting to construct the launch."
A GuiLaunch that actually uses the setting to construct the launch."
Attributes
- Supertypes
- Known subtypes
-
object DLessLaunchobject EGridLaunchobject G1HLaunchobject G1SLaunchobject G3HLaunchobject G2HLaunchobject G2SLaunchobject BcLaunchobject DungLaunchobject EarthBasicLaunchobject DraughtsLaunchobject ChessLaunchobject DiscovLaunchobject PeriLaunchobject IndRevLaunchobject NormLaunchobject SorsLaunchobject ULocLaunchobject WW1Launchobject WW2LaunchShow all
The simplest launcher, not usre that this class really serves any purpose.
A convenience trait for launching Apps that takes an Int and an Identifier as its settings.
A MapGui uses a CanvMulti. It has a main map panel and a top control panel. In addition translates between 2d game coordinates and 2d coordinates on the canvas. Allowing the canvas to display a moving, scalable 2d view though the Game map. The x coordinate increases from left to right, the y coordinate increases from bottom to top.
A MapGui uses a CanvMulti. It has a main map panel and a top control panel. In addition translates between 2d game coordinates and 2d coordinates on the canvas. Allowing the canvas to display a moving, scalable 2d view though the Game map. The x coordinate increases from left to right, the y coordinate increases from bottom to top.
Attributes
- Supertypes
- Known subtypes
-
class UnfixedMapGuiclass PlanetsGui
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MenuBranch.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MenuBranchDynamic.type
Not sure aboout this class
Not sure aboout this class
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class MenuBranchclass MenuBranchDynamic
A virtual panel created from the Canvas implemented using the clip function.
A virtual panel created from the Canvas implemented using the clip function.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PanelLiketrait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentreclass Objecttrait Matchableclass AnyShow all
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.
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
- Supertypes
-
trait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentreclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CanvasNoPanelsclass BlackJackGuiclass BattleGuiclass FlagSelectorGUIclass FlagsGuiclass ReactorGUIclass ColourGenclass TessGuiclass CArcExsclass Canvclass HelloWorldclass LsAEllipsesclass LsATextclass LsB1class LsB2class LsB3class LsC1class LsC2class LsC3class LsC3bclass LsC4class LsC5class LsC6class LsC7class LsC8class LsD1class LsD2class LsD3class LsD4class LsD5class PanelShow all
This trait exists to provide text fpr a status bar in a graphical user interface when selected.
This trait exists to provide text fpr a status bar in a graphical user interface when selected.
Attributes
- Supertypes
-
class Any
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StdButton.type
Attributes
- Supertypes
- Self type
-
Turn.type
So currently this is a turn based class allowing the selection of objects within the map. That is not the case for the Planet App where the planets move too quickly for selection. The focus centre is un fixed unlike the planet App.
So currently this is a turn based class allowing the selection of objects within the map. That is not the case for the Planet App where the planets move too quickly for selection. The focus centre is un fixed unlike the planet App.
Attributes
- Supertypes
Value members
Concrete methods
A button to react to different mouse buttons. The length varies with the String.
A button to react to different mouse buttons. The length varies with the String.
Attributes
A button to react to different mouse buttons. The length varies with the String.
A button to react to different mouse buttons. The length varies with the String.