JHotDraw 7.4.1

org.jhotdraw.gui.plaf.palette
Class PaletteButtonBorder

java.lang.Object
  extended by org.jhotdraw.gui.plaf.palette.PaletteButtonBorder
All Implemented Interfaces:
javax.swing.border.Border, javax.swing.plaf.UIResource

public class PaletteButtonBorder
extends java.lang.Object
implements javax.swing.border.Border, javax.swing.plaf.UIResource

PaletteButtonBorder.

Author:
Werner Randelshofer  @version $Id: PaletteButtonBorder.java 591 2009-12-18 22:54:10Z rawcoder $

Constructor Summary
PaletteButtonBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 boolean isBorderOpaque()
           
 void paintBorder(javax.swing.AbstractButton c, java.awt.Graphics gr, int x, int y, int width, int height)
           
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteButtonBorder

public PaletteButtonBorder()
Method Detail

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface javax.swing.border.Border

paintBorder

public void paintBorder(javax.swing.AbstractButton c,
                        java.awt.Graphics gr,
                        int x,
                        int y,
                        int width,
                        int height)

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Specified by:
getBorderInsets in interface javax.swing.border.Border

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface javax.swing.border.Border

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.