public interface AtomicControl extends Control
| Modifier and Type | Method and Description |
|---|---|
void |
addControlChangeListener(ControlChangeListener ccl)
Adds a listener that should be informed if any state of this control
changes.
|
boolean |
getEnabled()
Returns the enabled/disabled state of the control.
|
Control |
getParent()
Returns the control group to which this control belongs, if any.
|
String |
getTip()
Sun specific - Returns the description string for this control.
|
boolean |
getVisible()
Returns true if this control is visible on the control panel.
|
boolean |
isDefault()
Returns true if this control is available on the default control
panel returned for the player in question.
|
boolean |
isReadOnly()
Returns true if the control is a read-only control and no value can
be set on it.
|
void |
removeControlChangeListener(ControlChangeListener ccl)
Remove an already added listener.
|
void |
setEnabled(boolean enabled)
Set the enabled/disabled state of the control.
|
void |
setTip(String tip)
Sun specific -
Sets the description string for this control.
|
void |
setVisible(boolean visible)
Specify whether this control should be available on the control panel.
|
getControlComponentboolean isDefault()
void setVisible(boolean visible)
visible - if true, the control is visibleboolean getVisible()
void setEnabled(boolean enabled)
enabled - if true, the control is enabledboolean getEnabled()
Control getParent()
void addControlChangeListener(ControlChangeListener ccl)
ccl - listener to be addedvoid removeControlChangeListener(ControlChangeListener ccl)
listener - to be removedboolean isReadOnly()
String getTip()
void setTip(String tip)
Copyright © 2012 code4tv.com. All Rights Reserved.