public static class BaseBorders.BasePopupMenuBorder extends AbstractBorder implements UIResource
| Modifier and Type | Field and Description |
|---|---|
protected static Insets |
insets |
protected static Insets |
leftLogoInsets |
protected static Font |
logoFont |
protected static Insets |
rightLogoInsets |
protected static int |
shadowSize |
| Constructor and Description |
|---|
BaseBorders.BasePopupMenuBorder() |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets borderInsets) |
Color |
getLogoColorHi() |
Color |
getLogoColorLo() |
boolean |
hasLogo(Component c) |
boolean |
isMenuBarPopup(Component c) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
void |
paintLogo(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaqueprotected static Font logoFont
protected static Insets leftLogoInsets
protected static Insets rightLogoInsets
protected static Insets insets
protected static int shadowSize
public boolean isMenuBarPopup(Component c)
public boolean hasLogo(Component c)
public Color getLogoColorHi()
public Color getLogoColorLo()
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
paintBorder in interface BorderpaintBorder in class AbstractBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c, Insets borderInsets)
getBorderInsets in class AbstractBorderCopyright © 2014. All Rights Reserved.