public interface IButtonsPanel
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.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabledAcceptButton()
Determines whether the accept button is enabled.
|
boolean |
isEnabledApplyButton()
Determines whether the apply button is enabled.
|
boolean |
isEnabledCancelButton()
Determines whether the cancel button is enabled.
|
boolean |
isEnabledCloseButton()
Determines whether the close button is enabled.
|
boolean |
isEnabledExitButton()
Determines whether the exit button is enabled.
|
boolean |
isEnabledHideDetailsButton()
Determines whether the hide details button is enabled.
|
boolean |
isEnabledNoButton()
Determines whether the no button is enabled.
|
boolean |
isEnabledPauseButton()
Determines whether the pause button is enabled.
|
boolean |
isEnabledRestartButton()
Determines whether the restart button is enabled.
|
boolean |
isEnabledSaveButton()
Determines whether the save button is enabled.
|
boolean |
isEnabledSeeDetailsButton()
Determines whether the see details button is enabled.
|
boolean |
isEnabledYesButton()
Determines whether the yes button is enabled.
|
void |
setEnabledAcceptButton(boolean b)
Enables (or disables) the accept button.
|
void |
setEnabledApplyButton(boolean b)
Enables (or disables) the apply button.
|
void |
setEnabledCancelButton(boolean b)
Enables (or disables) the cancel button.
|
void |
setEnabledCloseButton(boolean b)
Enables (or disables) the close button.
|
void |
setEnabledExitButton(boolean b)
Enables (or disables) the exit button.
|
void |
setEnabledHideDetailsButton(boolean b)
Enables (or disables) the hide details button.
|
void |
setEnabledNoButton(boolean b)
Enables (or disables) the no button.
|
void |
setEnabledPauseButton(boolean b)
Enables (or disables) the pause button.
|
void |
setEnabledRestartButton(boolean b)
Enables (or disables) the restart button.
|
void |
setEnabledSaveButton(boolean b)
Enables (or disables) the save button.
|
void |
setEnabledSeeDetailsButton(boolean b)
Enables (or disables) the see details button.
|
void |
setEnabledYesButton(boolean b)
Enables (or disables) the yes button.
|
void setEnabledAcceptButton(boolean b)
Enables (or disables) the accept button.
b - true to enable the accept button, otherwise falseisEnabledAcceptButton()boolean isEnabledAcceptButton()
Determines whether the accept button is enabled. An enabled component can respond to user input and generate events.
true if the accept button is enabled, false otherwisesetEnabledAcceptButton(boolean)void setEnabledCancelButton(boolean b)
Enables (or disables) the cancel button.
b - true to enable the cancel button, otherwise falseisEnabledCancelButton()boolean isEnabledCancelButton()
Determines whether the cancel button is enabled. An enabled component can respond to user input and generate events.
true if the cancel button is enabled, false otherwisesetEnabledCancelButton(boolean)void setEnabledApplyButton(boolean b)
Enables (or disables) the apply button.
b - true to enable the apply button, otherwise falseisEnabledApplyButton()boolean isEnabledApplyButton()
Determines whether the apply button is enabled. An enabled component can respond to user input and generate events.
true if the apply button is enabled, false otherwisesetEnabledApplyButton(boolean)void setEnabledYesButton(boolean b)
Enables (or disables) the yes button.
b - true to enable the yes button, otherwise falseisEnabledYesButton()boolean isEnabledYesButton()
Determines whether the yes button is enabled. An enabled component can respond to user input and generate events.
true if the yes button is enabled, false otherwisesetEnabledYesButton(boolean)void setEnabledNoButton(boolean b)
Enables (or disables) the no button.
b - true to enable the no button, otherwise falseisEnabledNoButton()boolean isEnabledNoButton()
Determines whether the no button is enabled. An enabled component can respond to user input and generate events.
true if the no button is enabled, false otherwisesetEnabledNoButton(boolean)void setEnabledCloseButton(boolean b)
Enables (or disables) the close button.
b - true to enable the close button, otherwise falseisEnabledCloseButton()boolean isEnabledCloseButton()
Determines whether the close button is enabled. An enabled component can respond to user input and generate events.
true if the close button is enabled, false otherwisesetEnabledCloseButton(boolean)void setEnabledExitButton(boolean b)
Enables (or disables) the exit button.
b - true to enable the exit button, otherwise falseisEnabledExitButton()boolean isEnabledExitButton()
Determines whether the exit button is enabled. An enabled component can respond to user input and generate events.
true if the exit button is enabled, false otherwisesetEnabledExitButton(boolean)void setEnabledSeeDetailsButton(boolean b)
Enables (or disables) the see details button.
b - true to enable the see details button, otherwise falseisEnabledSeeDetailsButton()boolean isEnabledSeeDetailsButton()
Determines whether the see details button is enabled. An enabled component can respond to user input and generate events.
true if the see details button is enabled, false otherwisesetEnabledSeeDetailsButton(boolean)void setEnabledHideDetailsButton(boolean b)
Enables (or disables) the hide details button.
b - true to enable the hide details button, otherwise falseisEnabledHideDetailsButton()boolean isEnabledHideDetailsButton()
Determines whether the hide details button is enabled. An enabled component can respond to user input and generate events.
true if the hide details button is enabled, false otherwisesetEnabledHideDetailsButton(boolean)void setEnabledPauseButton(boolean b)
Enables (or disables) the pause button.
b - true to enable the pause button, otherwise falseisEnabledPauseButton()boolean isEnabledPauseButton()
Determines whether the pause button is enabled. An enabled component can respond to user input and generate events.
true if the pause button is enabled, false otherwisesetEnabledPauseButton(boolean)void setEnabledRestartButton(boolean b)
Enables (or disables) the restart button.
b - true to enable the restart button, otherwise falseisEnabledRestartButton()boolean isEnabledRestartButton()
Determines whether the restart button is enabled. An enabled component can respond to user input and generate events.
true if the restart button is enabled, false otherwisesetEnabledRestartButton(boolean)void setEnabledSaveButton(boolean b)
Enables (or disables) the save button.
b - true to enable the save button, otherwise falseisEnabledSaveButton()boolean isEnabledSaveButton()
Determines whether the save button is enabled. An enabled component can respond to user input and generate events.
true if the save button is enabled, false otherwisesetEnabledSaveButton(boolean)