Package net.sf.fmj.ejmf.toolkit.gui.controls

Examples of net.sf.fmj.ejmf.toolkit.gui.controls.StandardGainControl


     * Set the control component for gain Control
     * @param c an AbstractGainButtonPanel
     * @see net.sf.fmj.ejmf.toolkit.gui.controls.AbstractGainButtonPanel
     */
    public void setGainButtonPanel(AbstractGainButtonPanel c) {
  StandardGainControl control =
      (StandardGainControl)getControl(StandardControls.GAIN_CONTROL);

  replaceControlComponent(control.getControlComponent(), c);
  control.setComponent(c);
    }
View Full Code Here


     * @param c an AbstractGainButtonPanel
     * @param l An ActionListener that implements Control semantics.
     */
    public void setGainButtonPanel(AbstractGainButtonPanel c,
           ActionListener l) {
  StandardGainControl control =
      (StandardGainControl)getControl(StandardControls.GAIN_CONTROL);

  replaceControlComponent(control.getControlComponent(), c);
  control.setComponentAndListener(c, l);
    }
View Full Code Here

    * Subclasses should over-ride this to customize the
    * the gain increase/decrease control.
  * @return AbstractListenerControl for gain control operation
    */
  protected final AbstractListenerControl createGainControl(Skin skin) {
    return new StandardGainControl(skin);
  }
View Full Code Here

TOP

Related Classes of net.sf.fmj.ejmf.toolkit.gui.controls.StandardGainControl

Copyright © 2018 www.massapicom. 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.