Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.CellRenderer
org.gnu.gtk.CellRendererText
public class CellRendererText
extends CellRenderer
CellRenderer
for displaying Strings.
See the TreeView
description for an overview fo the tree and list
objects.
Gtk provides many properties for this renderer. Not all of them have been
implemented in the Java-Gnome system (they're not all useful). If you have
requirements for one of them which isn't implemented, please contact us and
we may add support for it.
Nested Class Summary | |
static class |
|
Nested classes/interfaces inherited from class org.gnu.gtk.CellRenderer | |
CellRenderer.Attribute |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
static CellRendererText |
|
Class |
|
EventType |
|
FontDescription |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.gnu.gtk.CellRenderer | |
getType |
public CellRendererText()
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.
Constructs a new text renderer
public CellRendererText(Handle handle)
public void addListener(CellRendererTextListener listener)
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.
Register an object to handle CellRendererText events.
- See Also:
CellRendererTextListener
public static CellRendererText getCellRendererText(Handle handle)
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.
public Class getEventListenerClass(String signal)
public EventType getEventType(String signal)
public FontDescription getFont()
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.
Returns the font being used.
public static Type getType()
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.
- Overrides:
- getType in interface CellRenderer
public void removeListener(CellRendererTextListener listener)
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.
Removes a listener
public void setAttributes(AttrList attr)
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 pango attributes for the renderer.
- Parameters:
attr
- PangoAttributeList to use.
public void setEditable(boolean editable)
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 whether the user may edit the text.
public void setFont(FontDescription 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 font to use.
public void setUnderline(Underline underline)
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 underline of all cells