org.gnu.gtk
public class FontSelectionDialog extends Dialog
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.FontSelectionDialog
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
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.
|
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a new FontSelectionDialog object.Parameters: title The title for the dialog.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a FontSelectionDialog using a handle to a native resource.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the Apply Button widget for this Dialog.Returns: The Apply Button.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the Cancel Button widget for this dialog.Returns: The Cancel Button.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the currently selected font name.Returns: The name of the currently selected font.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the OK Button widget for this Dialog.Returns: The OK Button.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the currently selected font.Parameters: fontName The name of the font to set as the currently selected font.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the text displayed in the preview area.Parameters: text The text to display in the preview area.