|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.cell.client.AbstractCell<C>
com.sencha.gxt.cell.core.client.AbstractEventCell<C>
com.sencha.gxt.cell.core.client.ResizeCell<java.lang.Double>
com.sencha.gxt.cell.core.client.ProgressBarCell
public class ProgressBarCell
| Nested Class Summary | |
|---|---|
static interface |
ProgressBarCell.ProgressBarAppearance
|
static class |
ProgressBarCell.ProgressBarAppearanceOptions
|
| Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell |
|---|
Cell.Context |
| Constructor Summary | |
|---|---|
ProgressBarCell()
|
|
ProgressBarCell(ProgressBarCell.ProgressBarAppearance appearance)
|
|
| Method Summary | |
|---|---|
ProgressBarCell.ProgressBarAppearance |
getAppearance()
Returns the progress bar appearance. |
int |
getIncrement()
Returns the bar's increment value. |
java.lang.String |
getProgressText()
Returns the progress text. |
void |
render(Cell.Context context,
java.lang.Double value,
SafeHtmlBuilder sb)
|
void |
reset(Cell.Context context,
XElement parent)
Resets the progress bar value to 0 and text to empty string. |
void |
setIncrement(int increment)
The number of progress update segments to display within the progress bar (defaults to 10). |
void |
setProgressText(java.lang.String text)
Sets the progress text to be displayed in the progress bar. |
void |
updateProgress(Cell.Context context,
XElement parent,
double value,
java.lang.String text)
Updates the progress bar value, and optionally its text. |
| Methods inherited from class com.sencha.gxt.cell.core.client.ResizeCell |
|---|
getHeight, getWidth, redrawOnResize, setHeight, setSize, setSize, setWidth |
| Methods inherited from class com.sencha.gxt.cell.core.client.AbstractEventCell |
|---|
addHandler, fireEvent, isDisableEvents, setDisableEvents |
| Methods inherited from class com.google.gwt.cell.client.AbstractCell |
|---|
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, resetFocus, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressBarCell()
public ProgressBarCell(ProgressBarCell.ProgressBarAppearance appearance)
| Method Detail |
|---|
public ProgressBarCell.ProgressBarAppearance getAppearance()
public int getIncrement()
public java.lang.String getProgressText()
public void render(Cell.Context context,
java.lang.Double value,
SafeHtmlBuilder sb)
render in interface Cell<java.lang.Double>render in class AbstractCell<java.lang.Double>
public void reset(Cell.Context context,
XElement parent)
public void setIncrement(int increment)
increment - the new incrementpublic void setProgressText(java.lang.String text)
text - the progress text
public void updateProgress(Cell.Context context,
XElement parent,
double value,
java.lang.String text)
reset(com.google.gwt.cell.client.Cell.Context, com.sencha.gxt.core.client.dom.XElement) to
clear and/or hide the control.
value - a value between 0 and 1 (e.g., .5, defaults to 0)text - the string to display in the progress text element or null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||