public abstract class AbstractControls extends Object implements javax.media.Controls
Controls.getControls().| Constructor and Description |
|---|
AbstractControls() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getControl(javax.media.Controls controlsImpl,
String controlType)
Gets the control of a specific Controls implementation of a
specific type if such a control is made available through
Controls.getControls(); otherwise, returns null. |
Object |
getControl(String controlType)
Implements
Controls.getControl(String). |
static <T> T |
queryInterface(javax.media.Controls controlsImpl,
Class<T> controlType)
Returns an instance of a specific Class which is either a
control of a specific Controls implementation or the
Controls implementation itself if it is an instance of the
specified Class.
|
static Object |
queryInterface(javax.media.Controls controlsImpl,
String controlType)
Returns an instance of a specific Class which is either a
control of a specific Controls implementation or the
Controls implementation itself if it is an instance of the
specified Class.
|
public Object getControl(String controlType)
Controls.getControl(String). Invokes
Controls.getControls() and then looks for a control of the specified type
in the returned array of controls.getControl in interface javax.media.ControlscontrolType - a String value naming the type of the control
of this instance to be retrievedpublic static Object getControl(javax.media.Controls controlsImpl, String controlType)
Controls.getControls(); otherwise, returns null.controlsImpl - the implementation of Controls which is to
be queried for its list of controls so that the control of the specified
type can be looked forcontrolType - a String value which names the type of the
control to be retrievedpublic static <T> T queryInterface(javax.media.Controls controlsImpl,
Class<T> controlType)
getControl(Controls, String) in querying the specified
Controls implementation about a control of the specified
Class but is different in looking at the type hierarchy of the
Controls implementation for the specified Class.controlsImpl - the Controls implementation to querycontrolType - the runtime type of the instance to be returnedpublic static Object queryInterface(javax.media.Controls controlsImpl, String controlType)
getControl(Controls, String) in querying the specified
Controls implementation about a control of the specified
Class but is different in looking at the type hierarchy of the
Controls implementation for the specified Class.controlsImpl - the Controls implementation to querycontrolType - the runtime type of the instance to be returnedCopyright © 2022 jitsi.org. All rights reserved.