Package model.ui.buttons
Class ChangePageButtonModel
java.lang.Object
model.ui.buttons.CustomButtonModel
model.ui.buttons.ChangePageButtonModel
Bottone usato per cambiare pagina in varie schermate ha una direzione per la freccia
-
Field Summary
FieldsFields inherited from class model.ui.buttons.CustomButtonModel
bounds, height, mouseHover, mousePressed, width, x, y
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class model.ui.buttons.CustomButtonModel
getBounds, getHeight, getWidth, getX, getY, isHover, isPressed, setHover, setPressed
-
Field Details
-
direction
private int direction
-
-
Constructor Details
-
ChangePageButtonModel
public ChangePageButtonModel(int x, int y, int width, int height, int direction)
-
-
Method Details
-
getDirection
public int getDirection()
-