public class CircularProgressBar extends Control
Control.TranslucentShapeAFTER, alphaValue, appId, appObj, asContainer, asWindow, backColor, BEFORE, BOTTOM, BOTTOM_OF, BRIGHTER_BACKGROUND, callListenersOnAllTargets, CENTER, CENTER_OF, clearValueInt, clearValueStr, DARKER_BACKGROUND, DP, effect, enableUpdateScreen, esce, eventsEnabled, FILL, fillColor, FIT, floating, fm, fmH, focusHandler, focusLess, focusOnPenDown, focusTraversable, font, FONTSIZE, foreColor, height, ignoreInsets, isHighlighting, isTablet, KEEP, keepDisabled, keepEnabled, LEFT, next, nextTabControl, npParts, offscreen, offscreen0, onEventFirst, parent, PARENTSIZE, PARENTSIZEMAX, PARENTSIZEMIN, PREFERRED, prev, RANGE, repositionAllowed, RIGHT, RIGHT_OF, SAME, SCREENSIZE, SCREENSIZEMAX, SCREENSIZEMIN, setFont, setH, setRel, setW, setX, SETX_NOT_SET, setY, tempW, textShadowColor, TOP, translucentShape, transparentBackground, uiAdjustmentsBasedOnFontHeightIsSupported, uiAndroid, UICONST, uiFlat, uiHolo, uiMaterial, uiVista, visible, width, WILL_RESIZE, x, y| Constructor and Description |
|---|
CircularProgressBar(int thickness) |
CircularProgressBar(int thickness,
IconType icon) |
CircularProgressBar(int thickness,
int maxValue) |
CircularProgressBar(int thickness,
int maxValue,
IconType icon) |
CircularProgressBar(int thickness,
int maxValue,
int value) |
CircularProgressBar(int thickness,
int maxValue,
int value,
IconType icon) |
| Modifier and Type | Method and Description |
|---|---|
Icon |
getIcon() |
int |
getIconColor() |
int |
getMaxValue() |
int |
getPreferredHeight()
Returns the preferred height of this control.
|
int |
getPreferredWidth()
Returns the preferred width of this control.
|
int |
getValue() |
protected void |
onBoundsChanged(boolean screenChanged)
Called after a setRect.
|
<H extends EventHandler> |
onEvent(Event<H> event)
Called to process key, pen, control and other posted events.
|
void |
onPaint(Graphics g)
Called to draw the control.
|
void |
setIcon(Icon icon) |
void |
setIconColor(int iconColor) |
void |
setMaxValue(int maxValue) |
void |
setValue(int value) |
_onEvent, addEnabledStateListener, addFocusListener, addFontChangeHandler, addGridListener, addHandler, addHighlightListener, addKeyListener, addListContainerListener, addMouseListener, addMultiTouchListener, addPenListener, addPressListener, addPushNotificationListener, addSizeChangeHandler, addTimer, addTimer, addTimerListener, addValueChangeHandler, addWindowListener, bringToFront, changeHighlighted, clear, contains, drawTranslucentBackground, getAbsoluteRect, getBackColor, getDoEffect, getEffectH, getEffectW, getEffectX, getEffectY, getEventListeners, getFont, getForeColor, getGap, getGraphics, getHeight, getNext, getParent, getParentWindow, getPos, getPressedEvent, getPrev, getRect, getSize, getTextShadowColor, getWidth, getX, getX2, getY, getY2, hadParentScrolled, handleGeographicalFocusChangeKeys, hasFocus, internalSetEnabled, intXYWH, isActionEvent, isChildOf, isDisplayed, isEnabled, isFloating, isInsideOrNear, isObscured, isTopMost, isVisible, isVisibleAndInside, onColorsChanged, onFontChanged, onWindowPaintFinished, post, postEvent, postPressedEvent, releaseScreenShot, removeEnabledStateListener, removeFocusListener, removeGridListener, removeHandler, removeHighlightListener, removeKeyListener, removeListContainerListener, removeMouseListener, removeMultiTouchListener, removePenListener, removePressListener, removePushNotificationListener, removeTimer, removeTimerListener, removeWindowListener, repaint, repaintNow, reposition, reposition, repositionChildren, requestFocus, resetSetPositions, resetStyle, safeRepaintNow, safeUpdateScreen, sendToBack, setBackColor, setBackForeColors, setDoEffect, setEnabled, setFloating, setFocusLess, setFont, setForeColor, setNinePatch, setNinePatch, setRect, setRect, setRect, setRect, setSet, setTextShadowColor, setTranslucent, setVisible, showTip, takeInitialScreenShot, takeScreenShot, translateFromOrigin, uiStyleChanged, updateScreen, updateTemporary, willOpenKeyboardpublic CircularProgressBar(int thickness,
int maxValue,
int value,
IconType icon)
public CircularProgressBar(int thickness,
int maxValue,
IconType icon)
public CircularProgressBar(int thickness,
IconType icon)
public CircularProgressBar(int thickness,
int maxValue,
int value)
public CircularProgressBar(int thickness,
int maxValue)
public CircularProgressBar(int thickness)
public void onPaint(Graphics g)
Controlprotected void onBoundsChanged(boolean screenChanged)
ControlonBoundsChanged in class ControlscreenChanged - If the bounds were changed due to a screen change (rotation, collapse)public <H extends EventHandler> void onEvent(Event<H> event)
Controlpublic int getPreferredWidth()
ControlgetPreferredWidth in class Controlpublic int getPreferredHeight()
ControlgetPreferredHeight in class Controlpublic int getMaxValue()
public void setMaxValue(int maxValue)
public int getValue()
public void setValue(int value)
public int getIconColor()
public void setIconColor(int iconColor)
public Icon getIcon()
public void setIcon(Icon icon)