| java.lang.Object com.jeta.forms.components.border.ShadowBorder
ShadowBorder | public class ShadowBorder implements Border(Code) | | This border paints a shadow on the right/bottom sides of a component. A
shadow border is painted only on the right and bottom sides of a component.
There are two types of shadows: solid and gradient. A gradient shadow changes
from a start color to an end color. The end color is normally the same color
as the background of the current form. This provides a fade effect for the
shadow. On OSX, the shadow border is less useful because the Aqua look and
feel uses a striped pattern for panel backgrounds. At some point in the
future, the shadow border will need to be updated to support a fade to
transparency.
author: Jeff Tassin |
ShadowBorder | public ShadowBorder()(Code) | | ctor needed for JavaBeans persistence.
|
isBorderOpaque | public boolean isBorderOpaque()(Code) | | |
isSymmetric | public boolean isSymmetric()(Code) | | |
paintGradient | public void paintGradient(Graphics g, int x, int y, int width, int height)(Code) | | Renders this border as a gradient
|
|
|