virtual class vaseGui::Button

sys::Obj
  vaseGui::Widget
    vaseGui::Label
      vaseGui::Button

@Js

common behaviors for buttons.

clicked

protected virtual override Void clicked()

gestureEvent

protected virtual override Void gestureEvent(GestureEvent e)

keyEvent

virtual override Void keyEvent(KeyEvent e)

make

new make()

motionEvent

protected virtual override Void motionEvent(MotionEvent e)

mouseDown

const static Int mouseDown := 2

mouseEnter

virtual override Void mouseEnter()

mouseExit

virtual override Void mouseExit()

mouseOut

const static Int mouseOut := 0

mouseOver

const static Int mouseOver := 1

onAction

protected EventListeners onAction()

rippleEnable

Bool rippleEnable := true

startRipple

protected Void startRipple(Int x, Int y)

state

@Transient
Int state := mouseOut