li.netcat.chart.data
Interface LegendModel
- All Superinterfaces:
- ChartModelAdapter
- All Known Implementing Classes:
- ColumnLegendModel
- public interface LegendModel
- extends ChartModelAdapter
Data provider for a legend. It basically provides the number of legend entries and
its texts.
- Author:
- Arthur Marxer
Method Summary |
int |
getColumnIndex(int entryIndex)
Returns the index of the column for a given entry index. |
int |
getEntryCount()
Returns the number of entries in this LegendModel . |
int |
getRowIndex(int entryIndex)
Returns the index of the row for a given entry index. |
java.lang.String |
getText(int entryIndex)
Returns the text for a given entry index. |
getEntryCount
public int getEntryCount()
- Returns the number of entries in this
LegendModel
.
- Returns:
- The number of entries in this
LegendModel
.
getText
public java.lang.String getText(int entryIndex)
- Returns the text for a given entry index.
- Parameters:
entryIndex
- The index of the entry, it must be >=0 and <getEntryCount()
.
- Returns:
- The text at the given index, might also be
null
.
getRowIndex
public int getRowIndex(int entryIndex)
- Returns the index of the row for a given entry index.
- Parameters:
entryIndex
- The index of the entry, it must be >=0 and <getEntryCount()
.
- Returns:
- The index of the data row.
getColumnIndex
public int getColumnIndex(int entryIndex)
- Returns the index of the column for a given entry index.
- Parameters:
entryIndex
- The index of the entry, it must be >=0 and <getEntryCount()
.
- Returns:
- The index of the data column.
Copyright © 2003 - 2005 NetCat Inc.. All rights reserved. Feedback
Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print,
Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print,
Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print