|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public int getBottomMargin()
public int getLeftMargin()
public int getRightMargin()
public int getTopMargin()
public 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
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |