FileDocCategorySizeDatePackage
AtomicControl.javaAPI DocJMF 2.1.1e2229Mon May 12 12:20:56 BST 2003com.sun.media.controls

AtomicControl

public interface AtomicControl implements Control
Some stuff that could be common to all controls. ???

Fields Summary
Constructors Summary
Methods Summary
public voidaddControlChangeListener(com.sun.media.controls.ControlChangeListener ccl)
Adds a listener that should be informed if any state of this control changes.

public booleangetEnabled()
Returns the enabled/disabled state of the control.

public javax.media.ControlgetParent()
Returns the control group to which this control belongs, if any. Otherwise it returns null.

public java.lang.StringgetTip()
Sun specific - Returns the description string for this control.

public booleangetVisible()
Returns true if this control is available on the control panel. ???

public booleanisDefault()
Returns true if this control is available on the default control panel returned for the player in question.

public booleanisReadOnly()
Returns true if the control is a read-only control and no value can be set on it. For example, progress controls that display status information will mostly be read-only.

public voidremoveControlChangeListener(com.sun.media.controls.ControlChangeListener ccl)
Remove an already added listener. Does nothing if the listener was not previously added.

public voidsetEnabled(boolean enabled)
Set the enabled/disabled state of the control. Can be useful to temporarily gray out a control due to some constraints.

public voidsetTip(java.lang.String tip)
Sun specific - Sets the description string for this control. Should be short since it will be displayed as a tool tip when the mouse hovers over the control for a few seconds.

public voidsetVisible(boolean visible)
Specify whether this control should be available on the control panel. ???