public interface FlowBorder extends Border
FlowFigure
s. This interface should not be
implemented by clients. Clients should extend
AbstractFlowBorder
.Modifier and Type | Method and Description |
---|---|
int |
getBottomMargin()
Returns the collapsable bottom margin in pixels.
|
int |
getLeftMargin()
Returns the left margin in pixels.
|
int |
getRightMargin()
Returns the right margin in pixels.
|
int |
getTopMargin()
Returns the collapsable top margin in pixels.
|
void |
paint(FlowFigure figure,
Graphics g,
Rectangle where,
int sides)
Paints the border around the given box location.
|
getInsets, getPreferredSize, isOpaque, paint
int getBottomMargin()
int getLeftMargin()
int getRightMargin()
int getTopMargin()
void paint(FlowFigure figure, Graphics g, Rectangle where, int sides)
sideInfo
parameter
is used to indicate whether the left and right sides should be rendered.
This parameter will contain the following bit flags:
figure
- the flow figure whose border is being paintedg
- the graphicswhere
- the relative location of the boxsides
- bits indicating sides and bidi orientationCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.