All Packages Class Hierarchy This Package Previous Next Index
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.
Class or Interface
The full class or interface name must be used.
public abstract Object[] getControls()
If no controls are supported, a zero length array is returned.
public abstract Object getControl(String controlType)
Class or Interface
The full class or interface name must be used.
If the control is not supported then null
is returned.
null.
All Packages Class Hierarchy This Package Previous Next Index