public class CellRendererProgress extends CellRenderer
Constructor and Description |
---|
CellRendererProgress(CellLayout vertical)
Construct a new CellRendererPixbuf.
|
Modifier and Type | Method and Description |
---|---|
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.
|
setAlignment, setBackground, setBackground, setVisible, setWidth
public CellRendererProgress(CellLayout vertical)
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
!