interface org.aswing.Border extends Decorator
Implementors | ||||||||||||||||||||||||||
AdjusterBorder, FlatComboBoxPopupBorder, FlatPopupMenuBorder, TableHeaderCellBorder, TextCellComponentBorder, DecorateBorder, ComboBoxPopupBorder, FrameBorder, PopupMenuBorder, TableHeaderCellBorder, TextComponentBorder, DefaultEmptyDecoraterResource |
|
Interface describing an object capable of rendering a border around the edges of a component.
You can either return a display object to be the border or just return null and paint the border
in updateBorder
method use the component g(Graphics).
Instance Fields
Show inherited public instance fields | Hide inherited public instance fields
|
function getBorderInsets(c:Component, b:IntRectangle): Insets
Returns the insets of the border.
c | the component which owns the border. |
b | the bounds of the border should be. |
function updateBorder(c:Component, g:Graphics2D, b:IntRectangle): Void
Updates the border.
c | the component which owns the border. |
g | the graphics of the component, you can paint picture onto it. |
b | the bounds of the border should be. |