public class AutoProgressBarCell extends ProgressBarCell
ProgressBarCell.ProgressBarAppearance, ProgressBarCell.ProgressBarAppearanceOptions
Cell.Context
Constructor and Description |
---|
AutoProgressBarCell() |
AutoProgressBarCell(ProgressBarCell.ProgressBarAppearance appearance) |
Modifier and Type | Method and Description |
---|---|
void |
auto(Cell.Context context,
XElement parent)
Initiates an auto-updating progress bar using the current duration,
increment, and interval.
|
int |
getDuration()
Returns the duration.
|
int |
getInterval()
Returns the bar's interval value.
|
boolean |
isRunning()
Returns true if the progress bar is currently in a
auto(com.google.gwt.cell.client.Cell.Context, com.sencha.gxt.core.client.dom.XElement) operation. |
void |
reset(Cell.Context context,
XElement parent)
Resets the progress bar value to 0 and text to empty string.
|
void |
setDuration(int duration)
The length of time in milliseconds that the progress bar should run before
resetting itself (defaults to DEFAULT, in which case it will run
indefinitely until reset is called)
|
void |
setInterval(int interval)
Sets the length of time in milliseconds between each progress update
(defaults to 300 ms).
|
getAppearance, getIncrement, getProgressText, render, setIncrement, setProgressText, updateProgress
getHeight, getWidth, redrawOnResize, setHeight, setSize, setSize, setWidth
addHandler, fireEvent, isDisableEvents, setDisableEvents
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, resetFocus, setValue
public AutoProgressBarCell()
public AutoProgressBarCell(ProgressBarCell.ProgressBarAppearance appearance)
public void auto(Cell.Context context, XElement parent)
public int getDuration()
public int getInterval()
public boolean isRunning()
auto(com.google.gwt.cell.client.Cell.Context, com.sencha.gxt.core.client.dom.XElement)
operation.public void reset(Cell.Context context, XElement parent)
ProgressBarCell
reset
in class ProgressBarCell
public void setDuration(int duration)
duration
- the duration in millisecondspublic void setInterval(int interval)
interval
- the interval to setCopyright © 2015. All rights reserved.