public abstract class ZoomButtonFactory
extends java.lang.Object
Constructor and Description |
---|
ZoomButtonFactory(Zoomable zoomable) |
Modifier and Type | Method and Description |
---|---|
javafx.scene.control.Button |
create()
Creates a new instance of a button.
|
protected abstract javafx.event.EventHandler<javafx.event.ActionEvent> |
getEventHandler()
The implementation of this method should return the actual action.
|
protected abstract java.lang.String |
getId()
The implementation should return the id of the button, which can be used for styling.
|
protected abstract java.lang.String |
getImagePath()
The implementation of this method should return the path to an image.
|
protected Zoomable zoomable
public ZoomButtonFactory(Zoomable zoomable)
public javafx.scene.control.Button create()
Button
protected abstract java.lang.String getId()
String
protected abstract java.lang.String getImagePath()
String
protected abstract javafx.event.EventHandler<javafx.event.ActionEvent> getEventHandler()
EventHandler