|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.darwinsys.swingui.ExclusiveEnableGroup
public class ExclusiveEnableGroup
Manage the "enabled" property on a group of Components, such that only one will be enabled. May malfunction if you directly invoke setEnabled() on any component. NOT THREADSAFE; use single-threadedly.
| Constructor Summary | |
|---|---|
ExclusiveEnableGroup()
|
|
| Method Summary | |
|---|---|
void |
add(java.awt.Component c)
Add the Component to the list of managed Components |
void |
enable(java.awt.Component targetComp)
Enable the given Component; this is the only way you should control enabled properties on the components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExclusiveEnableGroup()
| Method Detail |
|---|
public void add(java.awt.Component c)
public void enable(java.awt.Component targetComp)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||