My Project
 All Classes Files Functions
Public Member Functions | Static Public Member Functions | List of all members
GUI Class Reference
Inheritance diagram for GUI:

Public Member Functions

String[] GetTableHeadings ()
 
String[][] GetTableData ()
 
String[] GetTableHeadingsLeft ()
 
String[][] GetTableDataLeft ()
 
String GetColourScheme ()
 
Chart GetChart ()
 
Chart GetChartBottom ()
 
String GetHostTitle ()
 
String GetHostAuthor ()
 
String GetHostXAxis ()
 
String GetHostYAxis ()
 
String GetHostDescr ()
 
ChartData GetSelectedTableData ()
 
ChartData GetSelectedTableDataLeft ()
 
ArrayList< Color > GetUserDefinedScheme ()
 
void SetHostTitle (String title)
 
void SetHostAuthor (String author)
 
void SetHostXAxis (String xAxis)
 
void SetHostYAxis (String yAxis)
 
void SetHostDescr (String descr)
 
void SetChart (Chart chart)
 
void SetChartBottom (Chart chart)
 
void SetUserColourScheme (ArrayList< Color > userList)
 
void SetColourScheme (String chosenScheme)
 
void SetTableHeadings (String[] headings)
 
void SetTableData (String[][] tableData)
 
void SetTableHeadingsLeft (String[] headings)
 
void SetTableDataLeft (String[][] tableData)
 
void SetChartOnPanel (Chart createdChart)
 
void SetChartOnPanelBottom (Chart createdChart)
 
void SetOptionsOnToolbar (Boolean axisEditable)
 
void ClearSettings ()
 
void closeChartDialog ()
 
void closeColourDialog ()
 
 GUI ()
 
ChartPanel GetM_ChartPanel ()
 
void SetM_ChartPanel (ChartPanel m_ChartPanel)
 
ChartPanel GetM_ChartPanelBottom ()
 
void SetM_ChartPanelBottom (ChartPanel m_ChartPanelBottom)
 
Boolean GetPaused ()
 
void SsetPaused (Boolean paused)
 
int GetInterval ()
 
void SetInterval (int interval)
 

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

GUI class, creates the GUI making a JFrame visible and adding the different components to the frame.

Constructor & Destructor Documentation

GUI.GUI ( )
inline

constructs a GUI using initComponents

Member Function Documentation

void GUI.ClearSettings ( )
inline

clears the editbale settings for the charts

void GUI.closeChartDialog ( )
inline

closes the chart type chooser pop out

void GUI.closeColourDialog ( )
inline

closes the colour chooser pop out

Chart GUI.GetChart ( )
inline
Returns
m_Chart - returns the Chart
Chart GUI.GetChartBottom ( )
inline
Returns
m_Chartbottom - returns the Chart
String GUI.GetColourScheme ( )
inline
Returns
m_ChosenScheme - returns the currently selected colour scheme
String GUI.GetHostAuthor ( )
inline
Returns
m_AuthorField - returns the Author for the chart
String GUI.GetHostDescr ( )
inline
Returns
m_DescriptionField - returns the Description of the graph
String GUI.GetHostTitle ( )
inline
Returns
m_Titlefield - returns the title for the chart
String GUI.GetHostXAxis ( )
inline
Returns
m_XAxisField - returns the X Axis title for the chart
String GUI.GetHostYAxis ( )
inline
Returns
m_YAxisField - returns the Y Axis title for the chart
int GUI.GetInterval ( )
inline
Returns
the interval
ChartPanel GUI.GetM_ChartPanel ( )
inline
Returns
the m_ChartPanel
ChartPanel GUI.GetM_ChartPanelBottom ( )
inline
Returns
the m_ChartPanelBottom
Boolean GUI.GetPaused ( )
inline
Returns
the paused
ChartData GUI.GetSelectedTableData ( )
inline
Returns
ChartData - uses user selected rows and colums to return the data that charts use
ChartData GUI.GetSelectedTableDataLeft ( )
inline
Returns
ChartData - uses user selected rows and colums to return the data that charts use
String [][] GUI.GetTableData ( )
inline
Returns
m_TableData - returns the data for the table
String [][] GUI.GetTableDataLeft ( )
inline
Returns
m_TableDataLeft - returns the data for the table
String [] GUI.GetTableHeadings ( )
inline
Returns
m_TableHeadings - returns the headings for the columns in the, table
String [] GUI.GetTableHeadingsLeft ( )
inline
Returns
m_TableHeadingsLeft - returns the headings for the columns in the, table
ArrayList<Color> GUI.GetUserDefinedScheme ( )
inline
Returns
m_UserDefinedColourList - returns the user defined colour list
static void GUI.main ( String[]  args)
inlinestatic

main method creates a new GUI and sets it visible

void GUI.SetChart ( Chart  chart)
inline
Parameters
chart- sets the current chart
void GUI.SetChartBottom ( Chart  chart)
inline
Parameters
chartBotttom- sets the current chart
void GUI.SetChartOnPanel ( Chart  createdChart)
inline
Parameters
createdChart- sets the chart on the left panel and refreshes the GUI
void GUI.SetColourScheme ( String  chosenScheme)
inline
Parameters
chosenScheme- sets the colour scheme
void GUI.SetHostAuthor ( String  author)
inline
Parameters
author- sets the author of the chart
void GUI.SetHostDescr ( String  descr)
inline
Parameters
descr- sets the description of the chart
void GUI.SetHostTitle ( String  title)
inline
Parameters
title- sets the Title of the chart
void GUI.SetHostXAxis ( String  xAxis)
inline
Parameters
xAxis- sets the x Axis label
void GUI.SetHostYAxis ( String  yAxis)
inline
Parameters
yAxis- sets the y Axis label
void GUI.SetInterval ( int  interval)
inline
Parameters
intervalthe interval to set
void GUI.SetM_ChartPanel ( ChartPanel  m_ChartPanel)
inline
Parameters
m_ChartPanelthe m_ChartPanel to set
void GUI.SetM_ChartPanelBottom ( ChartPanel  m_ChartPanelBottom)
inline
Parameters
m_ChartPanelBottomthe m_ChartPanelBottom to set
void GUI.SetOptionsOnToolbar ( Boolean  axisEditable)
inline
Parameters
axisEditable- sets the editable preferences enabling the settings panel and ok button and refreshing the UI
void GUI.SetTableData ( String  tableData[][])
inline
Parameters
tableData- sets the data for the table
void GUI.SetTableDataLeft ( String  tableData[][])
inline
Parameters
tableData- sets the data for the table
void GUI.SetTableHeadings ( String[]  headings)
inline
Parameters
headings- sets the coloum titles
void GUI.SetTableHeadingsLeft ( String[]  headings)
inline
Parameters
headings- sets the coloum titles
void GUI.SetUserColourScheme ( ArrayList< Color >  userList)
inline
Parameters
userList- sets the user defined colour list
void GUI.SsetPaused ( Boolean  paused)
inline
Parameters
pausedthe paused to set

The documentation for this class was generated from the following file: