public interface Controls
Controls provides an interface for
obtaining objects by interface or class name.
This is useful in the case where support for a particular
interface cannot be determined at runtime, or where a
different object is required to implement the behavior.
The object returned from getControl
is assumed to control the object that
getControl was invoked on.| Modifier and Type | Method and Description |
|---|---|
Object |
getControl(String controlType)
Obtain the object that implements the specified
Class or Interface
The full class or interface name must be used. |
Object[] |
getControls()
Obtain the collection of objects that
control the object that implements this interface.
|
Object[] getControls()
If no controls are supported, a zero length array is returned.
Copyright © 2012 code4tv.com. All Rights Reserved.