org.universAAL.ui.gui.swing.bluesteelLAF.support
Class ColorBorder

Package class diagram package ColorBorder
java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by org.universAAL.ui.gui.swing.bluesteelLAF.support.ColorBorder
All Implemented Interfaces:
Serializable, Border

public class ColorBorder
extends AbstractBorder

See Also:
Serialized Form

Constructor Summary
ColorBorder(Color color, int top, int left, int bottom, int right)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorBorder

public ColorBorder(Color color,
                   int top,
                   int left,
                   int bottom,
                   int right)
Method Detail

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border
Overrides:
paintBorder in class AbstractBorder

getBorderInsets

public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border
Overrides:
getBorderInsets in class AbstractBorder

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border
Overrides:
isBorderOpaque in class AbstractBorder


Copyright © 2014 universAAL Consortium. All Rights Reserved.