Package limelight.builtin.players

Source Code of limelight.builtin.players.Button

//- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
//- Limelight and all included source files are distributed under terms of the MIT License.

package limelight.builtin.players;

import limelight.ui.events.panel.PanelEvent;
import limelight.ui.model.PropPanel;
import limelight.ui.model.inputs.ButtonPanel;

public class Button
{
  private PropPanel propPanel;
  private ButtonPanel buttonPanel;

  public void install(PanelEvent event)
  {
    buttonPanel = new ButtonPanel();
    propPanel = (PropPanel)event.getRecipient();
    propPanel.add(buttonPanel);
    propPanel.getBackstage().put("button", this);
  }

  public PropPanel getPropPanel()
  {
    return propPanel;
  }

  public ButtonPanel getButtonPanel()
  {
    return buttonPanel;
  }
}
TOP

Related Classes of limelight.builtin.players.Button

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.