Package ejmf.toolkit.controls

Examples of ejmf.toolkit.controls.ActionListenerControl


     *                 An AbstractButton
     * @see    java.awt.swing.AbstractButton

     **/
    public void setStartButton(AbstractButton c) {
  ActionListenerControl control;
  control = (ActionListenerControl)
    getControl(StandardControls.START_CONTROL);

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


     * @see    java.awt.swing.AbstractButton
     * @see    java.awt.event.MouseListener
     **/

    public void setStartButton(AbstractButton c, ActionListener l) {
  ActionListenerControl control;
  control = (ActionListenerControl)
    getControl(StandardControls.START_CONTROL);

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

     * @param          c
     *                 An AbstractButton
     * @see    java.awt.swing.AbstractButton
     **/
    public void setStopButton(AbstractButton c) {
  ActionListenerControl control =
      (ActionListenerControl)getControl(StandardControls.STOP_CONTROL);
  replaceControlComponent(control.getControlComponent(), c);
  control.setComponent(c);
    }
View Full Code Here

     * @param   l An ActionListener that implements button semantics.
     * @see    java.awt.swing.AbstractButton
     * @see    java.awt.event.ActionListener
     **/
    public void setStopButton(AbstractButton c, ActionListener l) {
  ActionListenerControl control =
      (ActionListenerControl) getControl(StandardControls.STOP_CONTROL);
  replaceControlComponent(control.getControlComponent(), c);
  control.setComponentAndListener(c, l);
    }
View Full Code Here

     * @param          c
     *                 An AbstractButton
     * @see    java.awt.swing.AbstractButton
     **/
    public void setPauseButton(AbstractButton c) {
  ActionListenerControl control =
      (ActionListenerControl)getControl(StandardControls.PAUSE_CONTROL);
  replaceControlComponent(control.getControlComponent(), c);
  control.setComponent(c);
    }
View Full Code Here

     *
     * @param abstractButton An AbstractButton to affect pause.
     * @param l A ActionListener that implements button semantics.
     */
    public void setPauseButton(AbstractButton c, ActionListener l) {
  ActionListenerControl control =
      (ActionListenerControl)getControl(StandardControls.PAUSE_CONTROL);
  replaceControlComponent(control.getControlComponent(), c);
  control.setComponent(c);
    }
View Full Code Here

    /**
     * Set the control component for gain meter Control
     * @param c An AbstractButton
     */
    public void setGainMeterButton(AbstractButton c) {
  ActionListenerControl control =
      (ActionListenerControl)getControl(StandardControls.GAINMETER_CONTROL);
  replaceControlComponent(control.getControlComponent(), c);
  control.setComponent(c);
    }
View Full Code Here

     * Set the control component and listener semantics for gain meter Control
     * @param c An AbstractButton
     * @param l An ActionListener that implements Control semantics.
     */
    public void setGainMeterButton(AbstractButton c, ActionListener l) {
  ActionListenerControl control =
      (ActionListenerControl)getControl(StandardControls.GAINMETER_CONTROL);
  replaceControlComponent(control.getControlComponent(), c);
  control.setComponentAndListener(c, l);
    }
View Full Code Here

TOP

Related Classes of ejmf.toolkit.controls.ActionListenerControl

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.