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.
-
FontStyleChoice()
- Constructor sets the visible style choices.
-
getStyleValue()
- Returns the current font style.
-
setStyleValue(int)
- Selects the given font style from the hashtable of
valid choices.
FontStyleChoice
public FontStyleChoice()
- Constructor sets the visible style choices.
getStyleValue
public int getStyleValue()
- Returns the current font style.
- Returns:
- the current font style
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