Package org.eclipse.draw2d
Class FocusBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.FocusBorder
- All Implemented Interfaces:
- Border
A Border that looks like the system's focus rectangle.
- 
Field SummaryFields inherited from class org.eclipse.draw2d.AbstractBordertempRect
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the Insets for this Border for the given Figure.booleanisOpaque()Returnstrueif the Border completely fills the region defined inBorder.paint(IFigure, Graphics, Insets).voidPaints a focus rectangle.Methods inherited from class org.eclipse.draw2d.AbstractBordergetPaintRectangle, getPreferredSize
- 
Constructor Details- 
FocusBorderpublic FocusBorder()
 
- 
- 
Method Details- 
getInsetsDescription copied from interface:BorderReturns the Insets for this Border for the given Figure.- Parameters:
- figure- The figure this border belongs to
- Returns:
- The insets
- See Also:
 
- 
isOpaquepublic boolean isOpaque()Description copied from interface:BorderReturnstrueif the Border completely fills the region defined inBorder.paint(IFigure, Graphics, Insets).- Specified by:
- isOpaquein interface- Border
- Overrides:
- isOpaquein class- AbstractBorder
- Returns:
- trueif this border is opaque
- See Also:
 
- 
paintPaints a focus rectangle.- Parameters:
- figure- The figure this border belongs to
- graphics- The graphics object used for painting
- insets- The insets
- See Also:
 
 
-