org.gnu.gtk
public class CellRenderer extends GtkObject
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.CellRenderer
.
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.
The choice of data to be rendered is particular to the TreeView widget - any number of TreeView widgets may share the same data and choose to display only a selection of it. Data is displayed in a TreeView widget by attaching TreeViewColumns and packing any number of CellRenderers into each column. Links are then made between the renderers and the data in the model via the TreeViewColumn method.
This class is a base class for the renderers, either home grown or any of the following standard renderers:
For a full overview of the tree and list objects, see the TreeView description.
Nested Class Summary | |
---|---|
static class | CellRenderer.Attribute
Attributes which may be used to connect to data in a TreeModel
via methods in the TreeViewColumn object.
|
Method Summary | |
---|---|
static Type | getType()
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.
Retrieve the runtime type used by the GLib library.