Package ejmf.toolkit.controls

Examples of ejmf.toolkit.controls.AbstractListenerControl


     * of the control panel.
     *
     * @see  ejmf.toolkit.BasicControlPanel
     */
    public void addComponents(int flags)  {
  AbstractListenerControl c;
  String name;

  c = getControl(StandardControls.START_CONTROL);
  if ((c != null) && ((flags & USE_START_CONTROL) != 0))
      add(c.getControlComponent());

  c = getControl(StandardControls.PAUSE_CONTROL);
  if ((c != null) && ((flags & USE_PAUSE_CONTROL) != 0))
      add(c.getControlComponent());

  c = getControl(StandardControls.FF_CONTROL);
        if ((c != null) && ((flags & USE_FF_CONTROL) != 0))
      add(c.getControlComponent());

  c = getControl(StandardControls.PROGRESS_CONTROL);
  if ((c != null) && ((flags & USE_PROGRESS_CONTROL) != 0))
      add(c.getControlComponent());

  c = getControl(StandardControls.REVERSE_CONTROL);
  if ((c != null) && ((flags & USE_REVERSE_CONTROL) != 0) && c.isOperational())
      add(c.getControlComponent());

  c = getControl(StandardControls.STOP_CONTROL);
  if ((c != null) && (flags & USE_STOP_CONTROL) != 0)
      add(c.getControlComponent());

  c = getControl(StandardControls.GAIN_CONTROL);
  if ((c != null) && ((flags & USE_GAIN_CONTROL) != 0) && c.isOperational())
      add(c.getControlComponent());

  c = getControl(StandardControls.GAINMETER_CONTROL);
  if ((c != null) && ((flags & USE_GAINMETER_CONTROL) != 0) && c.isOperational())
      add(c.getControlComponent());
    }
View Full Code Here


  */


    protected void makeControls()
    {
  AbstractListenerControl c;

  c = fastForwardControl = createFastForwardControl();
  addControl(FF_CONTROL, fastForwardControl);

        c = reverseControl = createReverseControl();
View Full Code Here

      */
    private void setControlsPlayer(Player player) {
  Controller c = (Controller) player;
  Enumeration e = controlTable.elements();
        while (e.hasMoreElements()) {
      AbstractListenerControl alc =
    (AbstractListenerControl) e.nextElement();
      alc.setController(c);
  }
    }
View Full Code Here

TOP

Related Classes of ejmf.toolkit.controls.AbstractListenerControl

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.