com.jtattoo.plaf.graphite
Class GraphiteBorders.PopupMenuBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by com.jtattoo.plaf.graphite.GraphiteBorders.PopupMenuBorder
All Implemented Interfaces:
Serializable, Border, UIResource
Enclosing class:
GraphiteBorders

public static class GraphiteBorders.PopupMenuBorder
extends AbstractBorder
implements UIResource

See Also:
Serialized Form

Field Summary
protected  Insets insets
           
protected static Font logoFont
           
protected  Insets logoInsets
           
 
Constructor Summary
GraphiteBorders.PopupMenuBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean hasLogo()
           
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void paintLogo(Graphics2D g2D, int w, int h)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logoFont

protected static final Font logoFont

logoInsets

protected Insets logoInsets

insets

protected Insets insets
Constructor Detail

GraphiteBorders.PopupMenuBorder

public GraphiteBorders.PopupMenuBorder()
Method Detail

hasLogo

public boolean hasLogo()

paintLogo

public void paintLogo(Graphics2D g2D,
                      int w,
                      int h)

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
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


Copyright © 2011. All Rights Reserved.