org.gnu.gtk
public class FontSelectionDialog extends Dialog
Constructor Summary | |
---|---|
FontSelectionDialog(String title)
Construct a new FontSelectionDialog object.
| |
FontSelectionDialog(Handle handle)
Construct a FontSelectionDialog using a handle to a native resource. |
Method Summary | |
---|---|
Button | getApplyButton()
Return the Apply Button widget for this Dialog.
|
Button | getCancelButton()
Return the Cancel Button widget for this dialog.
|
String | getFontName()
Gets the currently selected font name.
|
static FontSelectionDialog | getFontSelectionDialog(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
Button | getOKButton()
Return the OK Button widget for this Dialog.
|
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | setFontname(String fontName)
Sets the currently selected font.
|
void | setPreviewText(String text)
Sets the text displayed in the preview area.
|
Parameters: title The title for the dialog.
Returns: The Apply Button.
Returns: The Cancel Button.
Returns: The name of the currently selected font.
Returns: The OK Button.
Parameters: fontName The name of the font to set as the currently selected font.
Parameters: text The text to display in the preview area.