|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectli.netcat.chart.util.DefaultLogicalPoint
Default and immutable implementation of a Logic point.
| Constructor Summary | |
DefaultLogicalPoint(Part part)
Constructs a new and immutable instance of a logic point with the given paramerers. |
|
DefaultLogicalPoint(Part part,
ChartModel model,
int rowIndex,
int columnIndex)
Constructs a new and immutable instance of a logic point with the given paramerers. |
|
DefaultLogicalPoint(Part part,
ChartModel model,
java.lang.String key)
Constructs a new and immutable instance of a logic point with the given paramerers. |
|
| Method Summary | |
ChartModel |
getChartModel()
Returns the relevant chart model to which this logic point points to. |
int |
getColumnIndex()
Returns the index of the column to which this logic point points to. |
java.lang.String |
getKey()
Returns the key of the element to which this logic point points to. |
Part |
getPart()
Returns the instance of the corresponting Part that produced this logic point. |
int |
getRowIndex()
Returns the index of the row to which this logic point points to. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultLogicalPoint(Part part)
part - The part that calculated this logic point.
public DefaultLogicalPoint(Part part,
ChartModel model,
int rowIndex,
int columnIndex)
part - The part that calculated this logic point.model - The chart model that is referenced by this point.rowIndex - The index of the corresponding row or -1;columnIndex - The index of the corresponding column or -1;
public DefaultLogicalPoint(Part part,
ChartModel model,
java.lang.String key)
part - The part that calculated this logic point.model - The chart model that is referenced by this point.key - The key of the corresponding arbitrary value.| Method Detail |
public java.lang.String toString()
public Part getPart()
LogicalPoint
getPart in interface LogicalPointPart that generated this logic point or null.public ChartModel getChartModel()
LogicalPoint
getChartModel in interface LogicalPointnull.public int getRowIndex()
LogicalPoint
getRowIndex in interface LogicalPointpublic int getColumnIndex()
LogicalPoint
getColumnIndex in interface LogicalPointpublic java.lang.String getKey()
LogicalPoint
getKey in interface LogicalPoint
|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||