Interface IButtonsPanel

All Known Implementing Classes:
AbstractPanelGroup, TabbedPanel, TreePanel

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.

Version:
09/05/2008
Author:
BorSanZa - Borja Sanchez Zamorano (borja.sanchez@iver.es)
  • Method Details

    • setEnabledAcceptButton

      void setEnabledAcceptButton(boolean b)

      Enables (or disables) the accept button.

      Parameters:
      b - true to enable the accept button, otherwise false
      See Also:
    • isEnabledAcceptButton

      boolean isEnabledAcceptButton()

      Determines whether the accept button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the accept button is enabled, false otherwise
      See Also:
    • setEnabledCancelButton

      void setEnabledCancelButton(boolean b)

      Enables (or disables) the cancel button.

      Parameters:
      b - true to enable the cancel button, otherwise false
      See Also:
    • isEnabledCancelButton

      boolean isEnabledCancelButton()

      Determines whether the cancel button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the cancel button is enabled, false otherwise
      See Also:
    • setEnabledApplyButton

      void setEnabledApplyButton(boolean b)

      Enables (or disables) the apply button.

      Parameters:
      b - true to enable the apply button, otherwise false
      See Also:
    • isEnabledApplyButton

      boolean isEnabledApplyButton()

      Determines whether the apply button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the apply button is enabled, false otherwise
      See Also:
    • setEnabledYesButton

      void setEnabledYesButton(boolean b)

      Enables (or disables) the yes button.

      Parameters:
      b - true to enable the yes button, otherwise false
      See Also:
    • isEnabledYesButton

      boolean isEnabledYesButton()

      Determines whether the yes button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the yes button is enabled, false otherwise
      See Also:
    • setEnabledNoButton

      void setEnabledNoButton(boolean b)

      Enables (or disables) the no button.

      Parameters:
      b - true to enable the no button, otherwise false
      See Also:
    • isEnabledNoButton

      boolean isEnabledNoButton()

      Determines whether the no button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the no button is enabled, false otherwise
      See Also:
    • setEnabledCloseButton

      void setEnabledCloseButton(boolean b)

      Enables (or disables) the close button.

      Parameters:
      b - true to enable the close button, otherwise false
      See Also:
    • isEnabledCloseButton

      boolean isEnabledCloseButton()

      Determines whether the close button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the close button is enabled, false otherwise
      See Also:
    • setEnabledExitButton

      void setEnabledExitButton(boolean b)

      Enables (or disables) the exit button.

      Parameters:
      b - true to enable the exit button, otherwise false
      See Also:
    • isEnabledExitButton

      boolean isEnabledExitButton()

      Determines whether the exit button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the exit button is enabled, false otherwise
      See Also:
    • setEnabledSeeDetailsButton

      void setEnabledSeeDetailsButton(boolean b)

      Enables (or disables) the see details button.

      Parameters:
      b - true to enable the see details button, otherwise false
      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:
      true if the see details button is enabled, false otherwise
      See Also:
    • setEnabledHideDetailsButton

      void setEnabledHideDetailsButton(boolean b)

      Enables (or disables) the hide details button.

      Parameters:
      b - true to enable the hide details button, otherwise false
      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:
      true if the hide details button is enabled, false otherwise
      See Also:
    • setEnabledPauseButton

      void setEnabledPauseButton(boolean b)

      Enables (or disables) the pause button.

      Parameters:
      b - true to enable the pause button, otherwise false
      See Also:
    • isEnabledPauseButton

      boolean isEnabledPauseButton()

      Determines whether the pause button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the pause button is enabled, false otherwise
      See Also:
    • setEnabledRestartButton

      void setEnabledRestartButton(boolean b)

      Enables (or disables) the restart button.

      Parameters:
      b - true to enable the restart button, otherwise false
      See Also:
    • isEnabledRestartButton

      boolean isEnabledRestartButton()

      Determines whether the restart button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the restart button is enabled, false otherwise
      See Also:
    • setEnabledSaveButton

      void setEnabledSaveButton(boolean b)

      Enables (or disables) the save button.

      Parameters:
      b - true to enable the save button, otherwise false
      See Also:
    • isEnabledSaveButton

      boolean isEnabledSaveButton()

      Determines whether the save button is enabled. An enabled component can respond to user input and generate events.

      Returns:
      true if the save button is enabled, false otherwise
      See Also: