|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
holoedit.gui.FloatingWindow
holoedit.gui.SoundPoolGUI
public class SoundPoolGUI
Nested Class Summary | |
---|---|
(package private) class |
SoundPoolGUI.DataFileImporter
|
(package private) class |
SoundPoolGUI.DataTreeSelectionListener
|
(package private) class |
SoundPoolGUI.SoundFileImporter
|
(package private) class |
SoundPoolGUI.WaveformTreeSelectionListener
|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
javax.swing.JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
java.awt.Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
private boolean |
acceptDrag
|
private boolean |
choosingfolder
|
private javax.swing.JMenuItem |
clearDtMI
|
private javax.swing.JMenuItem |
clearSndMI
|
private java.io.File |
dataFolder
|
private DynamicTree |
dataTree
|
private javax.swing.JMenu |
displayDtMI
|
boolean |
done
|
java.util.Vector<java.lang.String> |
doneAndFineData
|
private HoloExternalData |
droppedExternalData
|
int |
error
|
java.lang.String |
errorFileName
|
private java.io.File |
externalDataFolder
|
boolean |
fine
|
private java.awt.Font |
font
|
private javax.swing.JMenuItem |
importDtMI
|
private javax.swing.JMenuItem |
importSndMI
|
private javax.swing.JTextPane |
info
|
HoloWaveForm |
last
|
HoloExternalData |
lastXtdt
|
private Main |
mainRef
|
private javax.swing.JPopupMenu |
popupData
the popupMenu opened by a right-click on the dataTree |
private javax.swing.JPopupMenu |
popupSound
the popupMenu opened by a right-click on the soundTree |
private javax.swing.JMenuItem |
removeDtMI
|
private javax.swing.JMenuItem |
removeSndMI
|
private java.util.Vector<HoloSDIFdata> |
sdifDataToDraw
|
private java.util.Vector<HoloSDIFdata> |
sdifDataToDrawFromSndTree
|
private javax.swing.tree.DefaultMutableTreeNode |
selectedDtNode
|
private javax.swing.tree.DefaultMutableTreeNode |
selectedSndNode
|
private java.io.File |
soundFolder
|
private DynamicTree |
soundTree
|
private javax.swing.JSplitPane |
split
|
private javax.swing.JSplitPane |
split2
|
private javax.swing.JSplitPane |
split3
|
private static java.lang.Boolean |
supportsDnD
|
private java.util.Vector<java.io.File> |
unfound
|
private javax.swing.JMenuItem |
updateDtMI
|
private javax.swing.JMenuItem |
updateSndMI
|
private WaveFormRenderer |
waveView
|
Fields inherited from class holoedit.gui.FloatingWindow |
---|
fo, oposX, oposY, osizH, osizW, posX, posY, sizH, sizW, visible |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SoundPoolGUI(Main owner)
|
Method Summary | |
---|---|
void |
clear()
|
void |
clearDoneAndFineData()
|
void |
componentResized(java.awt.event.ComponentEvent e)
|
void |
dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
|
void |
dragExit(java.awt.dnd.DropTargetEvent dte)
|
void |
dragGestureRecognized(java.awt.dnd.DragGestureEvent dge)
|
void |
dragOver(java.awt.dnd.DropTargetDragEvent dtde)
|
void |
drop(java.awt.dnd.DropTargetDropEvent dtde)
|
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
|
void |
filesDropped(java.io.File[] files)
|
void |
focusGained(java.awt.event.FocusEvent e)
|
int |
getSplitDivPos()
|
void |
importData(java.io.File f,
java.lang.String importOptions,
boolean verboseError)
|
void |
importSound(java.io.File f,
boolean verboseError)
|
private boolean |
isDragOk(java.awt.dnd.DropTargetDragEvent evt)
Determine if the dragged data is a file list. |
private void |
makeDropTarget(java.awt.Component c)
|
void |
repaint()
|
void |
setSplitDivPos(int i)
|
static boolean |
supportsDnD()
|
java.lang.String |
toString()
|
void |
updateDataTree()
|
void |
updateSoundTree(javax.swing.tree.DefaultMutableTreeNode toSelec)
|
private void |
updateWaveView()
|
Methods inherited from class holoedit.gui.FloatingWindow |
---|
add, add, close, componentHidden, componentMoved, componentShown, focusLost, open, remove, resetPositionAndSize, setBoxLayout, setLayout, setLayout, setLayout, setLayout, setLocation, setResizable, setSize, setStarred, setVisi, toStatus, unsetLayout, updateMenuBar, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
Methods inherited from class javax.swing.JFrame |
---|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront |
Methods inherited from class java.awt.Container |
---|
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, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, isOpaque, 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, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setVisible, show, size, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
private static java.lang.Boolean supportsDnD
private Main mainRef
private DynamicTree soundTree
private DynamicTree dataTree
private javax.swing.tree.DefaultMutableTreeNode selectedSndNode
private javax.swing.tree.DefaultMutableTreeNode selectedDtNode
private javax.swing.JTextPane info
private javax.swing.JPopupMenu popupSound
private javax.swing.JPopupMenu popupData
private WaveFormRenderer waveView
private javax.swing.JSplitPane split
private javax.swing.JSplitPane split2
private javax.swing.JSplitPane split3
private java.awt.Font font
private javax.swing.JMenuItem importSndMI
private javax.swing.JMenuItem removeSndMI
private javax.swing.JMenuItem updateSndMI
private javax.swing.JMenuItem clearSndMI
private javax.swing.JMenuItem importDtMI
private javax.swing.JMenuItem removeDtMI
private javax.swing.JMenu displayDtMI
private javax.swing.JMenuItem updateDtMI
private javax.swing.JMenuItem clearDtMI
public boolean fine
public boolean done
public int error
public java.lang.String errorFileName
public HoloWaveForm last
public HoloExternalData lastXtdt
private java.util.Vector<java.io.File> unfound
private java.io.File soundFolder
private java.io.File externalDataFolder
private java.io.File dataFolder
private boolean choosingfolder
private boolean acceptDrag
private HoloExternalData droppedExternalData
private java.util.Vector<HoloSDIFdata> sdifDataToDraw
private java.util.Vector<HoloSDIFdata> sdifDataToDrawFromSndTree
public java.util.Vector<java.lang.String> doneAndFineData
Constructor Detail |
---|
public SoundPoolGUI(Main owner)
Method Detail |
---|
public void updateSoundTree(javax.swing.tree.DefaultMutableTreeNode toSelec)
toSelec
- Si un noeud particulier doit etre sˇlectionnˇ.public void updateDataTree()
public void clear()
public void repaint()
repaint
in class java.awt.Component
private void makeDropTarget(java.awt.Component c)
public void importSound(java.io.File f, boolean verboseError)
public void importData(java.io.File f, java.lang.String importOptions, boolean verboseError)
public void dragGestureRecognized(java.awt.dnd.DragGestureEvent dge)
dragGestureRecognized
in interface java.awt.dnd.DragGestureListener
private void updateWaveView()
public void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
dragEnter
in interface java.awt.dnd.DropTargetListener
public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
dragOver
in interface java.awt.dnd.DropTargetListener
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
dropActionChanged
in interface java.awt.dnd.DropTargetListener
public void dragExit(java.awt.dnd.DropTargetEvent dte)
dragExit
in interface java.awt.dnd.DropTargetListener
public void drop(java.awt.dnd.DropTargetDropEvent dtde)
drop
in interface java.awt.dnd.DropTargetListener
private boolean isDragOk(java.awt.dnd.DropTargetDragEvent evt)
public void filesDropped(java.io.File[] files)
public void clearDoneAndFineData()
public int getSplitDivPos()
public void setSplitDivPos(int i)
public static boolean supportsDnD()
public java.lang.String toString()
toString
in class FloatingWindow
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
componentResized
in class FloatingWindow
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
focusGained
in class FloatingWindow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |