public static class

RichTextArea.FontSize

extends Object
java.lang.Object
   ↳ com.google.gwt.user.client.ui.RichTextArea.FontSize

Class Overview

Font size enumeration. Represents the seven basic HTML font sizes, as defined in CSS.

Summary

Fields
public static final RichTextArea.FontSize LARGE Represents a Large font.
public static final RichTextArea.FontSize MEDIUM Represents a Medium font.
public static final RichTextArea.FontSize SMALL Represents a Small font.
public static final RichTextArea.FontSize XX_LARGE Represents an XX-Large font.
public static final RichTextArea.FontSize XX_SMALL Represents an XX-Small font.
public static final RichTextArea.FontSize X_LARGE Represents an X-Large font.
public static final RichTextArea.FontSize X_SMALL Represents an X-Small font.
Public Methods
int getNumber()
Gets the HTML font number associated with this font size.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final RichTextArea.FontSize LARGE

Represents a Large font.

public static final RichTextArea.FontSize MEDIUM

Represents a Medium font.

public static final RichTextArea.FontSize SMALL

Represents a Small font.

public static final RichTextArea.FontSize XX_LARGE

Represents an XX-Large font.

public static final RichTextArea.FontSize XX_SMALL

Represents an XX-Small font.

public static final RichTextArea.FontSize X_LARGE

Represents an X-Large font.

public static final RichTextArea.FontSize X_SMALL

Represents an X-Small font.

Public Methods

public int getNumber ()

Gets the HTML font number associated with this font size.

Returns
  • an integer from 1 to 7 inclusive

public String toString ()