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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfirePixelScaleChanged(double pixelScaleX, double pixelScaleY) protected voidfirePixelScaleInit(double pixelScaleX, double pixelScaleY) protected abstract voidfireScreenChange(double screenWidth, double screenHeight) doubledoubleMethods 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:
firePixelScaleChangedin classPixelScaleWatch
-
firePixelScaleInit
protected void firePixelScaleInit(double pixelScaleX, double pixelScaleY) - Overrides:
firePixelScaleInitin classPixelScaleWatch
-
getPixelScaleX
public double getPixelScaleX()- Specified by:
getPixelScaleXin classPixelScaleWatch
-
getPixelScaleY
public double getPixelScaleY()- Specified by:
getPixelScaleYin classPixelScaleWatch
-