org.gnu.gtk

Class CellRendererText.Attribute

Enclosing Class:
CellRendererText

public static class CellRendererText.Attribute
extends CellRenderer.Attribute

Attributes which may be used to connect to data in a TreeModel via methods in the TreeViewColumn object.

Note that these should usually be set to PANGO constants.

Field Summary

static CellRendererText.Attribute
ATTRIBUTES
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.
static CellRendererText.Attribute
BACKGROUND
(String) Background color
static CellRendererText.Attribute
BACKGROUND_GDK
(gdk.Color) Background color
static CellRendererText.Attribute
EDITABLE
(boolean) Whether the text can be modified by the user
static CellRendererText.Attribute
FONT
(String) Font description as a string
static CellRendererText.Attribute
FONT_FAMILY
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.
static CellRendererText.Attribute
FOREGROUND
(String) Foreground color
static CellRendererText.Attribute
FOREGROUND_GDK
(gdk.Color) Foreground color
static CellRendererText.Attribute
MARKUP
(String) Marked up text to render
static CellRendererText.Attribute
RISE
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.
static CellRendererText.Attribute
SCALE
(double) Font scaling factor
static CellRendererText.Attribute
SIZE
(int) Font Size
static CellRendererText.Attribute
STRIKETHROUGH
(boolean) Whether to strike through the text
static CellRendererText.Attribute
TEXT
(String) Text to render
static CellRendererText.Attribute
UNDERLINE
(pango.Underline) Style of underline for this text
static CellRendererText.Attribute
WEIGHT
(Int) Font Weight (see pango.Weight)

Fields inherited from class org.gnu.gtk.CellRenderer.Attribute

CELL_BACKGROUND, CELL_BACKGROUND_GDK, CELL_BACKGROUND_SET, HEIGHT, IS_EXPANDED, IS_EXPANDER, MODE, SENSITIVE, VISIBLE, WIDTH, XALIGN, XPAD, YALIGN, YPAD

Method Summary

Methods inherited from class org.gnu.gtk.CellRendererAttribute

toString

Field Details

ATTRIBUTES

public static final CellRendererText.Attribute ATTRIBUTES

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.

(pango.AttrList) A list of style attributes to apply to the text of the renderer

BACKGROUND

public static final CellRendererText.Attribute BACKGROUND
(String) Background color

BACKGROUND_GDK

public static final CellRendererText.Attribute BACKGROUND_GDK
(gdk.Color) Background color

EDITABLE

public static final CellRendererText.Attribute EDITABLE
(boolean) Whether the text can be modified by the user

FONT

public static final CellRendererText.Attribute FONT
(String) Font description as a string

FONT_FAMILY

public static final CellRendererText.Attribute FONT_FAMILY

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.

(String) Name of the font family, e.g. Sans, Helvetica, Times, Monospace

FOREGROUND

public static final CellRendererText.Attribute FOREGROUND
(String) Foreground color

FOREGROUND_GDK

public static final CellRendererText.Attribute FOREGROUND_GDK
(gdk.Color) Foreground color

MARKUP

public static final CellRendererText.Attribute MARKUP
(String) Marked up text to render

RISE

public static final CellRendererText.Attribute RISE

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.

(int) Offset of text above the baseline (below the baseline if rise is negative)

SCALE

public static final CellRendererText.Attribute SCALE
(double) Font scaling factor

SIZE

public static final CellRendererText.Attribute SIZE
(int) Font Size

STRIKETHROUGH

public static final CellRendererText.Attribute STRIKETHROUGH
(boolean) Whether to strike through the text

TEXT

public static final CellRendererText.Attribute TEXT
(String) Text to render

UNDERLINE

public static final CellRendererText.Attribute UNDERLINE
(pango.Underline) Style of underline for this text

WEIGHT

public static final CellRendererText.Attribute WEIGHT
(Int) Font Weight (see pango.Weight)