gov.nasa.gsfc.spdf.ssc
Class HemisphereOptions

java.lang.Object
  extended by gov.nasa.gsfc.spdf.ssc.HemisphereOptions
All Implemented Interfaces:
java.lang.Cloneable

public class HemisphereOptions
extends java.lang.Object
implements java.lang.Cloneable

This class represents hemisphere listing options.

Version:
$Revison: $
Author:
B. Harris

Constructor Summary
HemisphereOptions()
          Constructs a HemispherOptions object with a default value.
HemisphereOptions(boolean north, boolean south)
          Constructs a HemispherOptions object with the given attribute values.
 
Method Summary
 java.lang.Object clone()
           
 boolean isNorth()
          Gets the value indicating whether the northern hemisphere is to be included.
 boolean isSouth()
          Gets the value indicating whether the southern hemisphere is to be included.
 void setNorth(boolean value)
          Sets the value indicating whether the northern hemisphere is to be included.
 void setSouth(boolean value)
          Sets the value indicating whether the southern hemisphere is to be included.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HemisphereOptions

public HemisphereOptions()
Constructs a HemispherOptions object with a default value.


HemisphereOptions

public HemisphereOptions(boolean north,
                         boolean south)
Constructs a HemispherOptions object with the given attribute values.

Parameters:
north - specifies whether the northern hemisphere is to be included
south - specifies whether the southern hemisphere is to be included
Method Detail

isNorth

public boolean isNorth()
Gets the value indicating whether the northern hemisphere is to be included.

Returns:
true if the northern hemisphere is to be included, false if not
See Also:
setNorth(boolean)

setNorth

public void setNorth(boolean value)
Sets the value indicating whether the northern hemisphere is to be included.

Parameters:
value - new value
See Also:
isNorth()

isSouth

public boolean isSouth()
Gets the value indicating whether the southern hemisphere is to be included.

Returns:
true if the southern hemisphere is to be included, false if not
See Also:
setSouth(boolean)

setSouth

public void setSouth(boolean value)
Sets the value indicating whether the southern hemisphere is to be included.

Parameters:
value - new value
See Also:
isSouth()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object


SSC Feedback.

Copyright © 2003-2008 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Right s Reserved.