|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.AbstractBorder
Provides generic support for borders.
| Field Summary | |
protected static Rectangle |
tempRect
A temporary Rectangle |
| Constructor Summary | |
AbstractBorder()
|
|
| Method Summary | |
protected static Rectangle |
getPaintRectangle(IFigure figure,
Insets insets)
Returns a temporary rectangle representing the figure's bounds cropped by the specified insets. |
Dimension |
getPreferredSize(IFigure f)
Returns the preferred width and height that this border would like to display itself properly. |
boolean |
isOpaque()
Returns true if the Border completely fills the region defined in
Border.paint(IFigure, Graphics, Insets). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.draw2d.Border |
getInsets, paint |
| Field Detail |
protected static Rectangle tempRect
| Constructor Detail |
public AbstractBorder()
| Method Detail |
protected static final Rectangle getPaintRectangle(IFigure figure,
Insets insets)
figure - Figure for which the paintable rectangle is neededinsets - The insets
public Dimension getPreferredSize(IFigure f)
Border
getPreferredSize in interface Borderf - The figure
Border.getPreferredSize(IFigure)public boolean isOpaque()
Bordertrue if the Border completely fills the region defined in
Border.paint(IFigure, Graphics, Insets).
isOpaque in interface Bordertrue if this border is opaqueBorder.isOpaque()
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||