package nxm.sys.libg;

import nxm.sys.inc.MessageHandler;

/** ***** SPLIT LIB LIBG VERSION ***

 *  @author Jeanette McCall
 *  @since NeXtMidas 4.0.0
 */
class GWidgetModSwap extends MWindow {

  public GWidgetModSwap () {};

  public GWidgetModSwap (String name, MessageHandler mh, Object parent) {
    super (name,mh,parent);
  }

  /** the widget panel this is displayed on */
  public nxm.sys.libg.WidgetPanel wp;

  /** Sets the optional widget panel for this widget.
     @param wp the WidgetPanel for this widget.
  */
  public void setWidgetPanel (WidgetPanel wp) {
   this.wp = wp;
  }

  /** Get the widget panel
   *  @return the widget panel */
  public WidgetPanel getWidgetPanel() {
    return this.wp;
  }

}
