Package zombie.ui
Class ObjectTooltip.LayoutItem
java.lang.Object
zombie.ui.ObjectTooltip.LayoutItem
- Enclosing class:
- ObjectTooltip
public static class ObjectTooltip.LayoutItem
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
a0
float
a1
float
b0
float
b1
float
g0
float
g1
boolean
hasValue
int
height
java.lang.String
label
int
labelWidth
float
progressFraction
int
progressWidth
float
r0
float
r1
boolean
rightJustify
java.lang.String
value
int
valueWidth
int
valueWidthRight
-
Constructor Summary
Constructors Constructor Description LayoutItem()
-
Method Summary
Modifier and Type Method Description void
calcSizes()
void
render(int int1, int int2, int int3, int int4, ObjectTooltip objectTooltip)
void
reset()
void
setLabel(java.lang.String string, float float1, float float2, float float3, float float4)
void
setProgress(float float1, float float2, float float3, float float4, float float5)
void
setValue(java.lang.String string, float float1, float float2, float float3, float float4)
void
setValueRight(int int1, boolean boolean1)
void
setValueRightNoPlus(float float1)
void
setValueRightNoPlus(int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
label
public java.lang.String label -
r0
public float r0 -
g0
public float g0 -
b0
public float b0 -
a0
public float a0 -
hasValue
public boolean hasValue -
value
public java.lang.String value -
rightJustify
public boolean rightJustify -
r1
public float r1 -
g1
public float g1 -
b1
public float b1 -
a1
public float a1 -
progressFraction
public float progressFraction -
labelWidth
public int labelWidth -
valueWidth
public int valueWidth -
valueWidthRight
public int valueWidthRight -
progressWidth
public int progressWidth -
height
public int height
-
-
Constructor Details
-
LayoutItem
public LayoutItem()
-
-
Method Details
-
reset
public void reset() -
setLabel
public void setLabel(java.lang.String string, float float1, float float2, float float3, float float4) -
setValue
public void setValue(java.lang.String string, float float1, float float2, float float3, float float4) -
setValueRight
public void setValueRight(int int1, boolean boolean1) -
setValueRightNoPlus
public void setValueRightNoPlus(float float1) -
setValueRightNoPlus
public void setValueRightNoPlus(int int1) -
setProgress
public void setProgress(float float1, float float2, float float3, float float4, float float5) -
calcSizes
public void calcSizes() -
render
-