|
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.SoTDomain
SoTDomain
contains the X and Y ranges of a domain in
user units. These ranges are SoTRange
objects which
can be either Space or Time.
Constructor Summary | |
SoTDomain()
Default constructor. |
|
SoTDomain(Domain domain)
Construct a SoTDomain from a Domain . |
|
SoTDomain(SoTDomain domain)
Constract a SoTDomain from a SoTDomain |
|
SoTDomain(SoTRange xRange,
SoTRange yRange)
Construct a SoTDomain from SoTRange s. |
Method Summary | |
boolean |
equals(SoTDomain d)
Test for equality. |
SoTRange |
getXRange()
Get the x range |
SoTRange |
getYRange()
Get the y range |
boolean |
isXTime()
Test if the x range is temporal. |
boolean |
isYTime()
Test if the y range is temporal |
void |
setXRange(SoTRange xRange)
Set the x range |
void |
setYRange(SoTRange yRange)
Set the y range |
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 SoTDomain()
public SoTDomain(Domain domain)
SoTDomain
from a Domain
.public SoTDomain(SoTDomain domain)
SoTDomain
from a SoTDomain
public SoTDomain(SoTRange xRange, SoTRange yRange)
SoTDomain
from SoTRange
s.Method Detail |
public void setXRange(SoTRange xRange)
public SoTRange getXRange()
public void setYRange(SoTRange yRange)
public SoTRange getYRange()
public boolean isXTime()
public boolean isYTime()
public boolean equals(SoTDomain d)
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 |