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 TypeMethodDescriptionvoid
void
void
getAngle()
getColor()
getLuaAbsolutePosition
(double arg0, double arg1) getLuaLocalPosition
(double arg0, double arg1) getLuaParentPosition
(double arg0, double arg1) getNodes()
int
getTable()
getWidth()
getX()
getY()
void
init()
boolean
boolean
boolean
boolean
boolean
isOverElement
(double arg0, double arg1) isPointOver
(double arg0, double arg1) boolean
boolean
onConsumeKeyPress
(int arg0) boolean
onConsumeKeyRelease
(int arg0) boolean
onConsumeKeyRepeat
(int arg0) boolean
onConsumeMouseButtonDown
(int arg0, double arg1, double arg2) boolean
onConsumeMouseButtonUp
(int arg0, double arg1, double arg2) onConsumeMouseMove
(double arg0, double arg1, double arg2, double arg3) onConsumeMouseWheel
(double arg0, double arg1, double arg2) void
onExtendMouseMoveOutside
(double arg0, double arg1, double arg2, double arg3) void
onMouseButtonDownOutside
(int arg0, double arg1, double arg2) void
onMouseButtonUpOutside
(int arg0, double arg1, double arg2) void
removeNode
(AtomUI arg0) void
render()
void
void
setAlwaysOnTop
(boolean arg0) void
setAngle
(double arg0) void
setBackMost
(boolean arg0) void
setColor
(double arg0, double arg1, double arg2, double arg3) void
setEnabled
(boolean arg0) void
setHeight
(double arg0) void
setHeightSilent
(double arg0) void
setParentNode
(AtomUI arg0) void
setPivotX
(double arg0) void
setPivotY
(double arg0) void
setScaleX
(double arg0) void
setScaleY
(double arg0) void
void
void
setVisible
(boolean arg0) void
setWidth
(double arg0) void
setWidthSilent
(double arg0) void
setX
(double arg0) void
setY
(double arg0) void
update()
-
Constructor Details
-
AtomUI
-
-
Method Details
-
init
public void init() -
isIgnoreLossControl
- Specified by:
isIgnoreLossControl
in interfaceUIElementInterface
-
isFollowGameWorld
- Specified by:
isFollowGameWorld
in interfaceUIElementInterface
-
isDefaultDraw
- Specified by:
isDefaultDraw
in interfaceUIElementInterface
-
render
public void render()- Specified by:
render
in interfaceUIElementInterface
-
isVisible
- Specified by:
isVisible
in interfaceUIElementInterface
-
setVisible
public void setVisible(boolean arg0) -
isCapture
- Specified by:
isCapture
in interfaceUIElementInterface
-
isModalVisible
public boolean isModalVisible()- Specified by:
isModalVisible
in interfaceUIElementInterface
-
getMaxDrawHeight
- Specified by:
getMaxDrawHeight
in interfaceUIElementInterface
-
getX
- Specified by:
getX
in interfaceUIElementInterface
-
setX
public void setX(double arg0) -
getY
- Specified by:
getY
in interfaceUIElementInterface
-
setY
public void setY(double arg0) -
getWidth
- Specified by:
getWidth
in interfaceUIElementInterface
-
setWidth
public void setWidth(double arg0) -
setWidthSilent
public void setWidthSilent(double arg0) -
getHeight
- Specified by:
getHeight
in 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:
isOverElement
in interfaceUIElementInterface
-
getParent
- Specified by:
getParent
in interfaceUIElementInterface
-
onConsumeMouseButtonDown
public boolean onConsumeMouseButtonDown(int arg0, double arg1, double arg2) - Specified by:
onConsumeMouseButtonDown
in interfaceUIElementInterface
-
onConsumeMouseButtonUp
public boolean onConsumeMouseButtonUp(int arg0, double arg1, double arg2) - Specified by:
onConsumeMouseButtonUp
in interfaceUIElementInterface
-
onMouseButtonDownOutside
public void onMouseButtonDownOutside(int arg0, double arg1, double arg2) - Specified by:
onMouseButtonDownOutside
in interfaceUIElementInterface
-
onMouseButtonUpOutside
public void onMouseButtonUpOutside(int arg0, double arg1, double arg2) - Specified by:
onMouseButtonUpOutside
in interfaceUIElementInterface
-
onConsumeMouseWheel
- Specified by:
onConsumeMouseWheel
in interfaceUIElementInterface
-
isPointOver
- Specified by:
isPointOver
in interfaceUIElementInterface
-
onConsumeMouseMove
- Specified by:
onConsumeMouseMove
in interfaceUIElementInterface
-
onExtendMouseMoveOutside
public void onExtendMouseMoveOutside(double arg0, double arg1, double arg2, double arg3) - Specified by:
onExtendMouseMoveOutside
in interfaceUIElementInterface
-
update
public void update()- Specified by:
update
in interfaceUIElementInterface
-
isMouseOver
- Specified by:
isMouseOver
in interfaceUIElementInterface
-
isWantKeyEvents
public boolean isWantKeyEvents()- Specified by:
isWantKeyEvents
in interfaceUIElementInterface
-
getRenderThisPlayerOnly
public int getRenderThisPlayerOnly()- Specified by:
getRenderThisPlayerOnly
in interfaceUIElementInterface
-
onConsumeKeyPress
public boolean onConsumeKeyPress(int arg0) - Specified by:
onConsumeKeyPress
in interfaceUIElementInterface
-
onConsumeKeyRepeat
public boolean onConsumeKeyRepeat(int arg0) - Specified by:
onConsumeKeyRepeat
in interfaceUIElementInterface
-
onConsumeKeyRelease
public boolean onConsumeKeyRelease(int arg0) - Specified by:
onConsumeKeyRelease
in interfaceUIElementInterface
-
isForceCursorVisible
public boolean isForceCursorVisible()- Specified by:
isForceCursorVisible
in 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:
isAlwaysOnTop
in interfaceUIElementInterface
-
setBackMost
public void setBackMost(boolean arg0) -
isBackMost
public boolean isBackMost()- Specified by:
isBackMost
in interfaceUIElementInterface
-
getUIName
-
setUIName
-
setStencilRect
public void setStencilRect() -
clearStencilRect
public void clearStencilRect() -
repaintStencilRect
public void repaintStencilRect()
-