Class CdBarRenderer
java.lang.Object
gg.xp.xivsupport.gui.tables.renderers.ResourceBarRenderer<VisualCdInfo>
gg.xp.xivsupport.events.triggers.jobs.gui.CdBarRenderer
- All Implemented Interfaces:
TableCellRenderer
-
Field Summary
Fields inherited from class gg.xp.xivsupport.gui.tables.renderers.ResourceBarRenderer
bar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
formatLabel
(@NotNull VisualCdInfo item) protected Color
getBarColor
(double percent, @NotNull VisualCdInfo item) getTableCellRendererComponent
(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) Methods inherited from class gg.xp.xivsupport.gui.tables.renderers.ResourceBarRenderer
getBorderColor
-
Constructor Details
-
CdBarRenderer
-
-
Method Details
-
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
getTableCellRendererComponent
in interfaceTableCellRenderer
- Overrides:
getTableCellRendererComponent
in classResourceBarRenderer<VisualCdInfo>
-
formatLabel
- Overrides:
formatLabel
in classResourceBarRenderer<VisualCdInfo>
-
getBarColor
- Specified by:
getBarColor
in classResourceBarRenderer<VisualCdInfo>
-