mixin vaseWindow::View

vaseWindow::View

@Js

root view

getPrefSize

virtual Size getPrefSize(Int hintsWidth, Int hintsHeight)

get prefer size

host

abstract Window? host

get native host

onBack

virtual Bool onBack()

onKeyEvent

virtual Void onKeyEvent(KeyEvent e)

onMotionEvent

virtual Void onMotionEvent(MotionEvent e)

onPaint

virtual Void onPaint(Graphics g)

do paint at here

onWindowEvent

virtual Void onWindowEvent(WindowEvent e)