jfreerails.client.view
Class NetWorthGraphJPanel.CompanyDetails

java.lang.Object
  extended by jfreerails.client.view.NetWorthGraphJPanel.CompanyDetails
Enclosing class:
NetWorthGraphJPanel

static class NetWorthGraphJPanel.CompanyDetails
extends java.lang.Object

Stores the company details that are used to draw a line and title on the graph.

Author:
Luke

Field Summary
(package private)  java.awt.Color color
          The colour for the line on the graph.
(package private)  java.lang.String name
          The company's name.
(package private)  long[] value
          The company's net worth at the end of each year.
 
Constructor Summary
NetWorthGraphJPanel.CompanyDetails(java.lang.String n, java.awt.Color c)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

long[] value
The company's net worth at the end of each year.


color

final java.awt.Color color
The colour for the line on the graph.


name

final java.lang.String name
The company's name.

Constructor Detail

NetWorthGraphJPanel.CompanyDetails

NetWorthGraphJPanel.CompanyDetails(java.lang.String n,
                                   java.awt.Color c)