com::cosylab::gui::components::r2::chart::PlainChartStyle Class Reference

Inheritance diagram for com::cosylab::gui::components::r2::chart::PlainChartStyle:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::gui::components::r2::chart::PlainChartStyle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PlainChartStyle ()
 PlainChartStyle (int lineStyle, java.awt.Color lineColor, int symbolStyle, int symbolSize, java.awt.Color symbolColor)
void drawGraph (IntPointIterator it, java.awt.Graphics g)
java.awt.Color getLineColor ()
int getLineStyle ()
java.awt.Color getSymbolColor ()
int getSymbolSize ()
int getSymbolStyle ()
boolean isEditable ()
void setLineColor (java.awt.Color newLineColor)
void setLineStyle (int newLineStyle)
void setSymbolColor (java.awt.Color newSymbolColor)
void setSymbolSize (int newSymbolSize)
void setSymbolStyle (int newSymbolStyle)

Static Public Attributes

static final int SYMBOL_NONE = 0
static final int SYMBOL_DOT = 1
static final int LINE_NONE = 0
static final int LINE_PLAIN = 1

Protected Member Functions

void drawDots (IntPointIterator it, java.awt.Graphics g)
void drawLine (IntPointIterator it, java.awt.Graphics g)
void drawLineDots (IntPointIterator it, java.awt.Graphics g)

Protected Attributes

boolean editable = true

Private Attributes

int symbolStyle = SYMBOL_DOT
int lineStyle = LINE_PLAIN
java.awt.Color symbolColor = java.awt.Color.black
java.awt.Color lineColor = java.awt.Color.black
int symbolSize = 7

Detailed Description

Insert the type's description here. Creation date: (12/4/00 15:18:28)

Author:
:

Constructor & Destructor Documentation

com::cosylab::gui::components::r2::chart::PlainChartStyle::PlainChartStyle (  )  [inline]

ChartStyle constructor comment.

com::cosylab::gui::components::r2::chart::PlainChartStyle::PlainChartStyle ( int  lineStyle,
java.awt.Color  lineColor,
int  symbolStyle,
int  symbolSize,
java.awt.Color  symbolColor 
) [inline]

ChartStyle constructor comment.

References lineColor, and symbolColor.


Member Function Documentation

void com::cosylab::gui::components::r2::chart::PlainChartStyle::drawDots ( IntPointIterator  it,
java.awt.Graphics  g 
) [inline, protected]
void com::cosylab::gui::components::r2::chart::PlainChartStyle::drawGraph ( IntPointIterator  it,
java.awt.Graphics  g 
) [inline]

Insert the method's description here. Creation date: (31.03.2001 00:11:03)

Parameters:
x int[]
y int[]
g java.awt.Graphics

Implements com::cosylab::gui::components::r2::chart::ChartStyle.

References drawDots(), drawLine(), drawLineDots(), LINE_NONE, LINE_PLAIN, lineStyle, SYMBOL_DOT, SYMBOL_NONE, and symbolStyle.

void com::cosylab::gui::components::r2::chart::PlainChartStyle::drawLine ( IntPointIterator  it,
java.awt.Graphics  g 
) [inline, protected]
void com::cosylab::gui::components::r2::chart::PlainChartStyle::drawLineDots ( IntPointIterator  it,
java.awt.Graphics  g 
) [inline, protected]
java.awt.Color com::cosylab::gui::components::r2::chart::PlainChartStyle::getLineColor (  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:53)

Returns:
java.awt.Color

References lineColor.

int com::cosylab::gui::components::r2::chart::PlainChartStyle::getLineStyle (  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:19)

Returns:
int

References lineStyle.

java.awt.Color com::cosylab::gui::components::r2::chart::PlainChartStyle::getSymbolColor (  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:37)

Returns:
java.awt.Color

References symbolColor.

int com::cosylab::gui::components::r2::chart::PlainChartStyle::getSymbolSize (  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:20:40)

Returns:
int

References symbolSize.

int com::cosylab::gui::components::r2::chart::PlainChartStyle::getSymbolStyle (  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:01)

Returns:
int

References symbolStyle.

boolean com::cosylab::gui::components::r2::chart::PlainChartStyle::isEditable (  )  [inline]

Insert the method's description here. Creation date: (31.03.2001 00:13:43)

Returns:
boolean

Implements com::cosylab::gui::components::r2::chart::ChartStyle.

References editable.

void com::cosylab::gui::components::r2::chart::PlainChartStyle::setLineColor ( java.awt.Color  newLineColor  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:53)

Parameters:
newLineColor java.awt.Color

References lineColor.

void com::cosylab::gui::components::r2::chart::PlainChartStyle::setLineStyle ( int  newLineStyle  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:19)

Parameters:
newLineStyle int

References lineStyle.

void com::cosylab::gui::components::r2::chart::PlainChartStyle::setSymbolColor ( java.awt.Color  newSymbolColor  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:37)

Parameters:
newSymbolColor java.awt.Color

References symbolColor.

void com::cosylab::gui::components::r2::chart::PlainChartStyle::setSymbolSize ( int  newSymbolSize  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:20:40)

Parameters:
newSymbolSize int

References symbolSize.

void com::cosylab::gui::components::r2::chart::PlainChartStyle::setSymbolStyle ( int  newSymbolStyle  )  [inline]

Insert the method's description here. Creation date: (12/4/00 15:19:01)

Parameters:
newSymbolStyle int

References symbolStyle.


Member Data Documentation

Referenced by isEditable().

Referenced by drawGraph().

Referenced by drawGraph().

java.awt.Color com::cosylab::gui::components::r2::chart::PlainChartStyle::lineColor = java.awt.Color.black [private]

Referenced by drawGraph().

Referenced by drawGraph().

java.awt.Color com::cosylab::gui::components::r2::chart::PlainChartStyle::symbolColor = java.awt.Color.black [private]

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

Generated by  doxygen 1.6.2