Methods Summary |
---|
public void | addControlChangeListener(com.sun.media.controls.ControlChangeListener ccl)Adds a listener that should be informed if any state of this control
changes.
|
public boolean | getEnabled()Returns the enabled/disabled state of the control.
|
public javax.media.Control | getParent()Returns the control group to which this control belongs, if any. Otherwise
it returns null.
|
public java.lang.String | getTip() Sun specific - Returns the description string for this control.
|
public boolean | getVisible()Returns true if this control is available on the control panel. ???
|
public boolean | isDefault()Returns true if this control is available on the default control
panel returned for the player in question.
|
public boolean | isReadOnly()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 void | removeControlChangeListener(com.sun.media.controls.ControlChangeListener ccl)Remove an already added listener. Does nothing if the listener was not
previously added.
|
public void | setEnabled(boolean enabled)Set the enabled/disabled state of the control. Can be useful to
temporarily gray out a control due to some constraints.
|
public void | setTip(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 void | setVisible(boolean visible)Specify whether this control should be available on the control panel.
???
|