|
java-gnome version 4.0.15 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
Objectorg.freedesktop.bindings.Pointer
org.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Object
org.gnome.gtk.CellRenderer
org.gnome.gtk.CellRendererProgress
public class CellRendererProgress
Renderer a progress indicator similar to a ProgressBar in a TreeViewColumn.
| Constructor Summary | |
|---|---|
CellRendererProgress(TreeViewColumn vertical)
Construct a new CellRendererPixbuf. |
|
| Method Summary | |
|---|---|
void |
setText(DataColumnString column)
Indicate the DataColumn containing the plain text to render on the progress indicator. |
void |
setValue(DataColumnInteger column)
Indicate the DataColumn containing the percentage complete to show in the indicator. |
| Methods inherited from class org.gnome.gtk.CellRenderer |
|---|
setAlignment, setBackground, setBackground, setVisible |
| Methods inherited from class org.freedesktop.bindings.Pointer |
|---|
toString |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CellRendererProgress(TreeViewColumn vertical)
| Method Detail |
|---|
public void setText(DataColumnString column)
setText().
public void setValue(DataColumnInteger column)
Percentage complete is expressed in the range of 0 to
100.
Note that for some reason this was not implemented in GTK like
ProgressBar's fraction property, where percentage complete
is expressed as a double between 0.0 and 1.0
!
|
![]() java-gnome |
||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||