|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.series.Series
public abstract class Series
Specifies an abstract model of items in a predefined sequence. This model has a value, ways to iterate through the sequence, and comparison tests between two values of the same sequence.
The idea is to subclass this abstract class to define a particular kind of series. For example, a simple specialized series would be whole integer numbers where there would be a predefined minimum value, maximum value, and an increment or safe delta between to adjacent numbers.
| Field Summary | |
|---|---|
static String |
VALUE
Label for the attribute; The current value of an increment in the series. |
| Method Summary | |
|---|---|
abstract void |
decrement()
Specifies an abstract means of decrementing the value to the next adjacent descending value in a series. |
abstract boolean |
equals(Series object)
Tests if this series is equal to the given one and returns true. |
String |
getUniqueSeriesName()
Returns a unique string to represent this class. |
String |
getValue()
Gets the value of the attribute: VALUE. |
abstract boolean |
greaterThan(Series object)
Tests if this series is greater than to the given one and returns true. |
abstract void |
increment()
Specifies an abstract means of incrementing the value to the next adjacent ascending value in a series. |
abstract boolean |
lessThan(Series object)
Tests if this series is less than to the given one and returns true. |
static Series |
newSeries(String userClassName)
Makes a new instance of one of the subclassed series as defined in a property where the using class is paired with the series subclass. |
static Series |
newSeries(String userClassName,
String value)
Makes a new instance of one of the subclassed series as defined in a property where the using class is paired with the series subclass. |
abstract void |
reset()
Specifies an abstract means of resetting the value to the first one in a series. |
protected void |
setValue(String a_Value)
Sets the value of the attribute: VALUE. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String VALUE
| Method Detail |
|---|
public String getValue()
protected void setValue(String a_Value)
throws WTPropertyVetoException
a_Value -
WTPropertyVetoException
public static final Series newSeries(String userClassName)
throws SeriesException
userClassName -
SeriesException
public static final Series newSeries(String userClassName,
String value)
throws SeriesException
userClassName - value -
SeriesException
public abstract void reset()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoException
public abstract void increment()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoException
public abstract void decrement()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoExceptionpublic abstract boolean equals(Series object)
object -
public abstract boolean lessThan(Series object)
object -
public abstract boolean greaterThan(Series object)
object -
public String getUniqueSeriesName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||