cs235MasseyA6
DataVisualiser
 All Classes Files Functions
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Visualisation Class Reference
Inheritance diagram for Visualisation:
Inheritance graph
[legend]
Collaboration diagram for Visualisation:
Collaboration graph
[legend]

Public Member Functions

boolean SetColour (ColourList colour)
 Mutator for m_ColourScheme - the colour scheme of the chart. More...
 
ChartData GetData ()
 Accessor for m_Data. More...
 
boolean SetData (ChartData data)
 Mutator for m_Data - the internal data structure. More...
 
ColourList GetColour ()
 Accessor for m_Colour. More...
 
boolean SetTitle (String title)
 Mutator for m_Title - title of visualisation. More...
 
String GetTitle ()
 Accessor for m_Title. More...
 
String toString ()
 Displays data in the form of a string. More...
 

Static Public Member Functions

static void main (String[] args)
 Unit test. More...
 

Protected Attributes

ColourList m_ColourScheme
 
ChartData m_Data
 
String m_Title
 

Member Function Documentation

ColourList Visualisation.GetColour ( )

Accessor for m_Colour.

Returns
- colour data
ChartData Visualisation.GetData ( )

Accessor for m_Data.

Returns
- the internal data
String Visualisation.GetTitle ( )

Accessor for m_Title.

Returns
- chart title
static void Visualisation.main ( String[]  args)
static

Unit test.

Parameters
args- command line arguments (not used).

Here is the call graph for this function:

boolean Visualisation.SetColour ( ColourList  colour)

Mutator for m_ColourScheme - the colour scheme of the chart.

Parameters
colour- new colour scheme to be applied
Returns
- success
boolean Visualisation.SetData ( ChartData  data)

Mutator for m_Data - the internal data structure.

Parameters
data- data to be plotted
Returns
- success
boolean Visualisation.SetTitle ( String  title)

Mutator for m_Title - title of visualisation.

Parameters
title- new title of visualisation
Returns
- success
String Visualisation.toString ( )

Displays data in the form of a string.

Returns
- string representation of Visualisation

Here is the call graph for this function:


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