Package at.ofai.music.worm
Class WormParameters
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Dialog
-
- javax.swing.JDialog
-
- at.ofai.music.util.Parameters
-
- at.ofai.music.worm.WormParameters
-
public class WormParameters extends Parameters
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
-
-
Field Summary
Fields Modifier and Type Field and Description protected java.lang.String
audioFile
static java.lang.String
AUDIOFILE
protected java.lang.String
audioPath
static java.lang.String
AUDIOPATH
protected java.lang.String
axis
static java.lang.String
AXIS
protected java.lang.String
beatLevel
static java.lang.String
BEATLEVEL
protected int
beatsPerBar
static java.lang.String
BEATSPERBAR
protected java.lang.String
composer
static java.lang.String
COMPOSER
protected double
framePeriod
static java.lang.String
FRAMEPERIOD
protected java.lang.String
indication
static java.lang.String
INDICATION
protected java.lang.String
key
static java.lang.String
KEY
protected int
length
static java.lang.String
LENGTH
protected java.lang.String
loudnessUnits
protected java.lang.String
performer
static java.lang.String
PERFORMER
protected java.lang.String
piece
static java.lang.String
PIECE
static java.lang.String
RESOLUTION
static java.lang.String
SEP
static char
SEPCHAR
protected java.lang.String
smoothing
static java.lang.String
SMOOTHING
protected java.lang.String
startBar
static java.lang.String
STARTBAR
protected java.lang.String
tempoLate
static java.lang.String
TEMPOLATE
static java.lang.String
TITLE
protected java.lang.String
trackLevel
static java.lang.String
TRACKLEVEL
static java.lang.String
UNITS
protected java.lang.String
upbeat
static java.lang.String
UPBEAT
protected java.lang.String
version
static java.lang.String
VERSION
protected java.lang.String
year
static java.lang.String
YEAR
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
-
Fields inherited from class at.ofai.music.util.Parameters
cancelButton, cancelled, colors, keyFields, map, okButton, panel1, panel2, parent, sz, valueFields
-
-
Constructor Summary
Constructors Constructor and Description WormParameters(java.awt.Frame f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
editParameters()
void
editParameters(boolean doEdit)
double
getTrackLevel()
java.lang.String
read(java.io.BufferedReader in)
void
write(java.io.PrintStream out, int length, double outFramePeriod)
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
-
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class at.ofai.music.util.Parameters
actionPerformed, contains, getBoolean, getChoice, getDouble, getInt, getString, print, setBoolean, setChoice, setDouble, setInt, setString, setVisible, wasCancelled
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
-
-
-
-
Field Detail
-
audioFile
protected java.lang.String audioFile
-
AUDIOFILE
public static final java.lang.String AUDIOFILE
- See Also:
- Constant Field Values
-
audioPath
protected java.lang.String audioPath
-
AUDIOPATH
public static final java.lang.String AUDIOPATH
- See Also:
- Constant Field Values
-
axis
protected java.lang.String axis
-
AXIS
public static final java.lang.String AXIS
- See Also:
- Constant Field Values
-
beatLevel
protected java.lang.String beatLevel
-
BEATLEVEL
public static final java.lang.String BEATLEVEL
- See Also:
- Constant Field Values
-
beatsPerBar
protected int beatsPerBar
-
BEATSPERBAR
public static final java.lang.String BEATSPERBAR
- See Also:
- Constant Field Values
-
composer
protected java.lang.String composer
-
COMPOSER
public static final java.lang.String COMPOSER
- See Also:
- Constant Field Values
-
framePeriod
protected double framePeriod
-
FRAMEPERIOD
public static final java.lang.String FRAMEPERIOD
- See Also:
- Constant Field Values
-
indication
protected java.lang.String indication
-
INDICATION
public static final java.lang.String INDICATION
- See Also:
- Constant Field Values
-
key
protected java.lang.String key
-
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
-
length
protected int length
-
LENGTH
public static final java.lang.String LENGTH
- See Also:
- Constant Field Values
-
loudnessUnits
protected java.lang.String loudnessUnits
-
performer
protected java.lang.String performer
-
PERFORMER
public static final java.lang.String PERFORMER
- See Also:
- Constant Field Values
-
piece
protected java.lang.String piece
-
PIECE
public static final java.lang.String PIECE
- See Also:
- Constant Field Values
-
RESOLUTION
public static final java.lang.String RESOLUTION
- See Also:
- Constant Field Values
-
SEP
public static final java.lang.String SEP
- See Also:
- Constant Field Values
-
SEPCHAR
public static final char SEPCHAR
- See Also:
- Constant Field Values
-
smoothing
protected java.lang.String smoothing
-
SMOOTHING
public static final java.lang.String SMOOTHING
- See Also:
- Constant Field Values
-
startBar
protected java.lang.String startBar
-
STARTBAR
public static final java.lang.String STARTBAR
- See Also:
- Constant Field Values
-
tempoLate
protected java.lang.String tempoLate
-
TEMPOLATE
public static final java.lang.String TEMPOLATE
- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
- See Also:
- Constant Field Values
-
trackLevel
protected java.lang.String trackLevel
-
TRACKLEVEL
public static final java.lang.String TRACKLEVEL
- See Also:
- Constant Field Values
-
UNITS
public static final java.lang.String UNITS
- See Also:
- Constant Field Values
-
upbeat
protected java.lang.String upbeat
-
UPBEAT
public static final java.lang.String UPBEAT
- See Also:
- Constant Field Values
-
version
protected java.lang.String version
-
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
-
year
protected java.lang.String year
-
YEAR
public static final java.lang.String YEAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
editParameters
public void editParameters()
-
editParameters
public void editParameters(boolean doEdit)
-
write
public void write(java.io.PrintStream out, int length, double outFramePeriod)
-
read
public java.lang.String read(java.io.BufferedReader in) throws java.io.IOException
- Throws:
java.io.IOException
-
getTrackLevel
public double getTrackLevel()
-
-