Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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.


Fields inherited from interface oracle.cabo.image.painter.Painter
STATE_ACTIVE_CHANGED, STATE_ARMED_CHANGED, STATE_BACKGROUND_CHANGED, STATE_ENABLED_CHANGED, STATE_FOCUSED_CHANGED, STATE_FONT_CHANGED, STATE_FOREGROUND_CHANGED, STATE_ISDEFAULT_CHANGED, STATE_MOUSE_OVER_CHANGED, STATE_READING_DIRECTION_CHANGED, STATE_SELECTED_CHANGED, STATE_SET_CHANGED, STATE_SIZE_CHANGED, STATE_XALIGNMENT_CHANGED, STATE_YALIGNMENT_CHANGED
 
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
contains, getInvalidateFlags, getMaximumSize, getMinimumSize, getPainterAt, getPreferredSize, getRepaintFlags, getSize, isTransparent, 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

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.