Methods Summary |
---|
public static javax.swing.border.Border | getFocusCellHighlightBorder()Returns an new instance of a border used to indicate which cell item
has focus.
return new ComplementDashedBorder();
|
public static javax.swing.border.Border | getInternalFrameBorder()
UIDefaults table = UIManager.getLookAndFeelDefaults();
Border internalFrameBorder = new
BorderUIResource.CompoundBorderUIResource(
BorderFactory.createBevelBorder(BevelBorder.RAISED,
table.getColor("InternalFrame.borderColor"),
table.getColor("InternalFrame.borderHighlight"),
table.getColor("InternalFrame.borderDarkShadow"),
table.getColor("InternalFrame.borderShadow")),
new WindowsBorders.InternalFrameLineBorder(
table.getColor("InternalFrame.activeBorderColor"),
table.getColor("InternalFrame.inactiveBorderColor"),
table.getInt("InternalFrame.borderWidth")));
return internalFrameBorder;
|
public static javax.swing.border.Border | getProgressBarBorder()Returns a border instance for a Windows Progress Bar
UIDefaults table = UIManager.getLookAndFeelDefaults();
Border progressBarBorder = new BorderUIResource.CompoundBorderUIResource(
new WindowsBorders.ProgressBarBorder(
table.getColor("ProgressBar.shadow"),
table.getColor("ProgressBar.highlight")),
new EmptyBorder(1,1,1,1)
);
return progressBarBorder;
|
public static javax.swing.border.Border | getTableHeaderBorder()
UIDefaults table = UIManager.getLookAndFeelDefaults();
Border tableHeaderBorder = new BorderUIResource.CompoundBorderUIResource(
new BasicBorders.ButtonBorder(
table.getColor("Table.shadow"),
table.getColor("Table.darkShadow"),
table.getColor("Table.light"),
table.getColor("Table.highlight")),
new BasicBorders.MarginBorder());
return tableHeaderBorder;
|
public static javax.swing.border.Border | getToolBarBorder()Returns a border instance for a Windows ToolBar
UIDefaults table = UIManager.getLookAndFeelDefaults();
Border toolBarBorder = new WindowsBorders.ToolBarBorder(
table.getColor("ToolBar.shadow"),
table.getColor("ToolBar.highlight"));
return toolBarBorder;
|