logo

class

fwt::ContentPane

sys::Obj
  fwt::Widget
    fwt::Pane
      fwt::ContentPane

ContentPane is the base class for panes which only contain one child widget called content.

Slots

add

override This add(Widget child)

If this the first widget added, then assume it the content.

Source

content

Widget content

The content child widget.

Source

onLayout

override Void onLayout()

Handle the layout event. The method is only called Pane containers. Custom panes must override this method to set the bounds on all their children.

Source

prefSize

override Size prefSize(Hints hints := Hints.def)

Source