org.springframework.richclient.core
Interface Guarded

All Known Subinterfaces:
DialogPage, GuardedActionCommandExecutor, WizardPage
All Known Implementing Classes:
AboutBox.AboutDialog, AboutCommand, AbstractActionCommandExecutor, AbstractCommand, AbstractDialogPage, AbstractReporterForm.StateSynchronizingToggleCommand, AbstractReporterTitledApplicationDialog, AbstractSelectionDialog, AbstractWizardPage, ActionCommand, AdjustFontSizeCommand, ApplicationDialog, ApplicationWindowAwareCommand, BasicApplicationDialog, BasicConfirmationDialog, BasicInputApplicationDialog, BasicMessageDialog, BasicRegExpConstraintDialog, BasicTitledApplicationDialog, BasicWizardDialog, CascadeCommand, CommandGroup, CompositeDialogPage, ConfirmationDialog, ContactPropertiesDialog, DerivedValueModelDialog, DialogCommand, ExclusiveCommandGroup, ExitCommand, FilterListSelectionDialog, FormBackedDialogPage, FormBackedPreferencePage, FormBackedWizardPage, GenericKeyMapBindingDialog, GuardedGroup, HelpContentsCommand, HibernateExceptionHandlerCommand, InputApplicationDialog, JXErrorDialogExceptionHandlerCommand, ListSelectionBindingDialog, ListSelectionDialog, LoginCommand, LogoutCommand, MessageDialog, MessageReportingOverlay, MessagesDialogExceptionHandlerCommand, MinimizeAllCommand, NewWindowCommand, NumberConversionDialog, ParentChildFormDialog, PreferenceCommand, PreferenceDialog, PreferencePage, SetupIntroWizardPage, SetupLicenseWizardPage, SetupWizardDialog, ShowFrameCommand, ShowPageCommand, ShowPageMenu, ShowViewCommand, ShowViewMenu, ShuttleSortableTableDialog, SortTableCommand, StringLenghtConstraintDialog, TabbedDialogPage, TargetableActionCommand, TileCommand, TitleBarTimeStampCommand, TitledApplicationDialog, TitledPageApplicationDialog, ToggleCommand, ToolbarSample, TreeCompositeDialogPage, WizardDialog

public interface Guarded

Interface to be implemented by objects that can be enabled or disabled. For example, these objects will typically be user interface controls that the application will want to disable in certain contexts.

Author:
Keith Donald

Method Summary
 boolean isEnabled()
          Indicates if the object is in an enabled state.
 void setEnabled(boolean enabled)
          Sets the enabled state of the object.
 

Method Detail

isEnabled

boolean isEnabled()
Indicates if the object is in an enabled state.

Returns:
if the object is in an enabled state, otherwise.

setEnabled

void setEnabled(boolean enabled)
Sets the enabled state of the object.

Parameters:
enabled - true to enable the object, false to disable it.


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.