Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Button
org.gnu.gnome.FontPicker
public class FontPicker
extends Button
org.gnu.gtk.FontButton
Constructor Summary | |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
Class |
|
EventType |
|
String |
|
FontPickerMode |
|
String |
|
String |
|
static Type |
|
Widget |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public FontPicker()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Creates a new font picker.
public FontPicker(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Construct a FontPicker using a handle to a native resource.
public void addListener(FontPickerListener listener)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Register an object to handle FontPicker events.
- See Also:
FontPickerListener
public void enableFontPreview(boolean enable, int size)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Enables/Disables thre rendering of the font's name in its font.
- Parameters:
enable
- True if the font name should be rendered in its font. False otherwise.size
- The font size to use when rendering the font names.
public void enableSize(boolean showSize)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Enable/Disable the display of font sizes.
- Parameters:
showSize
- True if font sizes should be shown. False otherwise.
public Class getEventListenerClass(String signal)
public EventType getEventType(String signal)
public String getFontName()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the name of the selected font.
- Returns:
- The name of the selected font.
public FontPickerMode getMode()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the mode.
- Returns:
- The mode.
public String getPreviewText()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the text showen in the preview.
- Returns:
- The text in the preview.
public String getTitle()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the title of the dialog.
- Returns:
- The title.
public static Type getType()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
public Widget getUserWidget()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the user defined widget. For use with USER_WIDGET mode.
- Returns:
- The widget.
- See Also:
getMode()
,setMode(FontPickerMode)
public void removeListener(FontPickerListener listener)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Removes a listener
- See Also:
addListener(FontPickerListener)
public void setFontName(String fontName)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the name of the font to be selected. (Select the specified font)
- Parameters:
fontName
- The name of the font to select.
public void setMode(FontPickerMode mode)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the mode.
- Parameters:
mode
- The mode.
public void setPreviewText(String text)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the text to show in the preview.
- Parameters:
text
- The text to preview.
public void setTitle(String title)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the title of the dialog.
- Parameters:
title
- The title.
public void setUserWidget(Widget widget)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the user defined widget. For use with USER_WIDGET mode.
- Parameters:
widget
- The widget.
- See Also:
getMode()
,setMode(FontPickerMode)