| Overview | Package | Class | Tree | Index | Help | NetCharts Pro (Applets) 7.0 | ||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object | +--netcharts.graphics.NFSpacing
| Constructor Summary | |
| NFSpacing(double min,
double max,
double stepSize)
Constructor for spacing object where the stepSize is defined between min and max | |
| NFSpacing(double min,
double max,
int nsteps)
Constructor for spacing object where the number of steps is defined between min and max | |
| NFSpacing(int count)
Constructor creates "count" spacings. | |
| NFSpacing(NFSpacing old)
Constructor used to copy the spacing object. | |
| NFSpacing(java.util.Vector itemList)
Constructor for spacing object where the itemList is predefined and no spacing calculations are necessary. | |
| Method Summary | |
| static NFSpacing | adjustPointSpacing(NFSpacing spacing,
int XOffset,
int YOffset)
Changes all values in the point spacing array by the given x and y offsets. |
| void | deleteNthItem(int nth)
Deletes the "nth" item. |
| java.lang.Object | getNthObject(int nth)
Returns the "nth" object in the buffer |
| java.awt.Point | getNthPoint(int nth)
Returns the "nth" point on a line |
| double | getNthValue(int nth)
Returns the "nth" spacing value as a double |
| void | setNthPoint(int nth,
java.awt.Point point)
Manually change the value of one of the spacings. |
| int | size()
Returns the number of items in the spacing list. |
| Constructor Detail |
public NFSpacing(double min,
double max,
int nsteps)
min
- The minimum.
max
- The maximum.
nsteps
- The number of steps.
public NFSpacing(double min,
double max,
double stepSize)
min
- The minimum.
max
- The maximum.
stepSize
- The step size.public NFSpacing(java.util.Vector itemList)
itemList
- The list of items.public NFSpacing(NFSpacing old)
old
- The old spacing.public NFSpacing(int count)
count
- The number of spaces to make.| Method Detail |
public double getNthValue(int nth)
nth
- Which point.public java.awt.Point getNthPoint(int nth)
nth
- Which point.public void deleteNthItem(int nth)
nth
- Which point.public java.lang.Object getNthObject(int nth)
nth
- Which point.
public void setNthPoint(int nth,
java.awt.Point point)
nth
- Which point.
point
- The point to add.public int size()
public static final NFSpacing adjustPointSpacing(NFSpacing spacing,
int XOffset,
int YOffset)
spacing
- The spacing to update.
XOffset
- The change in the X.
YOffset
- The change in the Y.| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2010 |
Last Modified: Jun 29, 2010 |