|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cbse.jeasy.JEObject
de.cbse.jeasy.JEComponent
de.cbse.jeasy.JEProgressBar
public class JEProgressBar
Implements a JProgressBar.
A component that visually displays the progress of some task. As the task progresses towards completion, the progress bar displays the task's percentage of completion. This percentage is typically represented visually by a rectangle which starts out empty and gradually becomes filled in as the task progresses. See a demonstration in the program JEasyExample tab "ProgressBar".
Properties :
| Field Summary | |
|---|---|
protected int |
val
|
| Fields inherited from class de.cbse.jeasy.JEComponent |
|---|
animated, backup, buttonBehind, caretPosition, component, endMarkPosition, enterPressed, isPressed, jeButtonBehind, label, labelBehind, labelText, parentId, scrollPane, tree, treeNode, window |
| Constructor Summary | |
|---|---|
JEProgressBar(JELocaleProperties hm)
Reads the properties from a HashMap |
|
JEProgressBar(JENode jen)
Constructor based on a XML file parsed to a TreeNode. |
|
| Method Summary | |
|---|---|
protected void |
init()
Initialization of the SWING objects. |
void |
setBorderPainted(boolean b)
Sets the borderPainted property, which is true if the progress bar should paint its border. |
void |
setIndeterminate(boolean newValue)
Sets the indeterminate property of the progress bar, which determines whether the progress bar is in determinate or indeterminate mode. |
void |
setMaximum(int n)
Sets the progress bar's maximum value (stored in the progress bar's data model) to n. |
void |
setMinimum(int n)
Sets the progress bar's minimum value (stored in the progress bar's data model) to n. |
void |
setString(java.lang.String s)
Sets the value of the progress string. |
void |
setStringPainted(boolean b)
Sets the value of the stringPainted property, which determines whether the progress bar should render a progress string. |
void |
setupComponent()
Set the property values to the component. |
void |
setValue(int n)
Sets the progress bar's current value to n. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int val
| Constructor Detail |
|---|
public JEProgressBar(JELocaleProperties hm)
hm - HashMappublic JEProgressBar(JENode jen)
jen - JESaxParser| Method Detail |
|---|
protected void init()
init in class JEComponentpublic void setupComponent()
setupComponent in class JEComponentpublic void setIndeterminate(boolean newValue)
newValue - public void setString(java.lang.String s)
s - public void setStringPainted(boolean b)
b - public void setBorderPainted(boolean b)
b - public void setValue(int n)
n - public void setMinimum(int n)
n - public void setMaximum(int n)
n -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||