Public Member Functions | |
| ProgressBar () | |
| ProgressBar (float initialvalue) | |
| void | paintComponent (Graphics graphics) |
| float | getValue () |
| void | setValue (float newvalue) |
| Font | getFont () |
| void | setFont (Font newfont) |
| Color | getFillColour () |
| void | setFillColour (Color newfillcolour) |
| Color | getTextColour1 () |
| void | setTextColour1 (Color newtextcolour) |
| Color | getTextColour2 () |
| void | setTextColour2 (Color newtextcolour) |
| ValueFormatter | getValueFormatter () |
| void | setValueFormatter (ValueFormatter newformatter) |
Private Attributes | |
| float | value |
| Font | font |
| Color | fillcolour |
| Color | textcolour1 |
| Color | textcolour2 |
| ValueFormatter | formatter |
Static Private Attributes | |
| static final Dimension | PREFERRED_SIZE = new Dimension(128, 24) |
| tit.gui.widget.progressbar.ProgressBar.ProgressBar | ( | ) |
Constructs a new ProgressBar
| tit.gui.widget.progressbar.ProgressBar.ProgressBar | ( | float | initialvalue | ) |
Constructs a new ProgressBar.
| initialvalue | The progress bar's initial value. |
| void tit.gui.widget.progressbar.ProgressBar.paintComponent | ( | Graphics | graphics | ) |
Paints this component.
| graphics | The Graphics on which this component is painted. |
| float tit.gui.widget.progressbar.ProgressBar.getValue | ( | ) |
Returns this progress bar's value.
| void tit.gui.widget.progressbar.ProgressBar.setValue | ( | float | newvalue | ) |
Sets this progress bar's value.
| newvalue | The new value. |
| Font tit.gui.widget.progressbar.ProgressBar.getFont | ( | ) |
Returns this progress bar's font.
| void tit.gui.widget.progressbar.ProgressBar.setFont | ( | Font | newfont | ) |
Sets this progress bar's font.
| newfont | The new font. |
| Color tit.gui.widget.progressbar.ProgressBar.getFillColour | ( | ) |
Returns this progress bar's fill colour.
| void tit.gui.widget.progressbar.ProgressBar.setFillColour | ( | Color | newfillcolour | ) |
Sets this progress bar's fill colour.
| newfillcolour | The new fill colour. |
| Color tit.gui.widget.progressbar.ProgressBar.getTextColour1 | ( | ) |
Returns this progress bar's text colour for the unfilled part.
| void tit.gui.widget.progressbar.ProgressBar.setTextColour1 | ( | Color | newtextcolour | ) |
Sets this progress bar's text colour for the unfilled part.
| newtextcolour | The new text colour for the unfilled part. |
| Color tit.gui.widget.progressbar.ProgressBar.getTextColour2 | ( | ) |
Returns this progress bar's text colour for the filled part.
| void tit.gui.widget.progressbar.ProgressBar.setTextColour2 | ( | Color | newtextcolour | ) |
Sets this progress bar's text colour for the filled part.
| newtextcolour | The new text colour for the filled part. |
| ValueFormatter tit.gui.widget.progressbar.ProgressBar.getValueFormatter | ( | ) |
Returns this progress bar's value formatter.
| void tit.gui.widget.progressbar.ProgressBar.setValueFormatter | ( | ValueFormatter | newformatter | ) |
Sets this progress bar's value formatter.
| newformatter | The new value formatter. |
final Dimension tit.gui.widget.progressbar.ProgressBar.PREFERRED_SIZE = new Dimension(128, 24) [static, private] |
This progress bar's preferred size.
float tit.gui.widget.progressbar.ProgressBar.value [private] |
This progress bar's value, muslt lie between 0 and 1.
Font tit.gui.widget.progressbar.ProgressBar.font [private] |
This progress bar's font.
Color tit.gui.widget.progressbar.ProgressBar.fillcolour [private] |
This progress bar's fill colour.
Color tit.gui.widget.progressbar.ProgressBar.textcolour1 [private] |
This progress bar's text colour for the unfilled part.
Color tit.gui.widget.progressbar.ProgressBar.textcolour2 [private] |
This progress bar's text colour for the filled part.
This progress bar's value formatter.
1.5.1