Package zombie.ui
Class ObjectTooltip
java.lang.Object
zombie.ui.UIElement
zombie.ui.ObjectTooltip
public class ObjectTooltip extends UIElement
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectTooltip.Layoutstatic classObjectTooltip.LayoutItem -
Field Summary
Fields Modifier and Type Field Description static floatalphaStepbooleanbIsItemInventoryItemItemIsoObjectObjectintpadBottomintpadRightFields inherited from class zombie.ui.UIElement
alwaysBack, anchorBottom, anchorLeft, anchorRight, anchorTop, bScrollChildren, bScrollWithParent, capture, clickedValue, Controls, defaultDraw, followGameWorld, height, IgnoreLossControl, Parent, playerContext, table, visible, width, x, y -
Constructor Summary
Constructors Constructor Description ObjectTooltip() -
Method Summary
Modifier and Type Method Description voidadjustWidth(int int1, java.lang.String string)ObjectTooltip.LayoutbeginLayout()static voidcheckFont()voidDrawProgressBar(int int1, int int2, int int3, int int4, float float1, double double1, double double2, double double3, double double4)voidDrawText(UIFont uIFont, java.lang.String string, double double1, double double2, double double3, double double4, double double5, double double6)voidDrawTextCentre(UIFont uIFont, java.lang.String string, double double1, double double2, double double3, double double4, double double5, double double6)voidDrawTextRight(UIFont uIFont, java.lang.String string, double double1, double double2, double double3, double double4, double double5, double double6)voidDrawTextureScaled(Texture texture, double double1, double double2, double double3, double double4, double double5)voidDrawTextureScaledAspect(Texture texture, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)voidDrawValueRight(int int1, int int2, int int3, boolean boolean1)voidDrawValueRightNoPlus(float float1, int int1, int int2)voidDrawValueRightNoPlus(int int1, int int2, int int3)voidendLayout(ObjectTooltip.Layout layout)IsoGameCharactergetCharacter()UIFontgetFont()intgetLineSpacing()TexturegetTexture()voidhide()booleanisMeasureOnly()java.lang.BooleanonMouseMove(double double1, double double2)voidonMouseMoveOutside(double double1, double double2)voidrender()voidsetCharacter(IsoGameCharacter gameCharacter)voidsetMeasureOnly(boolean boolean1)voidshow(IsoObject object, double double1, double double2)voidupdate()Methods inherited from class zombie.ui.UIElement
AddChild, backMost, bringToTop, BringToTop, ButtonClicked, clampToParentX, clampToParentY, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawText, DrawText, DrawText, DrawTextCentre, DrawTextRight, DrawTextUntrimmed, DrawTexture, DrawTexture, DrawTexture_FlippedX, DrawTexture_FlippedXIgnoreOffset, DrawTextureAngle, DrawTextureCol, DrawTextureColor, DrawTextureIgnoreOffset, DrawTextureScaledAspect2, DrawTextureScaledCol, DrawTextureScaledCol, DrawTextureScaledColor, DrawTextureScaledUniform, DrawUVSliceTexture, getAbsoluteX, getAbsoluteY, getClickedValue, getControls, getHeight, getMaxDrawHeight, getParent, getPlayerContext, getScrollChildren, getScrollHeight, getScrollWithParent, getTable, getUIName, getWidth, getX, getXScroll, getXScrolled, getY, getYScroll, getYScrolled, ignoreHeightChange, ignoreWidthChange, isAnchorBottom, isAnchorLeft, isAnchorRight, isAnchorTop, isCapture, isConsumeMouseEvents, isDefaultDraw, isEnabled, isFollowGameWorld, isIgnoreLossControl, isMouseOver, isPointOver, isVisible, onMouseDown, onMouseUp, onMouseWheel, onresize, onResize, onRightMouseDown, onRightMouseUp, RemoveChild, RemoveControl, repaintStencilRect, resumeStencil, setAlwaysOnTop, setAnchorBottom, setAnchorLeft, setAnchorRight, setAnchorTop, setCapture, setClickedValue, setConsumeMouseEvents, setControls, setDefaultDraw, setEnabled, setFollowGameWorld, setHeight, setHeightOnly, setHeightSilent, setIgnoreLossControl, setMaxDrawHeight, setParent, setPlayerContext, setScrollChildren, setScrollHeight, setScrollWithParent, setStencilRect, setTable, setUIName, setVisible, setWidth, setWidthOnly, setWidthSilent, setX, setXScroll, setY, setYScroll, suspendStencilMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
alphaStep
public static float alphaStep -
bIsItem
public boolean bIsItem -
Item
-
Object
-
padRight
public int padRight -
padBottom
public int padBottom
-
-
Constructor Details
-
ObjectTooltip
public ObjectTooltip()
-
-
Method Details
-
checkFont
public static void checkFont() -
getFont
-
getLineSpacing
public int getLineSpacing() -
DrawText
public void DrawText(UIFont uIFont, java.lang.String string, double double1, double double2, double double3, double double4, double double5, double double6) -
DrawTextCentre
public void DrawTextCentre(UIFont uIFont, java.lang.String string, double double1, double double2, double double3, double double4, double double5, double double6)- Overrides:
DrawTextCentrein classUIElement
-
DrawTextRight
public void DrawTextRight(UIFont uIFont, java.lang.String string, double double1, double double2, double double3, double double4, double double5, double double6)- Overrides:
DrawTextRightin classUIElement
-
DrawValueRight
public void DrawValueRight(int int1, int int2, int int3, boolean boolean1) -
DrawValueRightNoPlus
public void DrawValueRightNoPlus(int int1, int int2, int int3) -
DrawValueRightNoPlus
public void DrawValueRightNoPlus(float float1, int int1, int int2) -
DrawTextureScaled
public void DrawTextureScaled(Texture texture, double double1, double double2, double double3, double double4, double double5)- Overrides:
DrawTextureScaledin classUIElement
-
DrawTextureScaledAspect
public void DrawTextureScaledAspect(Texture texture, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)- Overrides:
DrawTextureScaledAspectin classUIElement
-
DrawProgressBar
public void DrawProgressBar(int int1, int int2, int int3, int int4, float float1, double double1, double double2, double double3, double double4) -
onMouseMove
public java.lang.Boolean onMouseMove(double double1, double double2)- Overrides:
onMouseMovein classUIElement
-
onMouseMoveOutside
public void onMouseMoveOutside(double double1, double double2)- Overrides:
onMouseMoveOutsidein classUIElement
-
render
public void render() -
show
-
hide
public void hide() -
update
public void update() -
adjustWidth
public void adjustWidth(int int1, java.lang.String string) -
beginLayout
-
endLayout
-
getTexture
-
setCharacter
-
getCharacter
-
setMeasureOnly
public void setMeasureOnly(boolean boolean1) -
isMeasureOnly
public boolean isMeasureOnly()
-