ads
Class TrackPanel
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--ads.TrackPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, javax.swing.event.AncestorListener, java.util.EventListener, java.awt.event.FocusListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class TrackPanel
- extends javax.swing.JPanel
- implements java.io.Serializable, java.awt.event.ActionListener, java.awt.event.FocusListener, javax.swing.event.AncestorListener
This is the panel that holds the info for tracks. Used by TracksFrame.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 |
Constructor Summary |
TrackPanel(int num)
Constructor |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TrackPanel
public TrackPanel(int num)
- Constructor
getTrackNumber
public int getTrackNumber()
setTrackNumber
public void setTrackNumber(java.lang.String tn)
getChannelTextField
public javax.swing.JTextField getChannelTextField()
setChannelTextField
public void setChannelTextField(javax.swing.JTextField channelTextField)
getEventTextField
public javax.swing.JTextField getEventTextField()
setEventTextField
public void setEventTextField(javax.swing.JTextField eventTextField)
getKeyTextField
public javax.swing.JTextField getKeyTextField()
setKeyTextField
public void setKeyTextField(javax.swing.JTextField keyTextFiel)
setLoopTextField
public void setLoopTextField(javax.swing.JTextField loopTextField)
getLoopTextField
public javax.swing.JTextField getLoopTextField()
setNameTextField
public void setNameTextField(javax.swing.JTextField nameTextField)
getNameTextField
public javax.swing.JTextField getNameTextField()
getPortTextField
public javax.swing.JTextField getPortTextField()
setPortTextField
public void setPortTextField(javax.swing.JTextField portTextField)
getProgTextField
public javax.swing.JTextField getProgTextField()
setProgTextField
public void setProgTextField(javax.swing.JTextField progTextField)
getVelTextField
public javax.swing.JTextField getVelTextField()
setVelTextField
public void setVelTextField(javax.swing.JTextField velTextField)
getDevicePopupMenu
public javax.swing.JPopupMenu getDevicePopupMenu()
setDevicePopupMenu
public void setDevicePopupMenu(javax.swing.JPopupMenu devicePopupMenu)
getFormatButton
public javax.swing.JToggleButton getFormatButton()
getJMenuItem1
public javax.swing.JMenuItem getJMenuItem1()
setJMenuItem1
public void setJMenuItem1(javax.swing.JMenuItem jMenuItem1)
setJMenuItem10
public void setJMenuItem10(javax.swing.JMenuItem jMenuItem10)
getJMenuItem10
public javax.swing.JMenuItem getJMenuItem10()
getJMenuItem2
public javax.swing.JMenuItem getJMenuItem2()
setJMenuItem2
public void setJMenuItem2(javax.swing.JMenuItem jMenuItem2)
getJMenuItem3
public javax.swing.JMenuItem getJMenuItem3()
setJMenuItem3
public void setJMenuItem3(javax.swing.JMenuItem jMenuItem3)
setJMenuItem4
public void setJMenuItem4(javax.swing.JMenuItem jMenuItem4)
getJMenuItem4
public javax.swing.JMenuItem getJMenuItem4()
getJMenuItem5
public javax.swing.JMenuItem getJMenuItem5()
setJMenuItem5
public void setJMenuItem5(javax.swing.JMenuItem jMenuItem5)
setJMenuItem6
public void setJMenuItem6(javax.swing.JMenuItem jMenuItem6)
getJMenuItem6
public javax.swing.JMenuItem getJMenuItem6()
getJMenuItem7
public javax.swing.JMenuItem getJMenuItem7()
setJMenuItem7
public void setJMenuItem7(javax.swing.JMenuItem jMenuItem7)
setJMenuItem8
public void setJMenuItem8(javax.swing.JMenuItem jMenuItem8)
getJMenuItem8
public javax.swing.JMenuItem getJMenuItem8()
getJMenuItem9
public javax.swing.JMenuItem getJMenuItem9()
setJMenuItem9
public void setJMenuItem9(javax.swing.JMenuItem jMenuItem9)
setFormatButton
public void setFormatButton(javax.swing.JToggleButton formatButton)
setMuteButton
public void setMuteButton(javax.swing.JToggleButton muteButton)
getMuteButton
public javax.swing.JToggleButton getMuteButton()
getTrackNum
public int getTrackNum()
setTrackNum
public void setTrackNum(int trackNum)
isType
public boolean isType()
setType
public void setType(boolean type)
isMuted
public boolean isMuted()
setMuted
public void setMuted(boolean b)
removeFocusListener
public void removeFocusListener(java.awt.event.FocusListener l)
- Overrides:
removeFocusListener
in class java.awt.Component
addFocusListener
public void addFocusListener(java.awt.event.FocusListener l)
- Overrides:
addFocusListener
in class java.awt.Component
ancestorAdded
public void ancestorAdded(javax.swing.event.AncestorEvent e)
- Specified by:
ancestorAdded
in interface javax.swing.event.AncestorListener
ancestorRemoved
public void ancestorRemoved(javax.swing.event.AncestorEvent e)
- Specified by:
ancestorRemoved
in interface javax.swing.event.AncestorListener
ancestorMoved
public void ancestorMoved(javax.swing.event.AncestorEvent e)
- Specified by:
ancestorMoved
in interface javax.swing.event.AncestorListener
removeActionListener
public void removeActionListener(java.awt.event.ActionListener l)
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
fireActionPerformed
protected void fireActionPerformed(java.awt.event.ActionEvent e)
removeAncestorListener
public void removeAncestorListener(javax.swing.event.AncestorListener l)
- Overrides:
removeAncestorListener
in class javax.swing.JComponent
addAncestorListener
public void addAncestorListener(javax.swing.event.AncestorListener l)
- Overrides:
addAncestorListener
in class javax.swing.JComponent
getType
public int getType()
setType
public void setType(int n)
getLength
public long getLength()
setLength
public void setLength(long n)
getName
public java.lang.String getName()
- Overrides:
getName
in class java.awt.Component
setName
public void setName(java.lang.String n)
- Overrides:
setName
in class java.awt.Component
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String n)
getVolume
public int getVolume()
setVolume
public void setVolume(int n)
getTempo
public int getTempo()
setTempo
public void setTempo(int n)
getKey
public int getKey()
setKey
public void setKey(int n)
getInputDevice
public int getInputDevice()
setInputDevice
public void setInputDevice(int n)
getOutputDevice
public int getOutputDevice()
setOutputDevice
public void setOutputDevice(int n)
getInputLine
public int getInputLine()
setInputLine
public void setInputLine(int n)
getOutputLine
public int getOutputLine()
setOutputLine
public void setOutputLine(int n)
getInputPort
public int getInputPort()
setInputPort
public void setInputPort(int n)
getOutputPort
public int getOutputPort()
setOutputPort
public void setOutputPort(int n)
getRecord
public boolean getRecord()
setRecord
public void setRecord(boolean b)
getPlay
public boolean getPlay()
setPlay
public void setPlay(boolean p)
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interface java.awt.event.FocusListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
trackLabelFocusListener
public void trackLabelFocusListener(java.awt.event.FocusEvent e)
getCurrentTrackNumber
public void getCurrentTrackNumber()
getAudioTrack
public AudioTrack getAudioTrack()