org.rcfaces.core.component.capability
Interface IDisabledCapability

All Known Subinterfaces:
IImageButtonFamilly
All Known Implementing Classes:
AbstractCalendarComponent, AbstractCommandComponent, AbstractConverterCommandComponent, AbstractInputComponent, AbstractItemComponent, AbstractMenuComponent, AbstractSelectManyComponent, ButtonComponent, CalendarComponent, CardBoxComponent, CheckButtonComponent, ComboComponent, ComboGridComponent, CustomButtonComponent, DataGridComponent, DateChooserComponent, DateEntryComponent, DateItemComponent, ExpandableItemComponent, ExpandBarComponent, HelpButtonComponent, HyperLinkComponent, ImageButtonComponent, ImageCheckButtonComponent, ImageComboComponent, ImagePagerButtonComponent, ImageRadioButtonComponent, ImageResetButtonComponent, ImageSubmitButtonComponent, ItemsListComponent, ItemsToolFolderComponent, KeyEntryComponent, ListComponent, MenuBarComponent, MenuCheckItemComponent, MenuItemComponent, MenuRadioItemComponent, NumberEntryComponent, PasswordEntryComponent, ProgressBarComponent, RadioButtonComponent, ResetButtonComponent, SelectItemComponent, SpinnerComponent, SubmitButtonComponent, SuggestTextEntryComponent, TabbedPaneComponent, TabComponent, TabNamingContainerComponent, TextAreaComponent, TextEditorComboComponent, TextEditorComponent, TextEditorImageButtonComponent, TextEntryComponent, TimeEntryComponent, ToolItemComponent, TreeComponent, TreeNodeComponent, UIImageItemComponent

public interface IDisabledCapability

Enable/Disabled state.

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Method Summary
 boolean isDisabled()
          Returns false if the receiver is enabled and all ancestors up to and including the receiver's nearest ancestor shell are enabled.
 void setDisabled(boolean disabled)
          Disabled the receiver if the argument is true, and enables it otherwise.
 

Method Detail

isDisabled

boolean isDisabled()
Returns false if the receiver is enabled and all ancestors up to and including the receiver's nearest ancestor shell are enabled.
Otherwise, false is returned. A disabled control is typically not selectable from the user interface and draws with an inactive or "grayed" look.

Returns:
the receiver's enabled state

setDisabled

void setDisabled(boolean disabled)
Disabled the receiver if the argument is true, and enables it otherwise. A disabled control is typically not selectable from the user interface and draws with an inactive or "grayed" look.

Parameters:
disabled - the new enabled state


Copyright © 2006-2011 Vedana. All Rights Reserved.