mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
Styling: support styling for recently merged changes
This commit is contained in:
@@ -139,6 +139,12 @@ public class FlatTableHeaderBorder
|
||||
}
|
||||
|
||||
protected boolean hideTrailingVerticalLine( JTableHeader header ) {
|
||||
if( header.getUI() instanceof FlatTableHeaderUI ) {
|
||||
FlatTableHeaderUI ui = (FlatTableHeaderUI) header.getUI();
|
||||
if( ui.showTrailingVerticalLine )
|
||||
return false;
|
||||
}
|
||||
|
||||
if( showTrailingVerticalLine )
|
||||
return false;
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ public class FlatTableHeaderUI
|
||||
// for FlatTableHeaderBorder
|
||||
@Styleable protected Insets cellMargins;
|
||||
@Styleable protected Color separatorColor;
|
||||
/** @since 2 */ @Styleable protected boolean showTrailingVerticalLine;
|
||||
|
||||
// for FlatAscendingSortIcon and FlatDescendingSortIcon
|
||||
// (needs to be public because icon classes are in another package)
|
||||
|
||||
@@ -98,7 +98,7 @@ public class FlatTableUI
|
||||
{
|
||||
protected boolean showHorizontalLines;
|
||||
protected boolean showVerticalLines;
|
||||
/** @since 1.6 */ protected boolean showTrailingVerticalLine;
|
||||
/** @since 1.6 */ @Styleable protected boolean showTrailingVerticalLine;
|
||||
protected Dimension intercellSpacing;
|
||||
|
||||
@Styleable protected Color selectionBackground;
|
||||
|
||||
Reference in New Issue
Block a user