public abstract class AbstractControls extends java.lang.Object implements Controls
Constructor and Description |
---|
AbstractControls() |
Modifier and Type | Method and Description |
---|---|
protected void |
addControl(Control control)
Called by subclasses of this Abstract class to add a control.
|
java.lang.Object |
getControl(java.lang.String controlType)
Retrieve the first object that implements the given Class or Interface.
|
java.lang.Object[] |
getControls()
Retrieve an array of objects that control the object.
|
protected void |
removeControl(Control control)
Remove a control object from the list of controls for this object.
|
public java.lang.Object[] getControls()
getControls
in interface Controls
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface Controls
protected void addControl(Control control)
control
- The control object to add to the controls list.protected void removeControl(Control control)
control
- the control object to remove from the list.