|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchrriis.uihierarchy.Accessor
An accessor to access and manipulate the hierarchy.
Method Summary | |
void |
forceEnabled()
Force the components to be enabled. |
void |
forceHEnabled()
Force the hierarchy of components to be enabled. |
Component[] |
getComponents()
Get the components at these hierarchy levels. |
boolean |
getEnabledState()
Indicate if the components are maybe enabled, considering all the disabling IDs in effect. |
boolean |
isEnabled()
Indicate if the components are maybe enabled, using -1 as the default disabling ID. |
boolean |
isEnabled(int id)
Indicate if the components or hierarchy of components are/is maybe enabled with regard to a specific ID. |
boolean |
isHEnabled()
Indicate if the hierarchy of components are maybe enabled, using -1 as the default disabling ID. |
boolean |
isVisible()
Indicate if the components of the levels may be visible. |
void |
remove()
Remove the manipulated levels from their hierarchy. |
Object[] |
run(AccessorRunnable accessorRunnable)
Run an action on all the components of the levels of this accessor. |
Object[] |
runTraversing(AccessorRunnable accessorRunnable)
Run an action on all the components of the levels of this accessor, and their sub hierarchies. |
void |
setEnabled(boolean isEnabled)
Set whether the components are enabled, using the default disabling ID of 1. |
void |
setEnabled(boolean isEnabled,
int id)
Set whether the components are enabled with regard to the disabling ID. |
void |
setHEnabled(boolean isHEnabled)
Set whether the hierarchy is enabled. |
void |
setHEnabled(boolean isHEnabled,
int id)
Set whether the hierarchy is enabled. |
void |
setVisible(boolean isVisible)
Set the visibility of the manipulated levels. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Component[] getComponents()
public void forceEnabled()
public void forceHEnabled()
public void setEnabled(boolean isEnabled)
isEnabled
- True if the component is to be enabled.public void setEnabled(boolean isEnabled, int id)
isEnabled
- True if the component is to be enabled.id
- The disabling ID.public void setHEnabled(boolean isHEnabled)
setEnabled
method on the
sub-levels recursively, using the default disabling ID of -1.
isHEnabled
- True if the hierarchy is to be enabled.public void setHEnabled(boolean isHEnabled, int id)
setEnabled
method on the
sub-levels recursively.
isHEnabled
- True if the hierarchy is to be enabled.id
- The disabling ID.public boolean isEnabled()
public boolean isHEnabled()
public boolean getEnabledState()
public boolean isEnabled(int id)
id
- The disabling ID.
public void setVisible(boolean isVisible)
isVisible
- True if the levels should be shown.public boolean isVisible()
public Object[] runTraversing(AccessorRunnable accessorRunnable)
accessorRunnable
- The action to run.
public Object[] run(AccessorRunnable accessorRunnable)
accessorRunnable
- The action to run.
public void remove()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |