|
Draw2d 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowBorder
Experimental API. This is a special type of border for use with
FlowFigure
s. This interface should not be
implemented by clients. Clients should extend
AbstractFlowBorder
.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.draw2d.Border |
---|
getInsets, getPreferredSize, isOpaque, paint |
Method Detail |
---|
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 orientation
|
Draw2d 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |