SwingGUI – Java-based GUI classes

last mod: 28-Jan-08 sciss

SwingGUI

This class provides access to all SwingOSC view classes. Upon startup it registers with the GUI factory, becoming available through GUI.swing and GUI.get( \swing ).

See GUI for more details.

Available Views

View ClassDescription
JSCWindowa frame that can contain gadgets
JSCButtona multiple state push button
JSCPopUpMenua collapsed multiple choice button
JFonta font typeface description
JSCSlidera horizontal or vertical slider
JSCRangeSliderinterval slider
JSC2DSliderhorizontally and vertically moveable slider
JSCTextFieldan editable one line text field
JSCListViewa list of text items
JSCStaticTexta text label
JSCNumberBoxeditable number field
JSCDragSourceobject container acting as a source for drag-n-drop
JSCDragSinkobject container acting as a target for drag-n-drop
JSCDragBothcombination of DragSource and DragSink
JStethoscopeoscilloscope tool
JSCScopeoscilloscope view
JFreqScopespectrum tool
JSCFreqScopespectrum view
JSCUserViewview with customizable graphics
JSCTabletViewview for graphic tablet control
JPentool to use with JSCUserView and JSCWindow
JSCTextViewmultiline attributed text editor
JSCHLayoutViewcontainer with children placed horizontally
JSCVLayoutViewcontainer with children placed vertically
JSCCompositeViewgeneric container
JSCScrollViewcontainer with scrollbars to handle a large virtual viewport
JKnobuser view that paints a knob / dial button
SwingDialogfile selection dialog management
JSCMultiSliderViewarray of sliders
JSCEnvelopeViewbreakpoint function editor
JSCSoundFileViewaudio file waveform display
JSCMovieViewvideo and still image display
JSCCheckBoxcheckmark toggle button
JSCTabbedPanehosts multiple containers that can be switched through tabs
JSCScrollBarslider to navigate virtual viewports
JSCPeakMeterViewvolume level peak meter display

 

UGen Replacements

There are replacements for the Mac-only Mouse UGens:

UGen ClassDescription
JMouseXtrack horizontal mouse position
JMouseYtrack vertical mouse position
JMouseButtontrack mouse button pressing
JKeyStatetrack keyboard typing

 

Other Platform Specific Classes

ClassDescription
JSpeechtext-to-speech synthesizer