o1
package o1
O1Library is a toolkit designed for the course Programming 1 (a.k.a. O1) at Aalto University. It contains an assortment of tools; most prominently, it provides a framework for simple graphical programming and utilities for playing sound.
This is the front page of O1Library’s documentation. However, this is probably not the best place to start learning about O1Library as a student. That’s because the relevant content of this library is introduced bit by bit in the chapters of O1’s custom ebook alongside the associated programming concepts and assignments.
You may still find this documentation useful as a reference. You can also find some optional content here that you may wish to try.
This front page lists the content available in the top-level package called simply o1
.
These tools are available with the simple command import o1._
in your Scala programs.
Some of them you’ll use a lot; some of them you won’t necessarily need at all.
The tools listed here are actually implemented in a number of subpackages (o1.gui
,
o1.sound
, etc.); what you see here are just “shortcut aliases” to those actual
implementations. The aliases are here to make that convenient import
command work and to
provide you with this list of links to some of the more commonly used tools in O1Library.
The subpackages also contain additional content not listed here.
O1Library has been developed by Aleksi Lukkarinen and Juha Sorva. Several
of the key components in o1.gui
and o1.world
are built upon Aleksi’s
Scala Media Computation Library.
Some parts of O1Library draw inspiration from the “teachpacks” of the Racket
programming language.
We are grateful to Riku Autio, Joonatan Honkamaa, Juhani Numminen, Leo Varis, Veera Kahva, and anonymous students for bug reports and fixes. We thank Otto Seppälä for helpful discussions.
- Alphabetic
- By Inheritance
- o1
- ShortcutAliases
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package grid
This package contains tools for working with grid-like two-dimensional structures.
This package contains tools for working with grid-like two-dimensional structures.
The contents of this package have aliases in the top-level package o1, so they are accessible to students simply via
import o1._
. - package gui
This package contains tools for building simple GUIs.
This package contains tools for building simple GUIs. The toolkit is particularly well suited to constructing GUIs that display information as 2D images and/or geometric shapes. It is not designed for demanding graphical needs that call for high efficiency. Some of the tools in this package are built on the Swing GUI library, and the two libraries can be used in combination.
Some of the types in this package have aliases in the top-level package o1, so they are accessible to students simply via
import o1._
. Some of the package contents are not available in the top-level package or included in this documentation.Please note: One of this package’s key components (views) comes in multiple varieties, which which are defined in the subpackages o1.gui.mutable and o1.gui.immutable and not listed below. The
View
that is most commonly used in O1 (and aliased aso1.View
in the top-level package) is o1.gui.mutable.ViewFrame. - package sound
Please see one of the two subpackages:
Please see one of the two subpackages:
- o1.sound.midi for MIDI sound described in terms of notes, instruments, and other directives
- o1.sound.sampled for working with recorded sound samples.
- package util
The package
o1.util
contains miscellaneous tools that are used internally by some of the given programs in O1 for added convenience.The package
o1.util
contains miscellaneous tools that are used internally by some of the given programs in O1 for added convenience.NOTE TO STUDENTS: In this course, you don't need to understand how this package works or can be used.
This documentation lists only some of the tools in the package. The listed tools are largely a mix of:
- functions for simple I/O from files and URLs;
- aliases for easy access (via
import o1.util._
) to some of the tools fromscala.util
; and - implicit classes that add a few convenience methods to selected types from the Scala API.
- package world
This package contains tools for locations and movement in two-dimensional space.
This package contains tools for locations and movement in two-dimensional space.
The tools in this package have aliases in the top-level package o1, so they are accessible to students simply via
import o1._
.The subpackage o1.world.objects contains additional tools for representing entities that reside within two-dimensional spaces.
Type Members
- type Anchor = o1.world.objects.Anchor
The
Anchor
type represents points of attachment in two-dimensional elements; this is a shortcut alias too1.world.objects
.The
Anchor
type represents points of attachment in two-dimensional elements; this is a shortcut alias too1.world.objects
.- Definition Classes
- ShortcutAliases
- type Animation = o1.gui.Animation
The
Animation
type represents sequences of pictures shown in a GUI window; this is a shortcut alias too1.gui
.The
Animation
type represents sequences of pictures shown in a GUI window; this is a shortcut alias too1.gui
.- Definition Classes
- ShortcutAliases
- type Bounds = o1.world.Bounds
The
Bounds
type represents the boundaries of rectangular areas in two-dimensional space; this is a shortcut alias too1.world
.The
Bounds
type represents the boundaries of rectangular areas in two-dimensional space; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- type Buffer[Element] = scala.collection.mutable.Buffer[Element]
This is a shortcut alias to Scala’s standard
Buffer
type, which we use a lot early in O1.This is a shortcut alias to Scala’s standard
Buffer
type, which we use a lot early in O1.- Definition Classes
- ShortcutAliases
- type Color = o1.gui.Color
The
Color
type represents colors; this is a shortcut alias too1.gui
.The
Color
type represents colors; this is a shortcut alias too1.gui
.- Definition Classes
- ShortcutAliases
- type CompassDir = o1.grid.CompassDir
The
CompassDir
type represents the four main directions in a grid-like structure; this is a shortcut alias too1.grid
.The
CompassDir
type represents the four main directions in a grid-like structure; this is a shortcut alias too1.grid
.- Definition Classes
- ShortcutAliases
- type Direction = o1.world.Direction
The
Velocity
type represents directions in two-dimensional space; this is a shortcut alias too1.world
.The
Velocity
type represents directions in two-dimensional space; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- type Grid[Elem] = o1.grid.Grid[Elem]
The
Grid
type represents rectangular grids; this is a shortcut alias too1.grid
.The
Grid
type represents rectangular grids; this is a shortcut alias too1.grid
.- Definition Classes
- ShortcutAliases
- type GridPos = o1.grid.GridPos
The
GridPos
type represents coordinates in a grid-like structure; this is a shortcut alias too1.grid
.The
GridPos
type represents coordinates in a grid-like structure; this is a shortcut alias too1.grid
.- Definition Classes
- ShortcutAliases
- type HasAnchor = o1.world.objects.HasAnchor
A supertype for objects that have an anchoring point; this is a shortcut alias to
o1.world.objects
.A supertype for objects that have an anchoring point; this is a shortcut alias to
o1.world.objects
.- Definition Classes
- ShortcutAliases
- type HasEdges = o1.world.objects.HasEdges
A supertype for objects that take up a rectangular area and have an anchoring point; this is a shortcut alias to
o1.world.objects
.A supertype for objects that take up a rectangular area and have an anchoring point; this is a shortcut alias to
o1.world.objects
.- Definition Classes
- ShortcutAliases
- type HasPos = o1.world.objects.HasPos
A supertype for objects that have a location in two-dimensional space; this is a shortcut alias to
o1.world.objects
.A supertype for objects that have a location in two-dimensional space; this is a shortcut alias to
o1.world.objects
.- Definition Classes
- ShortcutAliases
- type HasSize = o1.world.objects.HasSize
A supertype for objects that have a width and a height; this is a shortcut alias to
o1.world.objects
.A supertype for objects that have a width and a height; this is a shortcut alias to
o1.world.objects
.- Definition Classes
- ShortcutAliases
- type HasVelocity = o1.world.objects.HasVelocity
A supertype for objects that have a position and a velocity in two-dimensional space; this is a shortcut alias to
o1.world.objects
.A supertype for objects that have a position and a velocity in two-dimensional space; this is a shortcut alias to
o1.world.objects
.- Definition Classes
- ShortcutAliases
- type InputEvent = scala.swing.event.InputEvent
The
InputEvent
type represents GUI events that generate user input; this is a shortcut alias toscala.swing.event
viao1.gui
.The
InputEvent
type represents GUI events that generate user input; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type Key = scala.swing.event.Key
The
Key
type represents keys on a computer keyboard; this is a shortcut alias toscala.swing.event
viao1.gui
.The
Key
type represents keys on a computer keyboard; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type KeyEvent = scala.swing.event.KeyEvent
The
KeyEvent
type represents keyboard-related GUI events; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyEvent
type represents keyboard-related GUI events; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type KeyPressed = scala.swing.event.KeyPressed
The
KeyPressed
type represents key-press events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyPressed
type represents key-press events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type KeyReleased = scala.swing.event.KeyReleased
The
KeyReleased
type represents key-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyReleased
type represents key-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type KeyTyped = scala.swing.event.KeyTyped
The
KeyTyped
type represents keyboard-typing events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyTyped
type represents keyboard-typing events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseClicked = scala.swing.event.MouseClicked
The
MouseClicked
type represents mouse-click events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseClicked
type represents mouse-click events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseDragged = scala.swing.event.MouseDragged
The
MouseDragged
type represents mouse-dragging events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseDragged
type represents mouse-dragging events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseEntered = scala.swing.event.MouseEntered
The
MouseEntered
type represents cursor-entering events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseEntered
type represents cursor-entering events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseExited = scala.swing.event.MouseExited
The
MouseExited
type represents cursor-exiting events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseExited
type represents cursor-exiting events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseMoved = scala.swing.event.MouseMoved
The
MouseMoved
type represents mouse-movement events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseMoved
type represents mouse-movement events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MousePressed = scala.swing.event.MousePressed
The
MousePressed
type represents button-press in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MousePressed
type represents button-press in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseReleased = scala.swing.event.MouseReleased
The
MouseReleased
type represents button-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseReleased
type represents button-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MouseWheelMoved = scala.swing.event.MouseWheelMoved
The
MouseWheelMoved
type represents mouse-wheel events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseWheelMoved
type represents mouse-wheel events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- type MovingObject = o1.world.objects.mutable.MovingObject
A supertype for objects that have a mutable position and a velocity in two-dimensional space; this is a shortcut alias to
o1.world.objects.mutable
.A supertype for objects that have a mutable position and a velocity in two-dimensional space; this is a shortcut alias to
o1.world.objects.mutable
.- Definition Classes
- ShortcutAliases
- type MovingObjectInContainer = o1.world.objects.mutable.MovingObjectInContainer
A supertype for objects that take up a rectangular area and have a velocity as well as a mutable position that may be constrained by a larger object around them; this is a shortcut alias to
o1.world.objects.mutable
.A supertype for objects that take up a rectangular area and have a velocity as well as a mutable position that may be constrained by a larger object around them; this is a shortcut alias to
o1.world.objects.mutable
.- Definition Classes
- ShortcutAliases
- type Pic = o1.gui.Pic
The
Pic
type represents images; this is a shortcut alias too1.gui
.The
Pic
type represents images; this is a shortcut alias too1.gui
.- Definition Classes
- ShortcutAliases
- type Pos = o1.world.Pos
The
Pos
type represents coordinates on a two-dimensional surface; this is a shortcut alias too1.world
.The
Pos
type represents coordinates on a two-dimensional surface; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- type Sound = o1.sound.sampled.Sound
The
Sound
type represents recorded sound samples; this is a shortcut alias too1.sound.sampled
.The
Sound
type represents recorded sound samples; this is a shortcut alias too1.sound.sampled
.- Definition Classes
- ShortcutAliases
- type Velocity = o1.world.Velocity
The
Velocity
type represents directed movement in two-dimensional space; this is a shortcut alias too1.world
.The
Velocity
type represents directed movement in two-dimensional space; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- type View[Model <: AnyRef] = ViewFrame[Model]
The
View
type represents GUI windows that graphically represent a given domain model; this is a shortcut alias to classViewFrame
ino1.gui.mutable
.The
View
type represents GUI windows that graphically represent a given domain model; this is a shortcut alias to classViewFrame
ino1.gui.mutable
.- Definition Classes
- ShortcutAliases
Value Members
- val AliceBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val AlizarinCrimson: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Amethyst: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Anchor: o1.world.objects.Anchor.type
The
Anchor
type represents points of attachment in two-dimensional elements; this is a shortcut alias too1.world.objects
.The
Anchor
type represents points of attachment in two-dimensional elements; this is a shortcut alias too1.world.objects
.- Definition Classes
- ShortcutAliases
- val Animation: o1.gui.Animation.type
The
Animation
type represents sequences of pictures shown in a GUI window; this is a shortcut alias too1.gui
.The
Animation
type represents sequences of pictures shown in a GUI window; this is a shortcut alias too1.gui
.- Definition Classes
- ShortcutAliases
- val AntiqueWhite: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Aqua: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Aquamarine: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Azure: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Beige: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Bisque: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black10: o1.gui.Color
A grayscale color that contains 10% black.
A grayscale color that contains 10% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black20: o1.gui.Color
A grayscale color that contains 20% black.
A grayscale color that contains 20% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black30: o1.gui.Color
A grayscale color that contains 30% black.
A grayscale color that contains 30% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black40: o1.gui.Color
A grayscale color that contains 40% black.
A grayscale color that contains 40% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black50: o1.gui.Color
A grayscale color that contains 50% black.
A grayscale color that contains 50% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black60: o1.gui.Color
A grayscale color that contains 60% black.
A grayscale color that contains 60% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black70: o1.gui.Color
A grayscale color that contains 70% black.
A grayscale color that contains 70% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black80: o1.gui.Color
A grayscale color that contains 80% black.
A grayscale color that contains 80% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Black90: o1.gui.Color
A grayscale color that contains 90% black.
A grayscale color that contains 90% black. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val BlanchedAlmond: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Blue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val BlueViolet: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val BottomCenter: o1.gui.Anchor
An anchor at the middle of the bottom edge; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the middle of the bottom edge; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val BottomLeft: o1.gui.Anchor
An anchor at the bottom left-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the bottom left-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val BottomRight: o1.gui.Anchor
An anchor at the bottom right-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the bottom right-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val Bounds: o1.world.Bounds.type
The
Bounds
type represents the boundaries of rectangular areas in two-dimensional space; this is a shortcut alias too1.world
.The
Bounds
type represents the boundaries of rectangular areas in two-dimensional space; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- val BrightRed: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Brown: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Buffer: scala.collection.mutable.Buffer.type
This is a shortcut alias to Scala’s standard
Buffer
type, which we use a lot early in O1.This is a shortcut alias to Scala’s standard
Buffer
type, which we use a lot early in O1.- Definition Classes
- ShortcutAliases
- val BurlyWood: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val CadetBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val CadmiumYellow: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Center: o1.gui.Anchor
An anchor at the middle; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the middle; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val CenterLeft: o1.gui.Anchor
An anchor at the middle of the left edge; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the middle of the left edge; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val CenterRight: o1.gui.Anchor
An anchor at the middle of the right edge; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the middle of the right edge; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val Chartreuse: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Chocolate: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Color: o1.gui.Color.type
The
Color
type represents colors; this is a shortcut alias too1.gui
.The
Color
type represents colors; this is a shortcut alias too1.gui
.- Definition Classes
- ShortcutAliases
- val CompassDir: o1.grid.CompassDir.type
The
CompassDir
type represents the four main directions in a grid-like structure; this is a shortcut alias too1.grid
.The
CompassDir
type represents the four main directions in a grid-like structure; this is a shortcut alias too1.grid
.- Definition Classes
- ShortcutAliases
- val Coral: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val CornSilk: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val CornflowerBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Crimson: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Cyan: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkCyan: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkGoldenrod: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkGray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkGrey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkKhaki: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkMagenta: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkOliveGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkOrange: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkOrchid: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkRed: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkSalmon: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkSeaGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkSienna: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkSlateBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkSlateGray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkSlateGrey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkTurquoise: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DarkViolet: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DeepPink: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DeepSkyBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DimGray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val DimGrey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Direction: o1.world.Direction.type
The
Velocity
type represents directions in two-dimensional space; this is a shortcut alias too1.world
.The
Velocity
type represents directions in two-dimensional space; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- val DodgerBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val East: CompassDir
The northwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.The northwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.- Definition Classes
- ShortcutAliases
- val FireBrick: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val FloralWhite: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val ForestGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Fuchsia: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Gainsboro: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val GhostWhite: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Gold: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Goldenrod: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Gray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Green: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val GreenYellow: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Grey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val GridPos: o1.grid.GridPos.type
The
GridPos
type represents coordinates in a grid-like structure; this is a shortcut alias too1.grid
.The
GridPos
type represents coordinates in a grid-like structure; this is a shortcut alias too1.grid
.- Definition Classes
- ShortcutAliases
- val Honeydew: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val HotPink: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val IndianRed: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val IndianYellow: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Indigo: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Ivory: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val KeepRepeating: Int
a constant that you can use to make the sound repeat indefinitely; this is a shortcut alias to o1.sound.sampled
a constant that you can use to make the sound repeat indefinitely; this is a shortcut alias to o1.sound.sampled
- Definition Classes
- ShortcutAliases
- val Key: o1.gui.Key.type
The
Key
type represents keys on a computer keyboard; this is a shortcut alias toscala.swing.event
viao1.gui
.The
Key
type represents keys on a computer keyboard; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val KeyPressed: o1.gui.event.KeyPressed.type
The
KeyPressed
type represents key-press events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyPressed
type represents key-press events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val KeyReleased: o1.gui.event.KeyReleased.type
The
KeyReleased
type represents key-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyReleased
type represents key-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val KeyTyped: o1.gui.event.KeyTyped.type
The
KeyTyped
type represents keyboard-typing events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
KeyTyped
type represents keyboard-typing events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val Khaki: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Lavender: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LavenderBlush: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LawnGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LemonChiffon: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightCoral: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightCyan: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightGoldenrodYellow: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightGray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightGrey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightPink: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightSalmon: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightSeaGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightSkyBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightSlateGray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightSlateGrey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightSteelBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LightYellow: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Lime: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val LimeGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Linen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Magenta: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Maroon: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumAquamarine: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumOrchid: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumPurple: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumSeaGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumSlateBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumSpringGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumTurquoise: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MediumVioletRed: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MidnightBlack: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MidnightBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MintCream: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MistyRose: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Moccasin: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val MouseClicked: o1.gui.event.MouseClicked.type
The
MouseClicked
type represents mouse-click events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseClicked
type represents mouse-click events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MouseDragged: o1.gui.event.MouseDragged.type
The
MouseDragged
type represents mouse-dragging events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseDragged
type represents mouse-dragging events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MouseEntered: o1.gui.event.MouseEntered.type
The
MouseEntered
type represents cursor-entering events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseEntered
type represents cursor-entering events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MouseExited: o1.gui.event.MouseExited.type
The
MouseExited
type represents cursor-exiting events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseExited
type represents cursor-exiting events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MouseMoved: o1.gui.event.MouseMoved.type
The
MouseMoved
type represents mouse-movement events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseMoved
type represents mouse-movement events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MousePressed: o1.gui.event.MousePressed.type
The
MousePressed
type represents button-press in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MousePressed
type represents button-press in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MouseReleased: o1.gui.event.MouseReleased.type
The
MouseReleased
type represents button-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseReleased
type represents button-release events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val MouseWheelMoved: o1.gui.event.MouseWheelMoved.type
The
MouseWheelMoved
type represents mouse-wheel events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.The
MouseWheelMoved
type represents mouse-wheel events in a GUI; this is a shortcut alias toscala.swing.event
viao1.gui
.- Definition Classes
- ShortcutAliases
- val Mute: Float
a constant that you can use to mute a sound; this is a shortcut alias to o1.sound.sampled
a constant that you can use to mute a sound; this is a shortcut alias to o1.sound.sampled
- Definition Classes
- ShortcutAliases
- val NavajoWhite: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Navy: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val North: CompassDir
The northwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.The northwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.- Definition Classes
- ShortcutAliases
- lazy val NorwegianBlue: o1.gui.Color
A named color as per the MP standard.
A named color as per the MP standard. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val OldLace: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Olive: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val OliveDrab: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Orange: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val OrangeRed: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Orchid: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PaleGoldenrod: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PaleGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PaleTurquoise: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PaleVioletRed: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PapayaWhip: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PeachPuff: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Peru: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PhthaloBlue: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PhthaloGreen: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Pic: o1.gui.Pic.type
The
Pic
type represents images; this is a shortcut alias too1.gui
.The
Pic
type represents images; this is a shortcut alias too1.gui
.- Definition Classes
- ShortcutAliases
- val Pink: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Plum: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Pos: o1.world.Pos.type
The
Pos
type represents coordinates on a two-dimensional surface; this is a shortcut alias too1.world
.The
Pos
type represents coordinates on a two-dimensional surface; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- val PowderBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val PrussianBlue: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Purple: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Red: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val RosyBrown: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val RoyalBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SaddleBrown: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Salmon: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SandyBrown: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SapGreen: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SeaGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SeaShell: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Sienna: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Silver: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SkyBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SlateBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SlateGray: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SlateGrey: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Snow: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Sound: o1.sound.sampled.Sound.type
The
Sound
type represents recorded sound samples; this is a shortcut alias too1.sound.sampled
.The
Sound
type represents recorded sound samples; this is a shortcut alias too1.sound.sampled
.- Definition Classes
- ShortcutAliases
- val South: CompassDir
The northwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.The northwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.- Definition Classes
- ShortcutAliases
- val SpringGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val SteelBlue: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Tan: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Teal: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Thistle: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val TitaniumHwite: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Tomato: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val TopCenter: o1.gui.Anchor
An anchor at the middle of the top edge; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the middle of the top edge; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val TopLeft: o1.gui.Anchor
An anchor at the top left-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the top left-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val TopRight: o1.gui.Anchor
An anchor at the top right-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.An anchor at the top right-hand corner; this is a shortcut alias to
o1.world.objects.Anchor
.- Definition Classes
- ShortcutAliases
- val Transparent: o1.gui.Color
Represents a fully transparent (white) color.
Represents a fully transparent (white) color. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Turquoise: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val VanDykeBrown: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Velocity: o1.world.Velocity.type
The
Velocity
type represents directed movement in two-dimensional space; this is a shortcut alias too1.world
.The
Velocity
type represents directed movement in two-dimensional space; this is a shortcut alias too1.world
.- Definition Classes
- ShortcutAliases
- val Violet: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val West: CompassDir
The westwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.The westwardly compass direction in a grid; this is a shortcut alias to
o1.grid.CompassDir
.- Definition Classes
- ShortcutAliases
- val Wheat: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White10: o1.gui.Color
A grayscale color that contains 10% white.
A grayscale color that contains 10% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White20: o1.gui.Color
A grayscale color that contains 20% white.
A grayscale color that contains 20% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White30: o1.gui.Color
A grayscale color that contains 30% white.
A grayscale color that contains 30% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White40: o1.gui.Color
A grayscale color that contains 40% white.
A grayscale color that contains 40% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White50: o1.gui.Color
A grayscale color that contains 50% white.
A grayscale color that contains 50% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White60: o1.gui.Color
A grayscale color that contains 60% white.
A grayscale color that contains 60% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White70: o1.gui.Color
A grayscale color that contains 70% white.
A grayscale color that contains 70% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White80: o1.gui.Color
A grayscale color that contains 80% white.
A grayscale color that contains 80% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val White90: o1.gui.Color
A grayscale color that contains 90% white.
A grayscale color that contains 90% white. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val WhiteSmoke: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val Yellow: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val YellowGreen: o1.gui.Color
A named color as per W3C’s list of colors.
A named color as per W3C’s list of colors. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- val YellowOchre: Color
A named color as per Bob Ross.
A named color as per Bob Ross. This is a shortcut alias to o1.gui.colors.
- Definition Classes
- ShortcutAliases
- implicit def addMethodsToInputEvent(event: InputEvent): ConvenientInputEvent
This implicit conversion adds some methods to Swing’s
InputEvent
class; the methods are described under o1.gui.event.ConvenientInputEvent.This implicit conversion adds some methods to Swing’s
InputEvent
class; the methods are described under o1.gui.event.ConvenientInputEvent.- Definition Classes
- ShortcutAliases
- def animate(pics: Iterable[Pic], picsPerSecond: Double): Unit
Displays the given pictures in sequence in a minimalistic window; this is a shortcut alias to
o1.gui
.Displays the given pictures in sequence in a minimalistic window; this is a shortcut alias to
o1.gui
.- Definition Classes
- ShortcutAliases
- def animateWithFunction(picGeneratingFunction: (Int) => Pic, numberOfPics: Int, picsPerSecond: Double): Unit
Generates pictures with the given function and displays them in sequence in a minimalistic window; this is a shortcut alias to
o1.gui
.Generates pictures with the given function and displays them in sequence in a minimalistic window; this is a shortcut alias to
o1.gui
.- Definition Classes
- ShortcutAliases
- def circle(diameter: Double, color: Color, anchor: Anchor): o1.gui.Pic
Creates a picture of a filled circle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled circle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def circle(diameter: Double, color: Color): o1.gui.Pic
Creates a picture of a filled circle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled circle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def ellipse(width: Double, height: Double, color: Color, anchor: Anchor): o1.gui.Pic
Creates a picture of an ellipse triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of an ellipse triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def ellipse(width: Double, height: Double, color: Color): o1.gui.Pic
Creates a picture of an ellipse triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of an ellipse triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def emptyCanvas(width: Double, height: Double, color: Color = G.colors.White): o1.gui.Pic
Creates a picture of a filled rectangle with the given parameters, anchored at the top left-hand corner; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled rectangle with the given parameters, anchored at the top left-hand corner; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def line(from: Pos, to: Pos, color: Color): o1.gui.Pic
Creates a picture of a thin line defined in terms of two locations on a plane; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a thin line defined in terms of two locations on a plane; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def play(song: String): Unit
Plays the music written in the given
String
(as described under o1.sound.midi) on a MIDI synthesizer; this is a shortcut alias to o1.sound.midi.Plays the music written in the given
String
(as described under o1.sound.midi) on a MIDI synthesizer; this is a shortcut alias to o1.sound.midi.- Definition Classes
- ShortcutAliases
- def rectangle(width: Double, height: Double, color: Color, anchor: Anchor): o1.gui.Pic
Creates a picture of a filled rectangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled rectangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def rectangle(width: Double, height: Double, color: Color): o1.gui.Pic
Creates a picture of a filled rectangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled rectangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def rectangle(bounds: Bounds, color: Color): o1.gui.Pic
Creates a picture of a filled rectangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled rectangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def show(pic: Pic): Unit
Displays the given picture in a minimalistic window; this is a shortcut alias to
o1.gui
.Displays the given picture in a minimalistic window; this is a shortcut alias to
o1.gui
.- Definition Classes
- ShortcutAliases
- def square(side: Double, color: Color, anchor: Anchor): o1.gui.Pic
Creates a picture of a filled square with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled square with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def square(side: Double, color: Color): o1.gui.Pic
Creates a picture of a filled square with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a filled square with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def star(width: Double, color: Color, anchor: Anchor): o1.gui.Pic
Creates a picture of a five-pointed star with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a five-pointed star with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def star(width: Double, color: Color): o1.gui.Pic
Creates a picture of a five-pointed star with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of a five-pointed star with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def triangle(width: Double, height: Double, color: Color, anchor: Anchor): o1.gui.Pic
Creates a picture of an isosceles triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of an isosceles triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases
- def triangle(width: Double, height: Double, color: Color): o1.gui.Pic
Creates a picture of an isosceles triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.Creates a picture of an isosceles triangle with the given parameters; this is a shortcut alias to
o1.gui.Pic
.- Definition Classes
- ShortcutAliases