cs235MasseyA6
DataVisualiser
 All Classes Files Functions
Public Member Functions | Static Public Member Functions | List of all members
GUI Class Reference

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

Inheritance diagram for GUI:
Inheritance graph
[legend]
Collaboration diagram for GUI:
Collaboration graph
[legend]

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 ()
 clears the editbale settings for the charts
 
void closeChartDialog ()
 closes the chart type chooser pop out
 
void closeColourDialog ()
 closes the colour chooser pop out
 
 GUI ()
 constructs a GUI using initComponents
 
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)
 main method creates a new GUI and sets it visible
 

Detailed Description

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

Member Function Documentation

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

Here is the call graph for this function:

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

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