Class CurrentScreenWatch
java.lang.Object
org.jzy3d.plot3d.rendering.canvas.PixelScaleWatch
org.jzy3d.plot3d.rendering.canvas.CurrentScreenWatch
- All Implemented Interfaces:
Runnable
Check periodically if screen size has changed, hence allowing to check a changing monitor.
- Author:
- Martin Pernollet
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
firePixelScaleChanged
(double pixelScaleX, double pixelScaleY) protected void
firePixelScaleInit
(double pixelScaleX, double pixelScaleY) protected abstract void
fireScreenChange
(double screenWidth, double screenHeight) double
double
Methods inherited from class org.jzy3d.plot3d.rendering.canvas.PixelScaleWatch
getWatchIntervalMs, run, setWatchIntervalMs, watchPixelScaleAndNotifyUponChange
-
Field Details
-
component
-
-
Constructor Details
-
CurrentScreenWatch
-
-
Method Details
-
fireScreenChange
protected abstract void fireScreenChange(double screenWidth, double screenHeight) -
firePixelScaleChanged
protected void firePixelScaleChanged(double pixelScaleX, double pixelScaleY) - Specified by:
firePixelScaleChanged
in classPixelScaleWatch
-
firePixelScaleInit
protected void firePixelScaleInit(double pixelScaleX, double pixelScaleY) - Overrides:
firePixelScaleInit
in classPixelScaleWatch
-
getPixelScaleX
public double getPixelScaleX()- Specified by:
getPixelScaleX
in classPixelScaleWatch
-
getPixelScaleY
public double getPixelScaleY()- Specified by:
getPixelScaleY
in classPixelScaleWatch
-