|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.AbstractControls
public abstract class AbstractControls
Abstract implementation of Controls, useful for subclassing.
| Constructor Summary | |
|---|---|
AbstractControls()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractControls()
| Method Detail |
|---|
public java.lang.Object[] getControls()
getControls in interface Controlspublic java.lang.Object getControl(java.lang.String controlType)
getControl in interface Controlsprotected 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||