API Reference 0.3.24dart_web_toolkit_uiOrpahExceptionCommand

OrpahExceptionCommand class

class OrpahExceptionCommand implements AttachCommand {

 Panel _panel;

 OrpahExceptionCommand(this._panel);

 /**
  * The singleton command used to attach widgets.
  */
 void execute(Widget w) {
   _panel.orphan(w);
 }
}

Implements

AttachCommand

Constructors

new OrpahExceptionCommand(Panel _panel) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
OrpahExceptionCommand(this._panel);

Methods

void execute(Widget w) #

The singleton command used to attach widgets.

void execute(Widget w) {
 _panel.orphan(w);
}