|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
echopoint.internal.AbstractContainer
echopoint.ProgressBar
echopoint.tucana.ProgressBar
public class ProgressBar
A custom progress bar component with default styles to use with the file upload component.
Note: Similar to the ProgressBar super-class,
this component requires fixed size width and height. Percentage based
values will lead to display issues with the progress bar.
Note: Development of this component was sponsored by TCN Broadcasting. We are grateful for their support and sponsorship.
| Field Summary | |
|---|---|
static String |
PROPERTY_PATTERN
The pattern to use to display the text message in the bar. |
| Fields inherited from class echopoint.ProgressBar |
|---|
PROPERTY_BAR_BACKGROUND, PROPERTY_PERCENTAGE, PROPERTY_TEXT |
| Fields inherited from class echopoint.internal.AbstractContainer |
|---|
ACTION_COMMAND_PROPERTY, ACTION_LISTENERS_CHANGED_PROPERTY, INPUT_ACTION, PROPERTY_ALIGNMENT, PROPERTY_BACKGROUND_IMAGE, PROPERTY_BORDER, PROPERTY_HEIGHT, PROPERTY_INSETS, PROPERTY_WIDTH |
| Constructor Summary | |
|---|---|
ProgressBar()
Create a default styled progress bar. |
|
| Method Summary | |
|---|---|
String |
getPattern()
Return the value of the PROPERTY_PATTERN property. |
void |
setPattern(String pattern)
Set the value of the PROPERTY_PATTERN property. |
| Methods inherited from class echopoint.ProgressBar |
|---|
getBarBackground, getPercentage, getText, setBarBackground, setPercentage, setText |
| Methods inherited from class echopoint.internal.AbstractContainer |
|---|
addActionListener, fireActionPerformed, getAlignment, getBackgroundImage, getBorder, getHeight, getInsets, getWidth, hasActionListeners, removeActionListener, setAlignment, setBackgroundImage, setBorder, setHeight, setInsets, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_PATTERN
#bytes# - This encoded value will be replaced by
the actual kilo bytes that have been transferred so far.#length# - This encoded value will be replaced
by actual size of the file being uploaded.#percent# - This encoded value will be replaced
by the upload completion ratio.#rate# - This encoded value will be replaced
by the rate at which kilo bytes are being uploaded per second.#time# - This encoded value will be replaced
by the estimated time (in seconds) for completion of the upload.Uploaded #bytes# of #length#Kb at #rate#...
This property may be styled.
| Constructor Detail |
|---|
public ProgressBar()
| Method Detail |
|---|
public String getPattern()
PROPERTY_PATTERN property.
public void setPattern(String pattern)
PROPERTY_PATTERN property. See the
property notes for list of encoded values that may be specified in the
pattern.
pattern - The pattern to use to display the text.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||