Class PainterControlButtons

    • Constructor Detail

      • PainterControlButtons

        public PainterControlButtons()
        Creates a new PainterControlButtons.
    • Method Detail

      • isActive

        public boolean isActive()
        Checks, if this painter is currently active and wants to handle events.
        Specified by:
        isActive in interface Painter
        Overrides:
        isActive in class PainterBase
        Returns:
        true, if touchpad option is on.
      • mouseClicked

        public boolean mouseClicked​(MouseEvent e)
        Handles mouse clicks.
        Specified by:
        mouseClicked in interface InputController
        Parameters:
        e - The mouse event.
        Returns:
        true, if button was clicked.
      • keyPressed

        public boolean keyPressed​(KeyEvent e)
        Does nothing.
        Specified by:
        keyPressed in interface InputController
        Parameters:
        e - The event.
        Returns:
        false