org.rcfaces.core.component.capability
Interface IForegroundBackgroundColorCapability

All Known Implementing Classes:
AbstractBasicComponent, AbstractCalendarComponent, AbstractCommandComponent, AbstractConverterCommandComponent, AbstractDataComponent, AbstractGridComponent, AbstractInputComponent, AbstractMenuComponent, AbstractMessageComponent, AbstractMessagesComponent, AbstractOutputComponent, AbstractSelectManyComponent, AdditionalInformationComponent, BoxComponent, ButtonComponent, CalendarComponent, CardBoxComponent, CardComponent, CheckButtonComponent, ComboColumnComponent, ComboComponent, ComboGridComponent, ComponentsColumnComponent, ComponentsGridComponent, ComponentsListComponent, CustomButtonComponent, DataColumnComponent, DataGridComponent, DateChooserComponent, DateEntryComponent, ExpandableItemComponent, ExpandBarComponent, ExternalBoxComponent, FieldSetComponent, HelpButtonComponent, HyperLinkComponent, ImageButtonComponent, ImageCheckButtonComponent, ImageComboComponent, ImageComponent, ImagePagerButtonComponent, ImageRadioButtonComponent, ImageResetButtonComponent, ImageSubmitButtonComponent, ItemsListComponent, ItemsToolFolderComponent, KeyEntryComponent, KeyLabelComponent, ListComponent, MenuBarComponent, MenuCheckItemComponent, MenuItemComponent, MenuRadioItemComponent, MessageComponent, MessageFieldSetComponent, MessagesComponent, NumberEntryComponent, PagerComponent, PasswordEntryComponent, ProgressBarComponent, RadioButtonComponent, ResetButtonComponent, RulerComponent, SchedulerColumnComponent, SpinnerComponent, StyledMessageComponent, StyledTextComponent, SubmitButtonComponent, SuggestTextEntryComponent, TabbedPaneComponent, TabComponent, TabNamingContainerComponent, TextAreaComponent, TextComponent, TextEditorComboComponent, TextEditorComponent, TextEditorImageButtonComponent, TextEditorToolFolderComponent, TextEntryComponent, TimeEntryComponent, ToolBarComponent, ToolFolderComponent, TreeComponent, TreeNodeComponent

public interface IForegroundBackgroundColorCapability

Foreground et background colors.

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

Method Summary
 String getBackgroundColor()
          Returns the receiver's background color.
 String getForegroundColor()
          Returns the foreground color that the receiver will use to draw.
 void setBackgroundColor(String color)
          Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.
 void setForegroundColor(String color)
          Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.
 

Method Detail

getBackgroundColor

String getBackgroundColor()
Returns the receiver's background color.

Returns:
the background color

setBackgroundColor

void setBackgroundColor(String color)
Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.

Parameters:
color - background color

getForegroundColor

String getForegroundColor()
Returns the foreground color that the receiver will use to draw.

Returns:
the receiver's foreground color

setForegroundColor

void setForegroundColor(String color)
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.

Parameters:
color - foreground color


Copyright © 2006-2011 Vedana. All Rights Reserved.