FlagSelectorGUI

NB: Assumes Flag.ratio is always <=2. :NB: From Left | Right TODO: drag bar, click base, spring scroll, touch, pixel, clip, effects separate scrollbar, vertical scrollbar

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

Value members

Concrete methods

def dragging(pixelDelta: Double): Unit
def positionBar(): Unit
def scrollLess(): Unit
def scrollMore(): Unit
def showGridView(indexOfFirstItemInView: Int): Unit
def showSelected(): Unit

Inherited methods

Inherited from:
OrdinalEdgePoints
def bottom: Double
Inherited from:
RectCenlign
@inline
final def bottomLeft: Pt2
Inherited from:
Rectangularlign
@inline
final def bottomRight: Pt2
Inherited from:
Rectangularlign
Inherited from:
OrdinalEdgePoints
override def cen: Pt2
Definition Classes
Inherited from:
RectCenlign
Inherited from:
RectCenlign
def cenX: Double
Inherited from:
RectCenlign
def cenY: Double
Inherited from:
RectCenlign
def crossHairs(lineWidth: Double, lineColour: Colour): LinesDraw
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

Inherited from:
RectCenlign
def gridLines2Colours(spacing: Double, cenColour: Colour, otherColour: Colour, lineWidth: Double): Arr[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

Inherited from:
RectCenlign
override def height: Double
Definition Classes
Inherited from:
CanvasNoPanels
def left: Double
Inherited from:
RectCenlign

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:
RectCenlign
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def refresh(): Unit
Inherited from:
CanvasNoPanels
def repaint(els: Arr[GraphicElem]): Unit

Repaints the canvas, takes a Refs collection as parameter.

Repaints the canvas, takes a Refs collection as parameter.

Inherited from:
CanvasNoPanels
def repaints(els: GraphicElem*): Unit

Repaints the canvas takes repeat parameters of GraphicElem.

Repaints the canvas takes repeat parameters of GraphicElem.

Inherited from:
CanvasNoPanels
def right: Double
Inherited from:
RectCenlign
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.

Inherited from:
PanelLike
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.

Inherited from:
PanelLike
def timedRepaint(f: Integer => GraphicElems): Unit

This function is to create a display that changes over time. So you pass in a function from the time elapsed in milliseconds to the Arr of GraphicElems that you want to display at that time point.

This function is to create a display that changes over time. So you pass in a function from the time elapsed in milliseconds to the Arr of GraphicElems that you want to display at that time point.

Inherited from:
CanvasNoPanels
def timedRepaint1(f: Integer => GraphicElem): Unit
Inherited from:
CanvasNoPanels
Inherited from:
OrdinalEdgePoints
def top: Double
Inherited from:
RectCenlign
@inline
final def topLeft: Pt2
Inherited from:
Rectangularlign
@inline
final def topRight: Pt2
Inherited from:
Rectangularlign

Top right offset from centre.

Top right offset from centre.

Inherited from:
OrdinalEdgePoints
override def width: Double
Definition Classes
Inherited from:
CanvasNoPanels
@inline
final def xBottomLeft: Double
Inherited from:
Rectangularlign
@inline
final def xBottomRight: Double
Inherited from:
Rectangularlign
@inline
final def xTopLeft: Double
Inherited from:
Rectangularlign
@inline
final def xTopRight: Double
Inherited from:
Rectangularlign
@inline
final def yBottomLeft: Double
Inherited from:
Rectangularlign
@inline
final def yBottomRight: Double
Inherited from:
Rectangularlign
@inline
final def yTopLeft: Double
Inherited from:
Rectangularlign
@inline
final def yTopRight: Double
Inherited from:
Rectangularlign

Concrete fields

val barAvailable: Double
var barOffsetX: Double
val barStartX: Double
val barWidth: Double
var dragStartX: Double
var iScrollStep: Int
var isDragging: Boolean
val isScrollHorizontal: Boolean
val itemCount: Int
val itemsPerCol: Int
val itemsPerPage: Int
val itemsPerRow: Int
var jScrollStep: Int
val maxBarWidth: Int
val minBarWidth: Int
val pages: Int
val scrollStep: Int
val scrollYpos: Int
var selectedIndex: Int
val vCellHeight: Int

viewport cell height

viewport cell height

val vCellWidth: Int

viewport cell width

viewport cell width

val vCommonScale: Int

viewport common scale

viewport common scale

val vHeaderSize: Int

viewport Header size

viewport Header size

val vHeight: Int

viewport height

viewport height

val vWidth: Int

viewport width

viewport width

var viewIndex: Int

Inherited fields

The active objects registered with this PanelLike.

The active objects registered with this PanelLike.

Inherited from:
PanelLike
Inherited from:
PanelLike
Inherited from:
PanelLike
Inherited from:
PanelLike
Inherited from:
PanelLike
var mouseDown: (Pt2, MouseButton, AnyRefs) => Unit

This method name is inconsistent with mousedown on the canvas class

This method name is inconsistent with mousedown on the canvas class

Inherited from:
PanelLike
var mouseUp: (MouseButton, Arr[AnyRef], Pt2) => Unit

This method name is inconsistent with mouseUp on the canvas class

This method name is inconsistent with mouseUp on the canvas class

Inherited from:
PanelLike
val title: String
Inherited from:
CanvasUser