virtual class vaseGui::Frame

sys::Obj
  vaseGui::Widget
    vaseGui::WidgetGroup
      vaseGui::Pane
        vaseGui::ContentPane
          vaseGui::Frame

@Js

Represent a top level Widget

animManager

@Transient
AnimManager animManager := AnimManager.<ctor>()

animation manager

antialias

Bool antialias := true

Used to toggle anti-aliasing on and off.

autoScale

Bool autoScale := false

Shared dimension for layout

background

Brush background := Color.white

root background color

clearFocus

Void clearFocus()

detach

virtual override Void detach(Bool doRelayout := true)

doPaint

protected virtual override Void doPaint(Graphics g)

findStyle

Style findStyle(Widget widget)

find the current style

focusIt

Void focusIt(Widget? w)

request focus for widget

focused

virtual override Bool focused()

return true if host windows has focus

gestureEvent

protected virtual override Void gestureEvent(GestureEvent e)

gestureFocus

Void gestureFocus(Widget w)

host

Window? host()

isFocusedWidiget

Bool isFocusedWidiget(Widget w)

isOpened

Bool isOpened()

keyEvent

virtual override Void keyEvent(KeyEvent e)

make

new make()

ctor

motionEvent

virtual override Void motionEvent(MotionEvent e)

mouseHover

Void mouseHover(Widget w)

set for dealwith mouse exit and mouse enter

name

Str name := ""

onClosing

EventListeners onClosing()

onOpened

EventListeners onOpened()

Callback function when window is opended.

onUpdate

protected Void onUpdate()

onWindowStateChange

EventListeners onWindowStateChange()

pop

Void pop()

relayout

virtual override Void relayout()

repaint

virtual override Void repaint(Rect? dirty := null)

repaint the dirty region on later

setModal

Void setModal(Int modal, Widget modalWidget)

show

Void show(Bool push := true)

Show View

styleManager

@Transient
StyleManager styleManager := StyleManager.<ctor>()

Style support

topOverlayer

WidgetGroup topOverlayer()

get or make a widget that layout top of root view

windowEvent

protected Void windowEvent(WindowEvent e)