Package ucar.unidata.ui
Class ScaledPanel.Bounds
java.lang.Object
ucar.unidata.ui.ScaledPanel.Bounds
- Enclosing class:
ScaledPanel
Why the heck did I create yet another Rectangle. Because I needed
some precise semantics, especially for the y screen coordinate.
"upper" is what you want to be placed on the upper part of the screen,
"lower" on the lower part.
-
Constructor Details
-
Bounds
public Bounds()_more_ -
Bounds
public Bounds(double left, double right, double upper, double lower) _more_- Parameters:
left
-right
-upper
-lower
-
-
-
Method Details
-
getUpper
public double getUpper()_more_- Returns:
- _more_
-
getLower
public double getLower()_more_- Returns:
- _more_
-
getRight
public double getRight()_more_- Returns:
- _more_
-
getLeft
public double getLeft()_more_- Returns:
- _more_
-
set
_more_- Parameters:
b
-
-
getRect
_more_- Returns:
- _more_
-
toString
_more_
-