MonitorGui:
Filter:
Classes | JITLib > GUI | Live Coding

MonitorGui : JITGui : Object

display and control a Monitor

Description

MonitorGui displays the state of a NodeProxy's Monitor. It is used in NdefGui, ProxyMixer, and NdefMixer.

First examples

Class Methods

Creation

MonitorGui.new(object, parent, bounds, makeSkip: true, options: [ ])

Arguments:

object

the nodeproxy whose monitor state will be shown, or nil.

parent

a parent view where MonitorGui is to be shown. If nil, a window is made.

bounds

bounds where the view (or window) will be shown.

makeSkip

a flag whether to create and start a SkipJack for auto-updating.

options

an array of symbols for options of what to display.

Class Variables

MonitorGui.lastOutBus

MonitorGui.lastOutBus = value

the highest outbus number to allow. Default is 99.

Inherited class methods

Instance Methods

Instance Variables

.config

From superclass: JITGui

some information on what to display

.ampSl

an EZSlider for Monitor volume

.playBut

a play button. Shift-click opens a dialog window for playN output routing by code

.setOutBox

a numberbox to set output routing

.fadeBox

a numberbox for setting monitor fadeTime.

Some Methods

Making various gui elements:

.makeViews(options)

.makeVol(width, height)

.makeNameView(width, height)

.makePlayOut(playWid, outWid, height)

.makeFade(width: 60, height: 18)

Standard JITGui methods:

.setDefaults(options)

create default layout sizes

.accepts(obj)

accepts nil or NodeProxy

.getState

get the object's current state

.checkUpdate

compare previous state with current state, and update gui elements.

Inherited instance methods