|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.GObject
org.gnu.gtk.CellRenderer
org.gnu.gtk.CellRendererText
A 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 |
CellRendererText.Attribute
Attributes which may be used to connect to data in a TreeModel
via methods in the TreeViewColumn object. |
Field Summary |
Fields inherited from class org.gnu.glib.GObject |
eventsInitialized |
Constructor Summary | |
CellRendererText()
Constructs a new text renderer |
|
CellRendererText(Handle handle)
|
Method Summary | |
void |
addListener(CellRendererTextListener listener)
Register an object to handle CellRendererText events. |
protected void |
fireCellRendererTextEvent(CellRendererTextEvent event)
|
java.lang.Class |
getEventListenerClass(java.lang.String signal)
|
EventType |
getEventType(java.lang.String signal)
|
FontDescription |
getFont()
Returns the font being used. |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
protected static int |
gtk_cell_renderer_text_get_type()
|
protected static Handle |
gtk_cell_renderer_text_new()
|
protected static void |
gtk_cell_renderer_text_set_fixed_height_from_font(Handle renderer,
int numberOfRows)
|
protected static Handle |
gtk_getFont(Handle handle)
|
protected static void |
gtk_setAttributes(Handle handle,
Handle attr)
|
protected static void |
gtk_setFont(Handle handle,
Handle font)
|
protected static void |
gtk_setProperty(Handle handle,
java.lang.String property,
boolean setting)
|
protected static void |
gtk_setUnderLine(Handle handle,
int underline)
|
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CellRendererText()
public CellRendererText(Handle handle)
Method Detail |
public void setAttributes(AttrList attr)
attr
- PangoAttributeList to use.public void setFont(FontDescription font)
public FontDescription getFont()
public void setEditable(boolean editable)
public void setUnderline(Underline underline)
public void addListener(CellRendererTextListener listener)
CellRendererTextListener
public void removeListener(CellRendererTextListener listener)
addListener(CellRendererTextListener)
protected void fireCellRendererTextEvent(CellRendererTextEvent event)
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class GObject
public EventType getEventType(java.lang.String signal)
getEventType
in class GObject
public static Type getType()
protected static final int gtk_cell_renderer_text_get_type()
protected static final Handle gtk_cell_renderer_text_new()
protected static final void gtk_cell_renderer_text_set_fixed_height_from_font(Handle renderer, int numberOfRows)
protected static final void gtk_setAttributes(Handle handle, Handle attr)
protected static final void gtk_setFont(Handle handle, Handle font)
protected static final Handle gtk_getFont(Handle handle)
protected static final void gtk_setProperty(Handle handle, java.lang.String property, boolean setting)
protected static final void gtk_setUnderLine(Handle handle, int underline)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |