All Packages Class Hierarchy This Package Previous Next Index
Class fr.l2f.gui.Graph
java.lang.Object
|
+----java.awt.Component
|
+----fr.l2f.gui.Graph
- public class Graph
- extends Component
-
BAR
- Useful variable for BAR mode
-
BAR3D
- Useful variable for BAR3D mode
-
DEFAULT
- Useful variable for DEFAULT mode
-
LINE
- Useful variable for LINE mode
-
PIE
- Useful variable for PIE mode
-
PIE3D
- Useful variable for PIE3D mode
-
POINT
- Useful variable for POINT mode
-
Graph(Vector, Vector)
- Construct a new instance of Graph class
Note: axis and data should have the same size
-
Graph(Vector, Vector, int)
- Construct a new instance of Graph class
Note: axis and data should have the same size
-
getColors()
-
-
getInsets()
-
-
getMinimumSize()
-
-
getPreferredSize()
-
-
getStyle()
-
-
paint(Graphics)
-
-
setColors(Color[])
-
-
setStyle(int)
-
-
setValues(Vector, Vector)
-
LINE
public static final int LINE
- Useful variable for LINE mode
POINT
public static final int POINT
- Useful variable for POINT mode
BAR
public static final int BAR
- Useful variable for BAR mode
BAR3D
public static final int BAR3D
- Useful variable for BAR3D mode
PIE
public static final int PIE
- Useful variable for PIE mode
PIE3D
public static final int PIE3D
- Useful variable for PIE3D mode
DEFAULT
public static final int DEFAULT
- Useful variable for DEFAULT mode
Graph
public Graph(Vector axis,
Vector data)
- Construct a new instance of Graph class
Note: axis and data should have the same size
- Parameters:
- axis - axis labels (should be String object)
Graph
public Graph(Vector axis,
Vector data,
int style)
- Construct a new instance of Graph class
Note: axis and data should have the same size
- Parameters:
- axis - axis labels (should be String object)
- style - the style of the Graph
setValues
public synchronized void setValues(Vector axis,
Vector data)
setStyle
public void setStyle(int style)
getStyle
public int getStyle()
setColors
public void setColors(Color colors[])
getColors
public Color[] getColors()
paint
public void paint(Graphics g)
- Overrides:
- paint in class Component
getInsets
public Insets getInsets()
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Component
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class Component
All Packages Class Hierarchy This Package Previous Next Index