Interface com.symantec.itools.swing.GraphStyle
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Interface com.symantec.itools.swing.GraphStyle
  -  public interface GraphStyle
 
GraphStyle determines the style of the graph to draw such as bar, line, pie, or scatter
  -  Author:
  
 -  Michael Hopkins, Symantec
 
  
  -  
	AREA_STYLE
   -   Defines the area graph style.
  
 -  
	BAR_STYLE
   -   Defines the line graph style.
  
 -  
	DEFAULT_STYLE
   -   Defines the default graph style (which also happens to be line)
  
 -  
	LINE_STYLE
   -   Defines the line graph style.
  
 -  
	PIE_STYLE
   -   Defines the pie graph style.
  
 -  
	SCATTER_STYLE
   -   Defines the scatter graph style.
 
  
  -  
	getStyle()
   -   Gets the new graph style.
  
 -  
	setStyle(int)
   -   Sets the new graph style.
 
  
AREA_STYLE
public static final int AREA_STYLE
  -  Defines the area graph style. Similar to the line graph except that area beneath
 line is filled with a solid color corresponding to the color to be used by the series
 
BAR_STYLE
public static final int BAR_STYLE
  -  Defines the line graph style. This causes variable pixel width lines to
 be drawn between consecutive data points
 
DEFAULT_STYLE
public static final int DEFAULT_STYLE
  -  Defines the default graph style (which also happens to be line)
 
LINE_STYLE
public static final int LINE_STYLE
  -  Defines the line graph style. This causes variable pixel width lines to
 be drawn between consecutive data points
 
PIE_STYLE
public static final int PIE_STYLE
  -  Defines the pie graph style. This causes the data to be plotted as a pie chart
 
SCATTER_STYLE
public static final int SCATTER_STYLE
  -  Defines the scatter graph style. This causes data points to be simply plotted
 
  
getStyle
public abstract int getStyle()
  -  Gets the new graph style.
  
 
 
    -  Returns:
    
 -  the new border style, one of DEFAULT_STYLE, LINE_STYLE,
    BAR_STYLE, PIE_STYLE, AREA_STYLE, or SCATTER_STYLE
    
 -  See Also:
    
 -  setStyle, DEFAULT_STYLE, LINE_STYLE, BAR_STYLE, PIE_STYLE, AREA_STYLE, SCATTER_STYLE
  
 
 
 
setStyle
public abstract void setStyle(int style)
  -  Sets the new graph style.
  
 
 
    -  Parameters:
    
 -  style - the new border style, one of DEFAULT_STYLE, LINE_STYLE,
    BAR_STYLE, GRAPH_PIE_STYLE, AREA_STYLE, or SCATTER_STYLE
    
 -  See Also:
    
 -  getStyle, DEFAULT_STYLE, LINE_STYLE, BAR_STYLE, PIE_STYLE, AREA_STYLE, SCATTER_STYLE
  
 
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index