Class CurrentScreenWatch
- java.lang.Object
 - 
- org.jzy3d.plot3d.rendering.canvas.PixelScaleWatch
 - 
- org.jzy3d.plot3d.rendering.canvas.CurrentScreenWatch
 
 
 
- 
- All Implemented Interfaces:
 Runnable
public abstract class CurrentScreenWatch extends PixelScaleWatch
Check periodically if screen size has changed, hence allowing to check a changing monitor.- Author:
 - Martin Pernollet
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CurrentScreenWatch(Component component) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidfirePixelScaleChanged(double pixelScaleX, double pixelScaleY)protected voidfirePixelScaleInit(double pixelScaleX, double pixelScaleY)protected abstract voidfireScreenChange(double screenWidth, double screenHeight)doublegetPixelScaleX()doublegetPixelScaleY()- 
Methods inherited from class org.jzy3d.plot3d.rendering.canvas.PixelScaleWatch
getWatchIntervalMs, run, setWatchIntervalMs, watchPixelScaleAndNotifyUponChange 
 - 
 
 - 
 
- 
- 
Field Detail
- 
component
protected Component component
 
 - 
 
- 
Constructor Detail
- 
CurrentScreenWatch
public CurrentScreenWatch(Component component)
 
 - 
 
- 
Method Detail
- 
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
 
 - 
 
 -