|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.AbstractBorder | +--org.eclipse.draw2d.FocusBorder
A Border that looks like the system's focus rectangle.
Field Summary |
Fields inherited from class org.eclipse.draw2d.AbstractBorder |
tempRect |
Constructor Summary | |
FocusBorder()
Constructs a new FocusBorder. |
Method Summary | |
Insets |
getInsets(IFigure figure)
Returns the Insets for this Border for the given Figure. |
boolean |
isOpaque()
Returns true if the Border completely fills the region defined in
paint(IFigure, Graphics, Insets) . |
void |
paint(IFigure figure,
Graphics graphics,
Insets insets)
Paints a focus rectangle. |
Methods inherited from class org.eclipse.draw2d.AbstractBorder |
getPaintRectangle, getPreferredSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FocusBorder()
Method Detail |
public Insets getInsets(IFigure figure)
Border
figure
- The figure this border belongs to
Border.getInsets(IFigure)
public boolean isOpaque()
Border
true
if the Border completely fills the region defined in
Border.paint(IFigure, Graphics, Insets)
.
isOpaque
in interface Border
isOpaque
in class AbstractBorder
Border.isOpaque()
public void paint(IFigure figure, Graphics graphics, Insets insets)
figure
- The figure this border belongs tographics
- The graphics object used for paintinginsets
- The insetsBorder.paint(IFigure, Graphics, Insets)
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |