comirva
Class MainUI

java.lang.Object
  extended by comirva.MainUI

public class MainUI
extends Object

This class implements the main user interface of CoMIRVA.


Nested Class Summary
 class MainUI.PopupMenuMouseAdapter
          A popup menu mouse adapter
 
Field Summary
(package private)  Vector<JList> dataMatrixListVector
           
static String DATE
           
(package private)  JRadioButtonMenuItem menuVisuCMColorful
           
(package private)  JRadioButtonMenuItem menuVisuCMFire
           
(package private)  JRadioButtonMenuItem menuVisuCMGray
           
(package private)  JRadioButtonMenuItem menuVisuCMIslands
           
(package private)  JRadioButtonMenuItem menuVisuCMOcean
           
(package private)  JRadioButtonMenuItem menuVisuCMSun
           
(package private)  AudioPlaylistPlayer pl
           
(package private)  JRadioButtonMenuItem popupColormapColorful
           
(package private)  JRadioButtonMenuItem popupColormapFire
           
(package private)  JRadioButtonMenuItem popupColormapGray
           
(package private)  JRadioButtonMenuItem popupColormapIslands
           
(package private)  JRadioButtonMenuItem popupColormapOcean
           
(package private)  JRadioButtonMenuItem popupColormapSun
           
(package private)  JToolBar toolbarDataManagement
           
static String VERSION
           
(package private)  Workspace ws
           
 
Constructor Summary
MainUI()
           
 
Method Summary
protected  void addStatusBar(String text)
          Adds a text to the content of the status bar.
protected  void clearStatusBar()
          Erases the text in the status bar and reset progress to minimum
static void main(String[] args)
          Creates a new instance of the user interface and initializes it.
 void menuFileDeleteSelectedItem_actionPerformed(ActionEvent actionEvent)
           
protected  void setStatusBar(int progress)
          sets current progress indication to the given value
protected  void setStatusBar(String text)
          Changes the text that is displayed in the status bar.
protected  void setStatusBar(String text, int progress)
          Changes the text that is displayed in the statusbar and sets current progress indication to the given value
 void toolbarOptions_actionPerformed(ActionEvent e)
           
 void toolbarTabRemove_actionPerformed(ActionEvent e)
           
 void toolbarTabRename_actionPerformed(ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pl

AudioPlaylistPlayer pl

VERSION

public static String VERSION

DATE

public static String DATE

menuVisuCMIslands

JRadioButtonMenuItem menuVisuCMIslands

menuVisuCMFire

JRadioButtonMenuItem menuVisuCMFire

menuVisuCMColorful

JRadioButtonMenuItem menuVisuCMColorful

menuVisuCMSun

JRadioButtonMenuItem menuVisuCMSun

menuVisuCMOcean

JRadioButtonMenuItem menuVisuCMOcean

menuVisuCMGray

JRadioButtonMenuItem menuVisuCMGray

popupColormapIslands

JRadioButtonMenuItem popupColormapIslands

popupColormapFire

JRadioButtonMenuItem popupColormapFire

popupColormapColorful

JRadioButtonMenuItem popupColormapColorful

popupColormapSun

JRadioButtonMenuItem popupColormapSun

popupColormapOcean

JRadioButtonMenuItem popupColormapOcean

popupColormapGray

JRadioButtonMenuItem popupColormapGray

toolbarDataManagement

JToolBar toolbarDataManagement

dataMatrixListVector

Vector<JList> dataMatrixListVector

ws

Workspace ws
Constructor Detail

MainUI

public MainUI()
Method Detail

menuFileDeleteSelectedItem_actionPerformed

public void menuFileDeleteSelectedItem_actionPerformed(ActionEvent actionEvent)

toolbarTabRename_actionPerformed

public void toolbarTabRename_actionPerformed(ActionEvent e)

toolbarTabRemove_actionPerformed

public void toolbarTabRemove_actionPerformed(ActionEvent e)

toolbarOptions_actionPerformed

public void toolbarOptions_actionPerformed(ActionEvent e)

setStatusBar

protected void setStatusBar(String text)
Changes the text that is displayed in the status bar.

Parameters:
text - a String containing the text that is displayed in the status bar

setStatusBar

protected void setStatusBar(String text,
                            int progress)
Changes the text that is displayed in the statusbar and sets current progress indication to the given value

Parameters:
text - a String containing the text that is displeyed
progress - a value between the model's minimum and maximum value indication the progress of the current work

setStatusBar

protected void setStatusBar(int progress)
sets current progress indication to the given value

Parameters:
progress - a value between the model's minimum and maximum value indication the progress of the current work

addStatusBar

protected void addStatusBar(String text)
Adds a text to the content of the status bar.

Parameters:
text - a String containing the text that is added at the end of the current status bar text

clearStatusBar

protected void clearStatusBar()
Erases the text in the status bar and reset progress to minimum


main

public static void main(String[] args)
Creates a new instance of the user interface and initializes it.

Parameters:
args - the command line arguments passed to the program