Class AtomUI
java.lang.Object
zombie.ui.AtomUI
- All Implemented Interfaces:
UIElementInterface
- Direct Known Subclasses:
AtomUIMap,AtomUIText,AtomUITextEntry,AtomUITexture
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidgetAngle()getColor()getLuaAbsolutePosition(double arg0, double arg1) getLuaLocalPosition(double arg0, double arg1) getLuaParentPosition(double arg0, double arg1) getNodes()intgetTable()getWidth()getX()getY()voidinit()booleanbooleanbooleanbooleanbooleanisOverElement(double arg0, double arg1) isPointOver(double arg0, double arg1) booleanbooleanonConsumeKeyPress(int arg0) booleanonConsumeKeyRelease(int arg0) booleanonConsumeKeyRepeat(int arg0) booleanonConsumeMouseButtonDown(int arg0, double arg1, double arg2) booleanonConsumeMouseButtonUp(int arg0, double arg1, double arg2) onConsumeMouseMove(double arg0, double arg1, double arg2, double arg3) onConsumeMouseWheel(double arg0, double arg1, double arg2) voidonExtendMouseMoveOutside(double arg0, double arg1, double arg2, double arg3) voidonMouseButtonDownOutside(int arg0, double arg1, double arg2) voidonMouseButtonUpOutside(int arg0, double arg1, double arg2) voidremoveNode(AtomUI arg0) voidrender()voidvoidsetAlwaysOnTop(boolean arg0) voidsetAngle(double arg0) voidsetBackMost(boolean arg0) voidsetColor(double arg0, double arg1, double arg2, double arg3) voidsetEnabled(boolean arg0) voidsetHeight(double arg0) voidsetHeightSilent(double arg0) voidsetParentNode(AtomUI arg0) voidsetPivotX(double arg0) voidsetPivotY(double arg0) voidsetScaleX(double arg0) voidsetScaleY(double arg0) voidvoidvoidsetVisible(boolean arg0) voidsetWidth(double arg0) voidsetWidthSilent(double arg0) voidsetX(double arg0) voidsetY(double arg0) voidupdate()
-
Constructor Details
-
AtomUI
-
-
Method Details
-
init
public void init() -
isIgnoreLossControl
- Specified by:
isIgnoreLossControlin interfaceUIElementInterface
-
isFollowGameWorld
- Specified by:
isFollowGameWorldin interfaceUIElementInterface
-
isDefaultDraw
- Specified by:
isDefaultDrawin interfaceUIElementInterface
-
render
public void render()- Specified by:
renderin interfaceUIElementInterface
-
isVisible
- Specified by:
isVisiblein interfaceUIElementInterface
-
setVisible
public void setVisible(boolean arg0) -
isCapture
- Specified by:
isCapturein interfaceUIElementInterface
-
isModalVisible
public boolean isModalVisible()- Specified by:
isModalVisiblein interfaceUIElementInterface
-
getMaxDrawHeight
- Specified by:
getMaxDrawHeightin interfaceUIElementInterface
-
getX
- Specified by:
getXin interfaceUIElementInterface
-
setX
public void setX(double arg0) -
getY
- Specified by:
getYin interfaceUIElementInterface
-
setY
public void setY(double arg0) -
getWidth
- Specified by:
getWidthin interfaceUIElementInterface
-
setWidth
public void setWidth(double arg0) -
setWidthSilent
public void setWidthSilent(double arg0) -
getHeight
- Specified by:
getHeightin interfaceUIElementInterface
-
setHeight
public void setHeight(double arg0) -
setHeightSilent
public void setHeightSilent(double arg0) -
bringToTop
public void bringToTop() -
isOverElement
public boolean isOverElement(double arg0, double arg1) - Specified by:
isOverElementin interfaceUIElementInterface
-
getParent
- Specified by:
getParentin interfaceUIElementInterface
-
onConsumeMouseButtonDown
public boolean onConsumeMouseButtonDown(int arg0, double arg1, double arg2) - Specified by:
onConsumeMouseButtonDownin interfaceUIElementInterface
-
onConsumeMouseButtonUp
public boolean onConsumeMouseButtonUp(int arg0, double arg1, double arg2) - Specified by:
onConsumeMouseButtonUpin interfaceUIElementInterface
-
onMouseButtonDownOutside
public void onMouseButtonDownOutside(int arg0, double arg1, double arg2) - Specified by:
onMouseButtonDownOutsidein interfaceUIElementInterface
-
onMouseButtonUpOutside
public void onMouseButtonUpOutside(int arg0, double arg1, double arg2) - Specified by:
onMouseButtonUpOutsidein interfaceUIElementInterface
-
onConsumeMouseWheel
- Specified by:
onConsumeMouseWheelin interfaceUIElementInterface
-
isPointOver
- Specified by:
isPointOverin interfaceUIElementInterface
-
onConsumeMouseMove
- Specified by:
onConsumeMouseMovein interfaceUIElementInterface
-
onExtendMouseMoveOutside
public void onExtendMouseMoveOutside(double arg0, double arg1, double arg2, double arg3) - Specified by:
onExtendMouseMoveOutsidein interfaceUIElementInterface
-
update
public void update()- Specified by:
updatein interfaceUIElementInterface
-
isMouseOver
- Specified by:
isMouseOverin interfaceUIElementInterface
-
isWantKeyEvents
public boolean isWantKeyEvents()- Specified by:
isWantKeyEventsin interfaceUIElementInterface
-
getRenderThisPlayerOnly
public int getRenderThisPlayerOnly()- Specified by:
getRenderThisPlayerOnlyin interfaceUIElementInterface
-
onConsumeKeyPress
public boolean onConsumeKeyPress(int arg0) - Specified by:
onConsumeKeyPressin interfaceUIElementInterface
-
onConsumeKeyRepeat
public boolean onConsumeKeyRepeat(int arg0) - Specified by:
onConsumeKeyRepeatin interfaceUIElementInterface
-
onConsumeKeyRelease
public boolean onConsumeKeyRelease(int arg0) - Specified by:
onConsumeKeyReleasein interfaceUIElementInterface
-
isForceCursorVisible
public boolean isForceCursorVisible()- Specified by:
isForceCursorVisiblein interfaceUIElementInterface
-
getLuaLocalPosition
-
getLuaAbsolutePosition
-
getLuaParentPosition
-
getParentNode
-
setParentNode
-
addNode
-
removeNode
-
getNodes
-
setPivotX
public void setPivotX(double arg0) -
getPivotX
-
setPivotY
public void setPivotY(double arg0) -
getPivotY
-
setAngle
public void setAngle(double arg0) -
getAngle
-
setScaleX
public void setScaleX(double arg0) -
getScaleX
-
setScaleY
public void setScaleY(double arg0) -
getScaleY
-
setColor
public void setColor(double arg0, double arg1, double arg2, double arg3) -
getColor
-
getTable
-
isEnabled
-
setEnabled
public void setEnabled(boolean arg0) -
setAlwaysOnTop
public void setAlwaysOnTop(boolean arg0) -
isAlwaysOnTop
public boolean isAlwaysOnTop()- Specified by:
isAlwaysOnTopin interfaceUIElementInterface
-
setBackMost
public void setBackMost(boolean arg0) -
isBackMost
public boolean isBackMost()- Specified by:
isBackMostin interfaceUIElementInterface
-
getUIName
-
setUIName
-
setStencilRect
public void setStencilRect() -
clearStencilRect
public void clearStencilRect() -
repaintStencilRect
public void repaintStencilRect()
-