Methods Summary |
---|
public static javax.swing.border.Border | getButtonBorder()Returns a border instance for a JButton
if (buttonBorder == null) {
buttonBorder = new BorderUIResource.CompoundBorderUIResource(
new MetalBorders.ButtonBorder(),
new BasicBorders.MarginBorder());
}
return buttonBorder;
|
public static javax.swing.border.Border | getDesktopIconBorder()Returns a border instance for a Desktop Icon
return new BorderUIResource.CompoundBorderUIResource(
new LineBorder(MetalLookAndFeel.getControlDarkShadow(), 1),
new MatteBorder (2,2,1,2, MetalLookAndFeel.getControl()));
|
public static javax.swing.border.Border | getTextBorder()Returns a border instance for a text component
if (textBorder == null) {
textBorder = new BorderUIResource.CompoundBorderUIResource(
new MetalBorders.Flush3DBorder(),
new BasicBorders.MarginBorder());
}
return textBorder;
|
public static javax.swing.border.Border | getTextFieldBorder()Returns a border instance for a JTextField
if (textFieldBorder == null) {
textFieldBorder = new BorderUIResource.CompoundBorderUIResource(
new MetalBorders.TextFieldBorder(),
new BasicBorders.MarginBorder());
}
return textFieldBorder;
|
public static javax.swing.border.Border | getToggleButtonBorder()Returns a border instance for a JToggleButton
if (toggleButtonBorder == null) {
toggleButtonBorder = new BorderUIResource.CompoundBorderUIResource(
new MetalBorders.ToggleButtonBorder(),
new BasicBorders.MarginBorder());
}
return toggleButtonBorder;
|
static javax.swing.border.Border | getToolBarNonrolloverBorder()
if (MetalLookAndFeel.usingOcean()) {
new CompoundBorder(
new MetalBorders.ButtonBorder(),
new MetalBorders.RolloverMarginBorder());
}
return new CompoundBorder(new MetalBorders.ButtonBorder(),
new MetalBorders.RolloverMarginBorder());
|
static javax.swing.border.Border | getToolBarRolloverBorder()
if (MetalLookAndFeel.usingOcean()) {
return new CompoundBorder(
new MetalBorders.ButtonBorder(),
new MetalBorders.RolloverMarginBorder());
}
return new CompoundBorder(new MetalBorders.RolloverButtonBorder(),
new MetalBorders.RolloverMarginBorder());
|