Package com.meapsoft.visualizer

Examples of com.meapsoft.visualizer.SingleFeaturePanel


        {
          //create our hashmap first
          mVisualPanels = new HashMap();
         
            //instantiate these for use later on
            SingleFeaturePanel waveformPanel = new SingleFeatureWaveformPanel();
            waveformPanel.setMinimumSize(new Dimension(400, 45));
            waveformPanel.setPreferredSize(new Dimension(400,45));
            waveformPanel.setSegTickType(SingleFeaturePanel.SHORT_SEG_TICKS);

            SingleFeatureSpectrumPanel spectrumPanel = new SingleFeatureSpectrumPanel();
            spectrumPanel.setMinimumSize(new Dimension(400, 45));
            spectrumPanel.setPreferredSize(new Dimension(400,45))
            spectrumPanel.setSegTickType(SingleFeaturePanel.SHORT_SEG_TICKS);
View Full Code Here


         {           
             //get the tab with this name and remove its contents
             JPanel previewTab = getPreviewTab(tabName);
               
             //get the single feature panel here
             SingleFeaturePanel featurePanel = this.getVisualPanel(panelName);
      
             //add this before we update the feature panel
       previewTab.add(featurePanel);
      
             //update the progress bar here
             String updateString = "Drawing " + panelName + "...";
       mMainScreen.updateProgressBar(updateString, featurePanel.getProgress());
     
       //initialize the panel here
       //System.out.println("about to call initialize..." + panelName);
       featurePanel.initialize(featureFile, featureName);
       //System.out.println("done initialize!");
       featurePanel.updateData();
      
       //repaint the feature panel after we add it
       featurePanel.repaint();
      
             //set us to be visible
             mMainScreen.setVisualPreviewVisible(true);
         }
View Full Code Here

         if(mVisualized)
         {
           //if the original, add the waveform as listener
           if(playOriginal)
           {
             SingleFeaturePanel wave = mPreviewPanel.getVisualPanel("Waveform");
             mSynth.addLineListener(wave);
           }
           else
           {
            
View Full Code Here

TOP

Related Classes of com.meapsoft.visualizer.SingleFeaturePanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.