DESY ACOP Beans Home
com.cosylab.gui.components.util
Class CosyUIElements.PanelFlushBorder
java.lang.Object
com.cosylab.gui.components.util.CosyUIElements.PanelFlushBorder
- All Implemented Interfaces:
- javax.swing.border.Border
- Enclosing class:
- CosyUIElements
public static class CosyUIElements.PanelFlushBorder
- extends java.lang.Object
- implements javax.swing.border.Border
A clean border that visually raises the component above its surroundings.
Should be used in combination with ContainerFlushBorder.
- Version:
- @@VERSION@@
- Author:
- Miha Kadunc
Method Summary |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
static void |
paintBorder(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 |
CosyUIElements.PanelFlushBorder
public CosyUIElements.PanelFlushBorder()
CosyUIElements.PanelFlushBorder
public CosyUIElements.PanelFlushBorder(boolean isRaised)
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
- See Also:
Border.paintBorder(Component, Graphics, int, int, int, int)
paintBorder
public static void paintBorder(java.awt.Graphics g,
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
- See Also:
Border.getBorderInsets(Component)
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
- See Also:
Border.isBorderOpaque()
Copyright © 2010. All Rights Reserved.