class webfwt::Popup

sys::Obj
  fwt::Widget
    fwt::Pane
      fwt::ContentPane
        webfwt::Popup

@Js

Source

Popup displays a content widget in a popup window.

animate

Bool animate := true

Source

Animate popup open/close/resize. Must be configured before open.

attach

static Void attach(Widget w, |Event| f)

Source

Attach an "onPopup" event handler to the given widget.

close

Void close()

Source

Close this popup.

find

static Popup? find(Widget w)

Source

Find and return the first parent Popup for the given widget, or null if no parent Popup can be found.

halign

Halign halign := Halign.right

Source

Horizontal alignment of popup, using open(pos) as origin.

move

Void move(Point pos)

Source

Move popup to new point, where point is relative to parent widget passed to open.

onBeforeOpen

EventListeners onBeforeOpen()

Source

Callback function directly before popup is opened.

onClose

EventListeners onClose()

Source

Callback function when popup is closed.

onOpen

EventListeners onOpen()

Source

Callback function when popup is open.

open

This open(Widget parent, Point pos)

Source

Open this popup at the coordinates relative to the parent widget.

valign

Valign valign := Valign.bottom

Source

Vertial alignment of popup, using open(pos) as origin.