javax.swing.plaf

Class BorderUIResource.LineBorderUIResource

Enclosing Class:
BorderUIResource
Implemented Interfaces:
Border, Serializable, UIResource

public static class BorderUIResource.LineBorderUIResource
extends LineBorder
implements UIResource

See Also:
Serialized Form

Field Summary

Fields inherited from class javax.swing.border.LineBorder

lineColor, roundedCorners, thickness

Constructor Summary

LineBorderUIResource(Color color)
LineBorderUIResource(Color color, int thickness)

Method Summary

Methods inherited from class javax.swing.border.LineBorder

createBlackLineBorder, createGrayLineBorder, getBorderInsets, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder

Methods inherited from class javax.swing.border.AbstractBorder

getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

LineBorderUIResource

public LineBorderUIResource(Color color)
Usages and Demos :

View More Examples of LineBorderUIResource(Color color)
   1:       "ProgressBar.background", new ColorUIResource(Color.lightGray),
   2:       "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.darkGray),
   3:       "ProgressBar.cellLength", new Integer(1),
   4:         ...
   5:       "Table.focusCellForeground", new ColorUIResource(Color.black),
   6:       "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource(Color.white),
   7:       "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12),
   8:         ...
   9:       "ToolTip.background", new ColorUIResource(122, 178, 241),
  10:       "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray),
  11:       "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12),

View Full Code Here

LineBorderUIResource

public LineBorderUIResource(Color color,
                            int thickness)
Usages and Demos :

View More Examples of LineBorderUIResource(Color color,int thickness)
   1:                 fg = new ColorUIResource(SystemColor.infoText);
   2:                 border = new BorderUIResource.LineBorderUIResource(fg, 1);
   3:             }
   4:             else {
   5:                 bg = new ColorUIResource(UI.TOOL_TIP_BACKGROUND_COLOR);

View Full Code Here
   1:   {
   2:     return new BorderUIResource.LineBorderUIResource(Color.green, 2);
   3:   }
   4: 

View Full Code Here