Fan

 

abstract class

webapp::Pane

sys::Obj
  web::Weblet
    webapp::Widget
      webapp::Pane

@collection

Pane is a Widget designed to contain child Widgets.

See docLib::WebWidget

Slots

addSource

virtual This add(Widget? child)

Add a child widget. If child is null, then do nothing. Return this.

childrenSource

Widget[] children()

Get the children widgets.

eachSource

Void each(|Widget, Int| f)

Iterate the children widgets.

removeSource

virtual This remove(Widget? child)

Remove a child widget. If child is null, then do nothing. If this widget is not the child's current parent throw ArgErr. Return this.

removeAllSource

virtual This removeAll()

Remove all child widgets. Return this.