Package org.omegat.util.gui
Class DataTableStyling
java.lang.Object
org.omegat.util.gui.DataTableStyling
A collection of styling constants and helper methods for use with JTables.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classDataTableStyling.FancyRenderer<T extends JComponent>static class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyColors(JTable table) static voidstatic TableCellRendererstatic TableCellRenderergetPatternHighlightRenderer(boolean lineWrapEnabled) static TableCellRenderer
-
Field Details
-
COLOR_STANDARD_FG
-
COLOR_STANDARD_BG
-
COLOR_SELECTION_FG
-
COLOR_SELECTION_BG
-
COLOR_ALTERNATING_HILITE
-
TABLE_FOCUS_BORDER
-
TABLE_NO_FOCUS_BORDER
-
NUMBER_FORMAT
-
FONT_NO_CHANGE
public static final int FONT_NO_CHANGE- See Also:
-
LINE_SPACING
public static final int LINE_SPACING- See Also:
-
-
Method Details
-
applyColors
-
applyFont
-
getPatternHighlightRenderer
public static DataTableStyling.PatternHighlightRenderer getPatternHighlightRenderer(boolean lineWrapEnabled) -
getNumberCellRenderer
-
getTextCellRenderer
-
getHeaderTextCellRenderer
-