O1Library Docs
Fall 2022
O1Library Docs
Introduction
Using o1.play
Credits
API
o1
o1.grid
CompassDir
CompassDir
Grid
GridPos
o1.gui
Animation
Animation
AtEnd
Color
Color
DefaultFrameSettings
Dialog
Centered
Position
RelativeTo
RelativeTo
Escapable
Pic
Pic
SimpleFrame
TerminatesOnClose
View
HasPauseToggle
RefreshPolicy
Always
UnlessIdentical
UnlessSameReference
RefreshPolicy
immutable
ViewComponent
Traced
ViewFrame
Traced
mutable
HasReplaceableModel
ViewComponent
Traced
ViewFrame
Traced
swingops
BufferedImage
Dimension
Point
Rectangle
o1.gui.colors
o1.gui.event
ops
o1.gui.layout
EasyLayout
EasyPanel
o1.gui.viewimpl
ViewComponentImpl
ViewFrameImpl
default
immutable
Controls
TraceGeneratingView
mutable
Controls
TraceGeneratingView
tracing
GeneratesTrace
TraceAborted
TraceEvent
Init
Input
Tick
Tick
TraceEvent
o1.sound
O_o
o1.sound.midi
Accidental
Chord
Chord
Instrument
Instrument
Bass
Brass
ChromaticPercussion
Ensemble
Ethnic
Guitar
Organ
Percussion
PercussionChannel
Piano
Pipe
Reed
SoundEffects
Strings
SynthEffects
SynthLead
SynthPad
MidiUnavailableException
Music
Music
MusicElem
Note
OctaveShift
Pause
Pitch
Pitch
Sequencer
Synthesizer
Voice
o1.sound.sampled
Sound
Sound
o1.util
nice
collection
map
number
option
pairs
path
seq
o1.world
Bounds
Bounds
Direction
Direction
Pos
Pos
Velocity
Velocity
o1.world.objects
Anchor
Anchor
Absolute
BottomCenter
BottomLeft
BottomRight
Center
CenterLeft
CenterRight
TopCenter
TopLeft
TopRight
HasAnchor
HasContainer
HasEdges
HasPos
HasSize
HasVelocity
mutable
ContainedObject
MovingObject
MovingObjectInContainer
MutablePos
O1Library Docs
/
API
/
o1.gui
/
swingops
swingops
object
swingops
Life-quality improvements for working with the Swing GUI library in Scala.
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
swingops
.type
Type members
Givens
Extensions
Type members
Classlikes
object
BufferedImage
object
Dimension
object
Point
object
Rectangle
Types
type
BufferedImage
=
BufferedImage
type
Dimension
=
Dimension
type
Point
=
Point
type
Rectangle
=
Rectangle
Givens
Givens
given
given_CanEqual_Component_Component
:
CanEqual
[
Component
,
Component
]
given
given_CanEqual_Dimension_Dimension
:
CanEqual
[
Dimension
,
Dimension
]
given
given_CanEqual_Value_Value
:
CanEqual
[
Value
,
Value
]
Extensions
Extensions
extension
(self:
Dimension
)
def
higher
(
amount:
Int
):
Dimension
def
wider
(
amount:
Int
):
Dimension
def
withHeight
(
height:
Int
):
Dimension
def
withWidth
(
width:
Int
):
Dimension
extension
(self:
Label
)
def
iconOption
:
Option
[
Icon
]
def
iconOption_=
(
newIcon:
Option
[
Icon
]):
Unit
extension
(self:
BufferedImage
)
def
dimensions
:
Dimension
def
height
:
Int
def
width
:
Int
extension
(self:
Window
)
def
setTitleBarImage
(
newImage:
Option
[
Image
]):
Unit
def
setTitleBarPic
(
newPic:
Option
[
Pic
]):
Unit