org.rcfaces.core.component.capability
Interface IFontCapability

All Known Implementing Classes:
AbstractCalendarComponent, AbstractCommandComponent, AbstractConverterCommandComponent, AbstractInputComponent, AbstractMenuComponent, AbstractSelectManyComponent, ButtonComponent, CalendarComponent, CardBoxComponent, CheckButtonComponent, ComboComponent, CustomButtonComponent, DateChooserComponent, DateEntryComponent, ExpandBarComponent, FieldSetComponent, HelpButtonComponent, HyperLinkComponent, ImageButtonComponent, ImageCheckButtonComponent, ImageComboComponent, ImagePagerButtonComponent, ImageRadioButtonComponent, ImageResetButtonComponent, ImageSubmitButtonComponent, ItemsListComponent, ItemsToolFolderComponent, ListComponent, MenuBarComponent, MessageFieldSetComponent, NumberEntryComponent, PasswordEntryComponent, ProgressBarComponent, RadioButtonComponent, ResetButtonComponent, SpinnerComponent, StyledTextComponent, SubmitButtonComponent, SuggestTextEntryComponent, TabbedPaneComponent, TabComponent, TabNamingContainerComponent, TextAreaComponent, TextComponent, TextEditorComboComponent, TextEditorComponent, TextEditorImageButtonComponent, TextEntryComponent, TimeEntryComponent, TreeComponent

public interface IFontCapability

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

Method Summary
 Boolean getFontBold()
          Returns a boolean object (or null) indicating the bold property for the specified font.
 Boolean getFontItalic()
          Returns a boolean object (or null) indicating the italic property for the specified font.
 String getFontName()
          Returns a string value indicating the name of the font used for this component.
 String getFontSize()
          Returns a string indicating the size to use for the selected font.
 Boolean getFontUnderline()
          Returns a boolean object (or null) indicating the underline property for the specified font.
 void setFontBold(Boolean bold)
          Sets a boolean object (or null) indicating the bold property for the specified font.
 void setFontItalic(Boolean italic)
          Sets a boolean object (or null) indicating the italic property for the specified font.
 void setFontName(String name)
          Sets a string value indicating the name of the font used for this component.
 void setFontSize(String size)
          Sets a string indicating the size to use for the selected font.
 void setFontUnderline(Boolean underline)
          Sets a boolean object (or null) indicating the underline property for the specified font.
 

Method Detail

getFontBold

Boolean getFontBold()
Returns a boolean object (or null) indicating the bold property for the specified font.

Returns:
True|False|null

getFontItalic

Boolean getFontItalic()
Returns a boolean object (or null) indicating the italic property for the specified font.

Returns:
True|False|null

getFontUnderline

Boolean getFontUnderline()
Returns a boolean object (or null) indicating the underline property for the specified font.

Returns:
True|False|null

getFontName

String getFontName()
Returns a string value indicating the name of the font used for this component.

Returns:
font name

getFontSize

String getFontSize()
Returns a string indicating the size to use for the selected font. (or any other CSS accepted value for font size).

Returns:
xx-small|x-small|small|medium|large|x-large|xx-large|smaller|larger|length for example 10px|%

setFontBold

void setFontBold(Boolean bold)
Sets a boolean object (or null) indicating the bold property for the specified font.

Parameters:
bold - True|False|null

setFontItalic

void setFontItalic(Boolean italic)
Sets a boolean object (or null) indicating the italic property for the specified font.

Parameters:
italic - True|False|null

setFontUnderline

void setFontUnderline(Boolean underline)
Sets a boolean object (or null) indicating the underline property for the specified font.

Parameters:
underline - True|False|null

setFontName

void setFontName(String name)
Sets a string value indicating the name of the font used for this component.

Parameters:
name - font name

setFontSize

void setFontSize(String size)
Sets a string indicating the size to use for the selected font. (or any other CSS accepted value for font size).

Parameters:
size - xx-small|x-small|small|medium|large|x-large|xx-large|smaller|larger|length for example 10px|%


Copyright © 2006-2011 Vedana. All Rights Reserved.