be.yildizgames.common.util.Registerable, ContainerChild, Element, ProgressBar, Widgetpublic final class RectangleProgressBar extends BaseProgressBar
Element.AlignmentMAX_OPACITY, virtualHeightemptyZones| Constructor | Description |
|---|---|
RectangleProgressBar(String name,
BaseCoordinate coordinates,
Image border,
Image content,
int borderSize,
SimpleContainer parent) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
delete() |
Delete the widget.
|
protected void |
hideImpl() |
Implementation to set the widget invisible.
|
void |
setContentMaterial(Material mat) |
|
protected Element |
setPositionImpl(int newLeft,
int newTop) |
Implementation to update the widget position.
|
protected void |
showImpl() |
Implementation to set the widget visible.
|
protected void |
updateView(float progress) |
Update the progress bar.
|
addEmptyZoneImpl, detachFromParent, getParent, isContainer, setLeftFromParent, setLeftFromParent, setTopFromParent, setTopFromParent, setUnaffectedByZoom, updateSizeAfterZoomaddToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getOpacity, getRight, getTop, getWidth, hide, isVisible, multiplySize, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, show, updateAddPositionValuehighlightImpl, isFinished, reset, setProgress, setSizeImpladdEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseWheelListener, addOnMouseOverListener, addSpecialKeyListener, align, contains, contains, deleteKeyPressed, disableEmptyZone, enableEmptyZone, enterKeyPressed, findParent, focus, forceContainsFalse, getAbsoluteLeft, getAbsolutePosition, getAbsoluteTop, highlight, isFocusable, isMouseOver, keyPressed, mouseLeftClick, playAnimation, registerAnimation, removeAllClickListeners, setFocusable, setHighlightable, setMouseClickActive, setMouseOver, setStatic, stopAnimation, toStringdetachFromParent, getParent, setLeftFromParent, setLeftFromParent, setTopFromParent, setTopFromParent, updateAddPositionValue, updateSizeAfterZoomaddToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getRight, getTop, getWidth, hide, isVisible, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, showclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseWheelListener, addOnMouseOverListener, addSpecialKeyListener, align, contains, contains, focus, getAbsoluteLeft, getAbsoluteTop, highlight, isFocusable, playAnimation, registerAnimation, removeAllClickListeners, stopAnimationpublic RectangleProgressBar(String name, BaseCoordinate coordinates, Image border, Image content, int borderSize, SimpleContainer parent)
protected void updateView(float progress)
BaseProgressBarupdateView in class BaseProgressBarprogress - new progress value, in percent.public void delete()
BaseElementdelete in class BaseElementprotected void showImpl()
BaseElementshowImpl in class BaseElementprotected void hideImpl()
BaseElementhideImpl in class BaseElementprotected Element setPositionImpl(int newLeft, int newTop)
BaseElementsetPositionImpl in class BaseElementnewLeft - New widget x position.newTop - New widget y position.public void setContentMaterial(Material mat)
Copyright © 2014–2018. All rights reserved.