gov.nasa.gsfc.spdf.ssc
Class GraphScale

java.lang.Object
  extended by gov.nasa.gsfc.spdf.ssc.GraphScale

public class GraphScale
extends java.lang.Object

This class represents manual scale values for an SSC graphing request.

Version:
$Revison: $
Author:
B. Harris

Constructor Summary
GraphScale()
          Constructs a GraphScale object with default attribute values (min X,Y,Z,R == -60 and max X,Y,Z,R == 60).
GraphScale(int minX, int maxX, int minY, int maxY, int minZ, int maxZ, int minR, int maxR)
          Constructs a GraphScale object with the given attribute values.
 
Method Summary
 int getMaxR()
          Gets the maximum R value.
 int getMaxX()
          Gets the maximum X value.
 int getMaxY()
          Gets the maximum Y value.
 int getMaxZ()
          Gets the maximum Z value.
 int getMinR()
          Gets the minimum R value.
 int getMinX()
          Gets the minimum X value.
 int getMinY()
          Gets the minimum Y value.
 int getMinZ()
          Gets the minimum Z value.
 void setMaxR(int value)
          Sets the maximum R value.
 void setMaxX(int value)
          Sets the maximum X value.
 void setMaxY(int value)
          Sets the maximum Y value.
 void setMaxZ(int value)
          Sets the maximum Z value.
 void setMinR(int value)
          Sets the minimum R value.
 void setMinX(int value)
          Sets the minimum X value.
 void setMinY(int value)
          Sets the minimum Y value.
 void setMinZ(int value)
          Sets the minimum Z value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphScale

public GraphScale()
Constructs a GraphScale object with default attribute values (min X,Y,Z,R == -60 and max X,Y,Z,R == 60).


GraphScale

public GraphScale(int minX,
                  int maxX,
                  int minY,
                  int maxY,
                  int minZ,
                  int maxZ,
                  int minR,
                  int maxR)
Constructs a GraphScale object with the given attribute values.

Parameters:
minX - minimum X value
maxX - maximum X value
minY - minimum Y value
maxY - maximum Y value
minZ - minimum Z value
maxZ - maximum Z value
minR - minimum R value
maxR - maximum R value
Method Detail

getMinX

public int getMinX()
Gets the minimum X value.

Returns:
minimum X value.
See Also:
setMinX(int)

setMinX

public void setMinX(int value)
Sets the minimum X value.

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

getMaxX

public int getMaxX()
Gets the maximum X value.

Returns:
maximum X value.
See Also:
setMaxX(int)

setMaxX

public void setMaxX(int value)
Sets the maximum X value.

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

getMinY

public int getMinY()
Gets the minimum Y value.

Returns:
minimum Y value.
See Also:
setMinY(int)

setMinY

public void setMinY(int value)
Sets the minimum Y value.

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

getMaxY

public int getMaxY()
Gets the maximum Y value.

Returns:
maximum Y value.
See Also:
setMaxY(int)

setMaxY

public void setMaxY(int value)
Sets the maximum Y value.

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

getMinZ

public int getMinZ()
Gets the minimum Z value.

Returns:
minimum Z value.
See Also:
setMinZ(int)

setMinZ

public void setMinZ(int value)
Sets the minimum Z value.

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

getMaxZ

public int getMaxZ()
Gets the maximum Z value.

Returns:
maximum Z value.
See Also:
setMaxZ(int)

setMaxZ

public void setMaxZ(int value)
Sets the maximum Z value.

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

getMinR

public int getMinR()
Gets the minimum R value.

Returns:
minimum R value.
See Also:
setMinR(int)

setMinR

public void setMinR(int value)
Sets the minimum R value.

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

getMaxR

public int getMaxR()
Gets the maximum R value.

Returns:
maximum R value.
See Also:
setMaxR(int)

setMaxR

public void setMaxR(int value)
Sets the maximum R value.

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


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.