|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A CategoryRange represents an interval within a
CategoryScale. To get more informations on a
CategoryScale please have a look at the documentation of the
CategoryScale interface.
Since a CategoryRange is defined over an interval it needs a
starting value and a ending value that defines the interval the
CategoryRange represents. To handle these values the
CategoryRange provides the methods listed below:
At the actual state of development a CategoryRange defines only
the width for one step within the interval it represents. In order to work
with the defined width the CategoryRange provides the following
methods:
| Method Summary | |
CategoryRange |
deepCopy()
Deep copies the CategoryRange object. |
int |
getFrom()
Returns the from. |
int |
getTo()
Returns the to. |
int |
getWidth()
Returns the width for each category of this range. |
int |
getWidthOverall()
Return the overall-width of the categories of this range. |
void |
setFrom(int from)
Sets the from. |
void |
setTo(int to)
Sets the to. |
void |
setWidth(int width)
Sets the width. |
| Method Detail |
public int getFrom()
public void setFrom(int from)
from - The from to setpublic int getTo()
public void setTo(int to)
to - The to to setpublic int getWidth()
public int getWidthOverall()
public void setWidth(int width)
width - The width to setpublic CategoryRange deepCopy()
CategoryRange object.
CategoryRange-instance
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||