Package org.graffiti.plugin.tool
Class NodeBorder
java.lang.Object
javax.swing.border.AbstractBorder
org.graffiti.plugin.tool.NodeBorder
- All Implemented Interfaces:
 Serializable,Border
public class NodeBorder extends AbstractBorder
DOCUMENT ME!
- Version:
 - $Revision: 1.6.4.1 $ Provides a border used to mark selected nodes.
 - See Also:
 - Serialized Form
 
- 
Constructor Summary
Constructors Constructor Description NodeBorder(Color color, int width)Constructor for NodeBorder. - 
Method Summary
Modifier and Type Method Description InsetsgetBorderInsets(Component c)InsetsgetBorderInsets(Component c, Insets insets)Sets the insets to the value ofwidth.booleanisBorderOpaque()DOCUMENT ME!voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)Paints the border.Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle 
- 
Constructor Details
- 
NodeBorder
Constructor for NodeBorder.- Parameters:
 color- DOCUMENT ME!width- DOCUMENT ME!
 
 - 
 - 
Method Details
- 
getBorderInsets
Sets the insets to the value ofwidth.- Overrides:
 getBorderInsetsin classAbstractBorder- See Also:
 AbstractBorder.getBorderInsets(java.awt.Component, java.awt.Insets)
 - 
getBorderInsets
- Specified by:
 getBorderInsetsin interfaceBorder- Overrides:
 getBorderInsetsin classAbstractBorder- See Also:
 AbstractBorder.getBorderInsets(java.awt.Component)
 - 
isBorderOpaque
public boolean isBorderOpaque()DOCUMENT ME!- Specified by:
 isBorderOpaquein interfaceBorder- Overrides:
 isBorderOpaquein classAbstractBorder- Returns:
 - true.
 - See Also:
 Returns true.
 - 
paintBorder
Paints the border.- Specified by:
 paintBorderin interfaceBorder- Overrides:
 paintBorderin classAbstractBorder- Parameters:
 c- DOCUMENT ME!g- DOCUMENT ME!x- DOCUMENT ME!y- DOCUMENT ME!width- DOCUMENT ME!height- DOCUMENT ME!
 
 -