com.alee.utils.laf
Interface PainterShapeProvider<E extends java.awt.Component>
- All Known Implementing Classes:
- WebBreadcrumbPanelPainter, WebButtonPopup.WebButtonPopupPainter, WebDecorationPainter, WebPanelPainter, WebPopOverPainter, WebPopupMenuPainter, WebPopupPainter
public interface PainterShapeProvider<E extends java.awt.Component>
This interface provides a single method for requesting painted component shape.
This can be used by painters to provide their shape for various usage cases.
- Author:
- Mikle Garin
Method Summary |
java.awt.Shape |
provideShape(E component,
java.awt.Rectangle bounds)
Returns painted component shape. |
provideShape
java.awt.Shape provideShape(E component,
java.awt.Rectangle bounds)
- Returns painted component shape.
- Parameters:
component
- component to processbounds
- bounds for painter visual data
- Returns:
- painted component shape