Class ZoomChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.swing.event.ChangeEvent
-
- com.biomatters.geneious.publicapi.components.ZoomChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ZoomChangeEvent extends javax.swing.event.ChangeEvent
An event fired to listeners added viaZoomPanel.addChangeListener(ChangeListener)
- Since:
- API 4.201900 (Geneious 2019.0.0)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZoomChangeEvent(java.lang.Object source, double zoomLevel, boolean fitToScreen)
Creates the event with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getZoomLevel()
boolean
isFitToScreen()
-
-
-
Constructor Detail
-
ZoomChangeEvent
public ZoomChangeEvent(java.lang.Object source, double zoomLevel, boolean fitToScreen)
Creates the event with the given data.- Parameters:
source
- the Object that is the source of the event (typicallythis
)zoomLevel
- target zoom level as a decimal fraction. i.e. 1.0 = 100%.fitToScreen
- indicates if the fit to screen button was pressed
-
-