Package gg.xp.xivsupport.timelines.gui
Class TimelineBarRenderer
java.lang.Object
gg.xp.xivsupport.timelines.gui.TimelineBarRenderer
- All Implemented Interfaces:
TableCellRenderer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
formatLabel
(@NotNull VisualTimelineEntry item) protected Color
getBarColor
(double percent, @NotNull VisualTimelineEntry item) getTableCellRendererComponent
(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
-
Field Details
-
defaultColorActive
-
defaultColorExpired
-
defaultColorUpcoming
-
defaultFontColor
-
-
Constructor Details
-
TimelineBarRenderer
-
-
Method Details
-
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
getTableCellRendererComponent
in interfaceTableCellRenderer
-
formatLabel
-
getBarColor
-