public class TLcdMouseOverGroup extends Object
ButtonGroup
. As an extra feature you can
configure this class to keep components always enabled. This can be dynamically chosen at
runtime.Constructor and Description |
---|
TLcdMouseOverGroup(boolean aAlwaysEnabled)
The constructor for a TLcdMouseOverGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Component aComponent)
This method adds a
Component to this TLcdMouseOverGroup . |
boolean |
isAlwaysEnabled()
Returns the value of the always enabled flag.
|
void |
remove(Component aComponent)
This method removes a
Component from this TLcdMouseOverGroup . |
void |
setAlwaysEnabled(boolean aAlwaysEnabled)
This method sets the always enabled flag.
|
public TLcdMouseOverGroup(boolean aAlwaysEnabled)
aAlwaysEnabled
- a flag indicating whether or not elements of this group should ever be disabled.
When true, components added to this group will be enabled by default, and will
not be disabled based on received MouseEvents.public void add(Component aComponent)
Component
to this TLcdMouseOverGroup
.aComponent
- The Component to be added.public void remove(Component aComponent)
Component
from this TLcdMouseOverGroup
.aComponent
- The Component to be removed.public boolean isAlwaysEnabled()
setAlwaysEnabled(boolean)
public void setAlwaysEnabled(boolean aAlwaysEnabled)
aAlwaysEnabled
- sets the always enabled flag to the passed value.