|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Control
TODO: Preliminary! Do not use! This interface describes a control that may be attached to or detached from a component. A control usually summarizes a set of listeners or input actions. A control may be enabled or disabled, offering the possibility to switch between different control modes.
Method Summary | |
---|---|
void |
attachTo(javax.swing.JComponent component)
Attach this control to the given component |
void |
detachFrom(javax.swing.JComponent component)
Detach this control from the given component |
boolean |
isEnabled()
Returns whether this control is enabled |
void |
setEnabled(boolean enabled)
Enable or disable this control |
Method Detail |
---|
void attachTo(javax.swing.JComponent component)
component
- The component to attach tovoid detachFrom(javax.swing.JComponent component)
component
- The component to detach fromvoid setEnabled(boolean enabled)
enabled
- Whether this control is enabledboolean isEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |