Package ucar.nc2.ui.widget
Class ScaledPanel.Bounds
- java.lang.Object
-
- ucar.nc2.ui.widget.ScaledPanel.Bounds
-
- Enclosing class:
- ScaledPanel
public static class ScaledPanel.Bounds extends Object
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getLeft()
double
getLower()
Rectangle2D
getRect()
double
getRight()
double
getUpper()
void
set(ScaledPanel.Bounds b)
String
toString()
-
-
-
Method Detail
-
getUpper
public double getUpper()
-
getLower
public double getLower()
-
getRight
public double getRight()
-
getLeft
public double getLeft()
-
set
public void set(ScaledPanel.Bounds b)
-
getRect
public Rectangle2D getRect()
-
-