Package gov.nasa.gsfc.spdf.ssc
Class GraphScale
- java.lang.Object
-
- gov.nasa.gsfc.spdf.ssc.GraphScale
-
public class GraphScale extends java.lang.ObjectThis class represents manual scale values for an SSC graphing request.- Version:
- $Revison: $
- Author:
- B. Harris
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxR()Gets the maximum R value.intgetMaxX()Gets the maximum X value.intgetMaxY()Gets the maximum Y value.intgetMaxZ()Gets the maximum Z value.intgetMinR()Gets the minimum R value.intgetMinX()Gets the minimum X value.intgetMinY()Gets the minimum Y value.intgetMinZ()Gets the minimum Z value.voidsetMaxR(int value)Sets the maximum R value.voidsetMaxX(int value)Sets the maximum X value.voidsetMaxY(int value)Sets the maximum Y value.voidsetMaxZ(int value)Sets the maximum Z value.voidsetMinR(int value)Sets the minimum R value.voidsetMinX(int value)Sets the minimum X value.voidsetMinY(int value)Sets the minimum Y value.voidsetMinZ(int value)Sets the minimum Z value.
-
-
-
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 valuemaxX- maximum X valueminY- minimum Y valuemaxY- maximum Y valueminZ- minimum Z valuemaxZ- maximum Z valueminR- minimum R valuemaxR- 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()
-
-