|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcage.utility.ComponentLogicalGroup
public class ComponentLogicalGroup
Class that groups a set of Component
s in a logical group. Actions
such as setVisible and setEnabled
Constructor Summary | |
---|---|
ComponentLogicalGroup()
Constructs an empty ComponentLogicalGroup object. |
Method Summary | |
---|---|
boolean |
addComponent(java.awt.Component c)
Adds the specified component to this group. |
boolean |
removeComponent(java.awt.Component c)
Removes the specified component from this group. |
void |
setEnabled(boolean enabled)
Enables or disables the components in this group depending on the value of parameter enabled . |
void |
setVisible(boolean visible)
Shows or hides the components in this group depending on the value of parameter visible . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentLogicalGroup()
ComponentLogicalGroup
object.
Method Detail |
---|
public boolean addComponent(java.awt.Component c)
c
- the component to be added to this group
public boolean removeComponent(java.awt.Component c)
c
- the component to be removed from this group
public void setVisible(boolean visible)
visible
.
visible
- if true
, shows the components
in this group; otherwise, hides thempublic void setEnabled(boolean enabled)
enabled
.
enabled
- if true
, enables the components
in this group; otherwise, disables them
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |