|
Cytoscape 3.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.view.model.ContinuousRange<T>
T - The generic type of this ContinuousRange.public class ContinuousRange<T>
Defines a continuous range of values for VisualPropertys.
| Constructor Summary | |
|---|---|
ContinuousRange(Class<T> type,
T min,
T max,
Boolean includeMin,
Boolean includeMax)
Constructs this ContinuousRange. |
|
| Method Summary | |
|---|---|
T |
getMax()
Returns the maximum value of this range. |
T |
getMin()
Returns the minimum value of this range. |
Class<T> |
getType()
Type of object used in this range. |
boolean |
includeMax()
Returns true if the maximum value is included in this range. |
boolean |
includeMin()
Returns true if the minimum value is included in this range. |
boolean |
inRange(T value)
Return true if the given value is in the range defined in this class. |
boolean |
isDiscrete()
If this range is a set of discrete values, return true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContinuousRange(Class<T> type,
T min,
T max,
Boolean includeMin,
Boolean includeMax)
type - the type of this ContinuousRange.min - the minimum value of this range.max - the maximum value of this range.includeMin - Whether or not to include the minimum in the range.includeMax - Whether or not to include the maximum in the range.| Method Detail |
|---|
public Class<T> getType()
Range
getType in interface Range<T>public boolean isDiscrete()
Range
isDiscrete in interface Range<T>public T getMin()
public T getMax()
public boolean includeMin()
public boolean includeMax()
public boolean inRange(T value)
Range
inRange in interface Range<T>value - any value to be tested.
|
Cytoscape 3.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||