|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.datatypes.JDFRange
org.cip4.jdflib.datatypes.JDFDurationRange
public class JDFDurationRange
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.cip4.jdflib.datatypes.JDFBaseDataTypes |
|---|
JDFBaseDataTypes.EnumFitsValue |
| Field Summary |
|---|
| Fields inherited from interface org.cip4.jdflib.datatypes.JDFBaseDataTypes |
|---|
EPSILON, MAX_CMYK_COLOR, MAX_LAB_COLOR, MAX_MATRIX_DIMENSION, MAX_RECTANGLE_DIMENSION, MAX_RGB_COLOR, MAX_SHAPE_DIMENSION, MAX_XY_DIMENSION |
| Constructor Summary | |
|---|---|
JDFDurationRange()
Empty range constructor |
|
JDFDurationRange(JDFDuration x)
Constructor - creates a Duration range defined by x |
|
JDFDurationRange(JDFDuration xmin,
JDFDuration xmax)
Constructor - creates a Duration range defined by xmin to xmax |
|
JDFDurationRange(JDFDurationRange r)
copy constructor |
|
JDFDurationRange(String s)
Construct a JDFDurationRange from a string |
|
| Method Summary | |
|---|---|
JDFDuration |
getLeft()
getLeft - get the left of the two range deliminators xmin ~ xmax |
protected Object |
getLeftObject()
|
JDFDuration |
getLowerValue()
getLowerValue - returns the lower value of the bounds |
JDFDuration |
getRight()
getRight - get the right of the two range deliminators xmin ~ xmax |
protected Object |
getRightObject()
|
JDFDuration |
getUpperValue()
getUpperValue - returns the upper value of the bounds |
protected void |
init(JDFDuration xmin,
JDFDuration xmax)
Initialization |
protected boolean |
inObjectRange(Object other)
|
boolean |
inRange(JDFDuration x)
inRange - returns true if 'x' is within the range defined by 'this' |
boolean |
isPartOfRange(JDFRange ra)
isPartOfRange - is range 'r' within this range? |
boolean |
isValid(String s)
isValid - validate the given String |
void |
setLeft(JDFDuration x)
setLeft - sets the left JDFDuration object of the range |
void |
setRight(JDFDuration x)
setRight - sets the right JDFDuration object of the range |
String |
toString()
toString |
| Methods inherited from class org.cip4.jdflib.datatypes.JDFRange |
|---|
equals, getString, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDFDurationRange()
public JDFDurationRange(JDFDuration x)
public JDFDurationRange(JDFDuration xmin,
JDFDuration xmax)
public JDFDurationRange(JDFDurationRange r)
public JDFDurationRange(String s)
throws DataFormatException
DataFormatException - - if the String has not a valid format| Method Detail |
|---|
protected void init(JDFDuration xmin,
JDFDuration xmax)
public String toString()
toString in class Objectpublic boolean isValid(String s)
s - the given string
public boolean inRange(JDFDuration x)
x - JDFDuration that is to be compared with 'this'
public boolean isPartOfRange(JDFRange ra)
isPartOfRange in class JDFRanger - the range to test
public JDFDuration getLeft()
public JDFDuration getRight()
public void setLeft(JDFDuration x)
x - the left JDFDuration object of the rangepublic void setRight(JDFDuration x)
x - the right JDFDuration object of the rangepublic JDFDuration getUpperValue()
public JDFDuration getLowerValue()
protected Object getRightObject()
getRightObject in class JDFRangeprotected Object getLeftObject()
getLeftObject in class JDFRangeprotected boolean inObjectRange(Object other)
inObjectRange in class JDFRange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||