org.gnu.gtk
public class CellRendererText extends CellRenderer
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.CellRendererText
.
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.
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 | CellRendererText.Attribute
Attributes which may be used to connect to data in a TreeModel
via methods in the TreeViewColumn object.
|
Constructor Summary | |
---|---|
CellRendererText()
Constructs a new text renderer | |
CellRendererText(Handle handle) |
Method Summary | |
---|---|
void | addListener(CellRendererTextListener listener)
Register an object to handle CellRendererText events.
|
static CellRendererText | getCellRendererText(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
Class | getEventListenerClass(String signal) |
EventType | getEventType(String signal) |
FontDescription | getFont()
Returns the font being used. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | removeListener(CellRendererTextListener listener)
Removes a listener
|
void | setAttributes(AttrList attr)
Sets the pango attributes for the renderer.
|
void | setEditable(boolean editable)
Sets whether the user may edit the text. |
void | setFont(FontDescription font)
Sets the font to use. |
void | setUnderline(Underline underline)
Sets the underline of all cells |
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 rendererDeprecated: 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
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.
Returns the font being used.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.
Removes a listenerSee Also: addListener
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.
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.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.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