|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.alchemist.utils.AlchemistComponentSet
public class AlchemistComponentSet
| Constructor Summary | |
|---|---|
AlchemistComponentSet()
Creates a new AlchemistComponentSet The components in this set will be initialized as visible and enabled |
|
AlchemistComponentSet(boolean enabled)
Creates a new AlchemistComponentSet The components in this set will be initialized as visible, and will be enabled depending on parameter |
|
AlchemistComponentSet(boolean enabled,
boolean visible)
Creates a new AlchemistComponentSet The components in this set will be initialized as given in parameters |
|
| Method Summary | |
|---|---|
void |
addComponent(java.awt.Component component)
Adds a component to the set |
java.util.Collection |
getComponents()
Returns an immutable collection of elements in set |
boolean |
isEnabled()
Returns true if components in set are enabled |
boolean |
isVisible()
Returns true if components in set are visible |
boolean |
removeComponent(java.awt.Component component)
Removes a component from the set |
void |
setEnabled(boolean enabled)
Sets all components in set enabled |
void |
setVisible(boolean visible)
Sets all components in set visible |
int |
size()
Returns the number of components in the set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlchemistComponentSet()
public AlchemistComponentSet(boolean enabled)
enabled - is the initial enabled status of components
public AlchemistComponentSet(boolean enabled,
boolean visible)
enabled - is the initial enabled status of componentsvisible - is the initial visibility status of components| Method Detail |
|---|
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - public boolean isVisible()
public void setVisible(boolean visible)
visible - public void addComponent(java.awt.Component component)
component - is the component to be addedpublic boolean removeComponent(java.awt.Component component)
component - is the component to be removed
public java.util.Collection getComponents()
public int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||