Class HpPredictedRenderer
java.lang.Object
gg.xp.xivsupport.gui.tables.renderers.ResourceBarRendererWithMovement<HitPointsWithPredicted>
gg.xp.xivsupport.gui.tables.renderers.HpPredictedRenderer
- All Implemented Interfaces:
TableCellRenderer
-
Field Summary
Fields inherited from class gg.xp.xivsupport.gui.tables.renderers.ResourceBarRendererWithMovement
bar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Color
getBarColor
(double percent, double percentChange, @NotNull HitPointsWithPredicted item) protected Color
getBorderColor
(double percent, double percentChange, @NotNull HitPointsWithPredicted item, Color originalBg) protected Color
getMovementBarColor
(double percent, double percentChange, @NotNull HitPointsWithPredicted item) Methods inherited from class gg.xp.xivsupport.gui.tables.renderers.ResourceBarRendererWithMovement
formatLabel, getTableCellRendererComponent
-
Constructor Details
-
HpPredictedRenderer
public HpPredictedRenderer()
-
-
Method Details
-
getBarColor
protected Color getBarColor(double percent, double percentChange, @NotNull @NotNull HitPointsWithPredicted item) - Specified by:
getBarColor
in classResourceBarRendererWithMovement<HitPointsWithPredicted>
-
getMovementBarColor
protected Color getMovementBarColor(double percent, double percentChange, @NotNull @NotNull HitPointsWithPredicted item) - Specified by:
getMovementBarColor
in classResourceBarRendererWithMovement<HitPointsWithPredicted>
-
getBorderColor
protected Color getBorderColor(double percent, double percentChange, @NotNull @NotNull HitPointsWithPredicted item, Color originalBg) - Specified by:
getBorderColor
in classResourceBarRendererWithMovement<HitPointsWithPredicted>
-