Interface IButtonsPanel
- All Known Implementing Classes:
AbstractPanelGroup,TabbedPanel,TreePanel
Interface for adding support to enable/disable the necessary buttons of a ButtonsPanel component.
For example, if our panel has only the accept and cancel buttons, will only need to have implemented the methods related with them. And, even, only one (the set...) of them, if, for instance, we don't need to know if a particular button is or isn't enabled.
- Version:
- 09/05/2008
- Author:
- BorSanZa - Borja Sanchez Zamorano (borja.sanchez@iver.es)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the accept button is enabled.booleanDetermines whether the apply button is enabled.booleanDetermines whether the cancel button is enabled.booleanDetermines whether the close button is enabled.booleanDetermines whether the exit button is enabled.booleanDetermines whether the hide details button is enabled.booleanDetermines whether the no button is enabled.booleanDetermines whether the pause button is enabled.booleanDetermines whether the restart button is enabled.booleanDetermines whether the save button is enabled.booleanDetermines whether the see details button is enabled.booleanDetermines whether the yes button is enabled.voidsetEnabledAcceptButton(boolean b) Enables (or disables) the accept button.voidsetEnabledApplyButton(boolean b) Enables (or disables) the apply button.voidsetEnabledCancelButton(boolean b) Enables (or disables) the cancel button.voidsetEnabledCloseButton(boolean b) Enables (or disables) the close button.voidsetEnabledExitButton(boolean b) Enables (or disables) the exit button.voidsetEnabledHideDetailsButton(boolean b) Enables (or disables) the hide details button.voidsetEnabledNoButton(boolean b) Enables (or disables) the no button.voidsetEnabledPauseButton(boolean b) Enables (or disables) the pause button.voidsetEnabledRestartButton(boolean b) Enables (or disables) the restart button.voidsetEnabledSaveButton(boolean b) Enables (or disables) the save button.voidsetEnabledSeeDetailsButton(boolean b) Enables (or disables) the see details button.voidsetEnabledYesButton(boolean b) Enables (or disables) the yes button.
-
Method Details
-
setEnabledAcceptButton
void setEnabledAcceptButton(boolean b) Enables (or disables) the accept button.
- Parameters:
b-trueto enable the accept button, otherwisefalse- See Also:
-
isEnabledAcceptButton
boolean isEnabledAcceptButton()Determines whether the accept button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the accept button is enabled,falseotherwise- See Also:
-
setEnabledCancelButton
void setEnabledCancelButton(boolean b) Enables (or disables) the cancel button.
- Parameters:
b-trueto enable the cancel button, otherwisefalse- See Also:
-
isEnabledCancelButton
boolean isEnabledCancelButton()Determines whether the cancel button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the cancel button is enabled,falseotherwise- See Also:
-
setEnabledApplyButton
void setEnabledApplyButton(boolean b) Enables (or disables) the apply button.
- Parameters:
b-trueto enable the apply button, otherwisefalse- See Also:
-
isEnabledApplyButton
boolean isEnabledApplyButton()Determines whether the apply button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the apply button is enabled,falseotherwise- See Also:
-
setEnabledYesButton
void setEnabledYesButton(boolean b) Enables (or disables) the yes button.
- Parameters:
b-trueto enable the yes button, otherwisefalse- See Also:
-
isEnabledYesButton
boolean isEnabledYesButton()Determines whether the yes button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the yes button is enabled,falseotherwise- See Also:
-
setEnabledNoButton
void setEnabledNoButton(boolean b) Enables (or disables) the no button.
- Parameters:
b-trueto enable the no button, otherwisefalse- See Also:
-
isEnabledNoButton
boolean isEnabledNoButton()Determines whether the no button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the no button is enabled,falseotherwise- See Also:
-
setEnabledCloseButton
void setEnabledCloseButton(boolean b) Enables (or disables) the close button.
- Parameters:
b-trueto enable the close button, otherwisefalse- See Also:
-
isEnabledCloseButton
boolean isEnabledCloseButton()Determines whether the close button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the close button is enabled,falseotherwise- See Also:
-
setEnabledExitButton
void setEnabledExitButton(boolean b) Enables (or disables) the exit button.
- Parameters:
b-trueto enable the exit button, otherwisefalse- See Also:
-
isEnabledExitButton
boolean isEnabledExitButton()Determines whether the exit button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the exit button is enabled,falseotherwise- See Also:
-
setEnabledSeeDetailsButton
void setEnabledSeeDetailsButton(boolean b) Enables (or disables) the see details button.
- Parameters:
b-trueto enable the see details button, otherwisefalse- See Also:
-
isEnabledSeeDetailsButton
boolean isEnabledSeeDetailsButton()Determines whether the see details button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the see details button is enabled,falseotherwise- See Also:
-
setEnabledHideDetailsButton
void setEnabledHideDetailsButton(boolean b) Enables (or disables) the hide details button.
- Parameters:
b-trueto enable the hide details button, otherwisefalse- See Also:
-
isEnabledHideDetailsButton
boolean isEnabledHideDetailsButton()Determines whether the hide details button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the hide details button is enabled,falseotherwise- See Also:
-
setEnabledPauseButton
void setEnabledPauseButton(boolean b) Enables (or disables) the pause button.
- Parameters:
b-trueto enable the pause button, otherwisefalse- See Also:
-
isEnabledPauseButton
boolean isEnabledPauseButton()Determines whether the pause button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the pause button is enabled,falseotherwise- See Also:
-
setEnabledRestartButton
void setEnabledRestartButton(boolean b) Enables (or disables) the restart button.
- Parameters:
b-trueto enable the restart button, otherwisefalse- See Also:
-
isEnabledRestartButton
boolean isEnabledRestartButton()Determines whether the restart button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the restart button is enabled,falseotherwise- See Also:
-
setEnabledSaveButton
void setEnabledSaveButton(boolean b) Enables (or disables) the save button.
- Parameters:
b-trueto enable the save button, otherwisefalse- See Also:
-
isEnabledSaveButton
boolean isEnabledSaveButton()Determines whether the save button is enabled. An enabled component can respond to user input and generate events.
- Returns:
trueif the save button is enabled,falseotherwise- See Also:
-