|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.cabo.image.painter.AbstractPainter
|
+--oracle.cabo.image.painter.AbstractWrappingPainter
|
+--oracle.cabo.image.painter.AbstractBorderPainter
|
+--oracle.cabo.image.painter.DirectionalBorderPainter
A border that insets painting of the wrapped painter by the specified amount, flipping left and right when drawing in a right-to-left direction.
| 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 |
| Constructor Summary | |
DirectionalBorderPainter(int top,
int left,
int bottom,
int right)
Creates a BorderPainter that insets painting by the specified amount. |
|
DirectionalBorderPainter(Painter wrappedPainter,
int top,
int left,
int bottom,
int right)
Creates a BorderPainter that A border that insets painting of the wrapped painter by the specified amount. |
|
DirectionalBorderPainter(Painter wrappedPainter,
int top,
int left,
int bottom,
int right,
boolean alwaysAddBorder)
Creates a BorderPainter that A border that insets painting of the wrapped painter by the specified amount. |
|
| Method Summary | |
int |
getInvalidateFlags(PaintContext context)
Returns the flags indicating the conditions under which the Painter must be invalidated. |
protected ImmInsets |
getOwnInsets(PaintContext context)
Returns the insets of just this BorderPainter. |
int |
getRepaintFlags(PaintContext context)
Returns the flags indicating the conditions under which the Painter must be repainted. |
protected boolean |
isBorderTransparent(PaintContext context)
Returns true if the border itself is transparent. |
| Methods inherited from class oracle.cabo.image.painter.AbstractBorderPainter |
borderContains, contentContains, getBorderPainterAt, getContentPainterAt, getFillInsets, getInsets, getMaximumSize, getMinimumSize, getOwnFillInsets, getPainterAt, getPreferredSize, getSize, isTransparent, paint, paintBorder |
| Methods inherited from class oracle.cabo.image.painter.AbstractWrappingPainter |
getWrappedPainter |
| Methods inherited from class oracle.cabo.image.painter.AbstractPainter |
contains, getData, getDataKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.cabo.image.painter.Painter |
contains |
| Constructor Detail |
public DirectionalBorderPainter(int top,
int left,
int bottom,
int right)
top - Amount to inset painting from the top.left - Amount to inset painting from the left.bottom - Amount to inset painting from the bottom.right - Amount to inset painting from the right.
public DirectionalBorderPainter(Painter wrappedPainter,
int top,
int left,
int bottom,
int right)
wrappedPainter - Painter to wrap this border around.top - Amount to inset painting from the top.left - Amount to inset painting from the left.bottom - Amount to inset painting from the bottom.right - Amount to inset painting from the right.
public DirectionalBorderPainter(Painter wrappedPainter,
int top,
int left,
int bottom,
int right,
boolean alwaysAddBorder)
wrappedPainter - Painter to wrap this border around.top - Amount to inset painting from the top.left - Amount to inset painting from the left.bottom - Amount to inset painting from the bottom.right - Amount to inset painting from the right.alwaysAddInsets - True if the border should always add its insets
to the size of the wrapped painter when computing
its size, even if the wrapped painter's size is
zero.| Method Detail |
protected ImmInsets getOwnInsets(PaintContext context)
getOwnInsets in class AbstractBorderPaintercontext - PaintContext to use when getting our own Insets
AbstractBorderPainter.getInsets(oracle.cabo.image.painter.PaintContext)protected boolean isBorderTransparent(PaintContext context)
isBorderTransparent in class AbstractBorderPaintercontext - PaintContext to use when determining transparency.
AbstractBorderPainter.isTransparent(oracle.cabo.image.painter.PaintContext)public int getRepaintFlags(PaintContext context)
getRepaintFlags in class AbstractWrappingPaintercontext - Context to use for determining the conditions under
which reapinting is required.
public int getInvalidateFlags(PaintContext context)
getInvalidateFlags in class AbstractWrappingPaintercontext - Context to use for determining the conditions under
which reapinting is required.
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||