|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.noaa.pmel.util.Domain
GraphDomain
contains the X and Y ranges in user units.
Constructor Summary | |
Domain()
Default constructor. |
|
Domain(Domain domain)
Create a copy of a Domain . |
|
Domain(Range2D xRange,
Range2D yRange)
|
|
Domain(Range2D xRange,
TimeRange tRange)
|
|
Domain(TimeRange tRange,
Range2D yRange)
|
Method Summary | |
boolean |
equals(Domain d)
Tests for equality of Domain s. |
TimeRange |
getTimeRange()
Get the time range |
Range2D |
getXRange()
Get the x range. |
Range2D |
getYRange()
Get the y range. |
boolean |
isXTime()
Test if x range is time. |
boolean |
isYTime()
Test if y range is time. |
void |
setXRange(Range2D xRange)
Set the x range. |
void |
setXRange(TimeRange tRange)
Set the x range as time. |
void |
setYRange(Range2D yRange)
Set the y range |
void |
setYRange(TimeRange tRange)
Set the yrange as time. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Domain()
public Domain(Domain domain)
Domain
. The references for the
ranges are copied, not the objects.public Domain(Range2D xRange, Range2D yRange)
public Domain(TimeRange tRange, Range2D yRange)
public Domain(Range2D xRange, TimeRange tRange)
Method Detail |
public void setXRange(Range2D xRange)
public void setXRange(TimeRange tRange)
public Range2D getXRange()
public void setYRange(Range2D yRange)
public void setYRange(TimeRange tRange)
public Range2D getYRange()
public TimeRange getTimeRange()
public boolean isXTime()
public boolean isYTime()
public boolean equals(Domain d)
Domain
s. Both ranges must be
equal.public java.lang.String toString()
java.lang.Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class java.lang.Object
java.lang.Object
|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |