|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.work.util.AbstractBounded<Integer>
org.cytoscape.work.util.BoundedInteger
public final class BoundedInteger
An Integer object which has low and up bounds.
Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-api</artifactId>
</dependency>| Constructor Summary | |
|---|---|
BoundedInteger(Integer lower,
Integer initValue,
Integer upper,
boolean lowerStrict,
boolean upperStrict)
Creates a new Bounded Integer object. |
|
| Method Summary | |
|---|---|
Integer |
clamp(Integer value)
Clamp the value to be within the range. |
void |
setValue(String s)
Set a new value to the BoundedInteger object |
| Methods inherited from class org.cytoscape.work.util.AbstractBounded |
|---|
addListener, getLowerBound, getUpperBound, getValue, isLowerBoundStrict, isUpperBoundStrict, removeListener, setBounds, setLowerBoundStrict, setUpperBoundStrict, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundedInteger(Integer lower,
Integer initValue,
Integer upper,
boolean lowerStrict,
boolean upperStrict)
lower - The lower bound value.initValue - Initial of default value for the Integerupper - The upper bound valuelowerStrict - True means that the value cannot be equal to the lower boundupperStrict - True means that the value cannot be equal to the upper bound| Method Detail |
|---|
public void setValue(String s)
setValue in class AbstractBounded<Integer>s - String converted into Integerpublic Integer clamp(Integer value)
clamp in class AbstractBounded<Integer>
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||