Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.control
Class ControlsAdapter

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.control.AbstractControls
      extended by net.java.sip.communicator.impl.neomedia.control.ControlsAdapter
All Implemented Interfaces:
javax.media.Controls
Direct Known Subclasses:
AbstractRenderer, AlsaStream, AudioLevelEffect, AudioMixerPushBufferStream, AudioMixingPushBufferStream

public class ControlsAdapter
extends AbstractControls

Provides a default implementation of Controls which does not expose any controls.

Author:
Lubomir Marinov

Field Summary
static Object[] EMPTY_CONTROLS
          The constant which represents an empty array of controls.
 
Constructor Summary
ControlsAdapter()
           
 
Method Summary
 Object[] getControls()
          Implements Controls.getControls().
 
Methods inherited from class net.java.sip.communicator.impl.neomedia.control.AbstractControls
getControl, getControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_CONTROLS

public static final Object[] EMPTY_CONTROLS
The constant which represents an empty array of controls. Explicitly defined in order to avoid unnecessary allocations.

Constructor Detail

ControlsAdapter

public ControlsAdapter()
Method Detail

getControls

public Object[] getControls()
Implements Controls.getControls(). Gets the controls available for the owner of this instance. The current implementation returns an empty array because it has no available controls.

Returns:
an array of Objects which represent the controls available for the owner of this instance

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.