be.yildizgames.common.util.Registerable, ContainerChild, Image, Element, Widgetpublic final class EmptyRectangleImage extends BaseContainerChild implements Image
Element.AlignmentMAX_OPACITY, virtualHeightemptyZones| Constructor | Description |
|---|---|
EmptyRectangleImage(String name,
BaseCoordinate coordinates,
AbstractIconElement left,
AbstractIconElement top,
AbstractIconElement right,
AbstractIconElement bottom,
SimpleContainer container) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
delete() |
Delete the widget.
|
int |
getBorderSize() |
|
Material |
getMaterial() |
|
protected void |
hideImpl() |
Implementation to set the widget invisible.
|
protected void |
highlightImpl(boolean highlightState) |
Implementation to set the widget highlight.
|
void |
setMaterial(Material m) |
Set the image material.
|
protected Element |
setPositionImpl(int newLeft,
int newTop) |
Implementation to update the widget position.
|
protected void |
setSizeImpl(int newWidth,
int newHeight) |
Implementation to set the widget size.
|
protected void |
showImpl() |
Implementation to set the widget visible.
|
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, updateAddPositionValueaddEmptyZone, 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, showforceContainsFalse, multiplySizeclone, 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 EmptyRectangleImage(String name, BaseCoordinate coordinates, AbstractIconElement left, AbstractIconElement top, AbstractIconElement right, AbstractIconElement bottom, SimpleContainer container)
protected void highlightImpl(boolean highlightState)
BaseWidgethighlightImpl in class BaseWidgethighlightState - Highlight state.public void delete()
BaseElementdelete in interface Imagedelete in class BaseElementprotected void showImpl()
BaseElementshowImpl in class BaseElementprotected void hideImpl()
BaseElementhideImpl in class BaseElementprotected void setSizeImpl(int newWidth,
int newHeight)
BaseElementsetSizeImpl in class BaseElementnewWidth - New width.newHeight - New height.protected Element setPositionImpl(int newLeft, int newTop)
BaseElementsetPositionImpl in class BaseElementnewLeft - New widget x position.newTop - New widget y position.public Material getMaterial()
getMaterial in interface Imagepublic void setMaterial(Material m)
ImagesetMaterial in interface Imagem - Material to set.public int getBorderSize()
getBorderSize in interface ImageCopyright © 2014–2018. All rights reserved.