All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.FontStyleChoice

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.ContainerGadget
                   |
                   +----dtai.gwt.PanelGadget
                           |
                           +----dtai.gwt.BorderGadget
                                   |
                                   +----dtai.gwt.ComboBoxGadget
                                           |
                                           +----dtai.gwt.ChoiceGadget
                                                   |
                                                   +----dtai.gwt.FontStyleChoice

public class FontStyleChoice
extends ChoiceGadget
The FontStyleChoice class provides bold and italic font styles, maintained in a hashtable.


Constructor Index

 o FontStyleChoice()
Constructor sets the visible style choices.

Method Index

 o getStyleValue()
Returns the current font style.
 o setStyleValue(int)
Selects the given font style from the hashtable of valid choices.

Constructors

 o FontStyleChoice
 public FontStyleChoice()
Constructor sets the visible style choices.

Methods

 o getStyleValue
 public int getStyleValue()
Returns the current font style.

Returns:
the current font style
 o setStyleValue
 public void setStyleValue(int newFontStyle)
Selects the given font style from the hashtable of valid choices.

Parameters:
newFontStyle - the chosen font style

All Packages  Class Hierarchy  This Package  Previous  Next  Index