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
- doPaint
- findStyle
-
Style findStyle(Widget widget)
find the current style
- focusIt
-
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
- host
-
Window? host()
- isFocusedWidiget
- isOpened
-
Bool isOpened()
- keyEvent
- make
-
new make()
ctor
- motionEvent
-
virtual override Void motionEvent(MotionEvent e)
- mouseHover
-
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
- show
-
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)