|
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.ListPenBox
Implementation of a pen box that uses a list of pens as internal data structure
| Constructor Summary | |
ListPenBox()
Constructs a new and empty ListPenBox. |
|
ListPenBox(Pen[] pens)
Constructs a new ListPenBox and inserts the given pens into the list of pens. |
|
| Method Summary | |
Pen |
getPenAt(int index)
Returns the pen for the given index. |
void |
setPens(Pen[] pens)
Sets the pen collection to the given pens. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ListPenBox()
public ListPenBox(Pen[] pens)
pens - The initial pen collection, not null. Further modification of this parameter have no impact.| Method Detail |
public void setPens(Pen[] pens)
pens - The new pen collection, not null. Further modification of this parameter have no impact.public Pen getPenAt(int index)
getPenAt in interface PenBoxindex - The index of the pen, it must be >= 0.
null.
|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||