UIX 2.2.16

oracle.cabo.image.painter
Interface BorderPainter

All Superinterfaces:
Painter
All Known Implementing Classes:
AbstractBorderPainter, NullPainter

public interface BorderPainter
extends Painter

A subinterface of Painter adding the ability to get the insets of the painter.


Method Summary
 ImmInsets getFillInsets(PaintContext context)
          Returns the amount of space by which fills should be inset.
 ImmInsets getInsets(PaintContext context)
          Returns the amount of space the border will require on each side.
 
Methods inherited from interface oracle.cabo.image.painter.Painter
getMinimumSize, getPreferredSize, paint
 

Method Detail

getInsets

public ImmInsets getInsets(PaintContext context)
Returns the amount of space the border will require on each side.

Parameters:
context - the context for painting

getFillInsets

public ImmInsets getFillInsets(PaintContext context)
Returns the amount of space by which fills should be inset.

Parameters:
context - the context for painting

UIX 2.2.16