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.util
/
nice
/
path
path
object
path
Provides nicer-named methods for manipulating paths.
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
path
.type
Extensions
Extensions
Extensions
extension
(self:
Path
)
final
def
fileName
:
String
final
def
isReadable
:
Boolean
final
def
lastModified
:
Option
[
FileTime
]
final
def
listFiles
(
includeIf:
Path
=>
Boolean
):
Option
[
Vector
[
Path
]]
final
def
listFiles
:
Option
[
Vector
[
Path
]]
final
def
readLines
:
Option
[
Vector
[
String
]]
final
def
readLines
(
trimEach:
Boolean
,
excludeIfEmpty:
Boolean
):
Option
[
Vector
[
String
]]