|
org.eclipse.draw2d
Class FocusBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.FocusBorder
-
All Implemented Interfaces:
-
Border
- public class FocusBorder
- extends
AbstractBorder
A Border that looks like the system's focus rectangle.
Constructor Summary
|
FocusBorder
()
Constructs a new FocusBorder. |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
FocusBorder
public FocusBorder()
- Constructs a new FocusBorder.
getInsets
public
Insets getInsets(
IFigure figure)
-
Description copied from interface:
Border
- Returns the Insets for this Border for the given Figure.
-
-
Parameters:
-
figure - The figure this border belongs to
-
Returns:
- The insets
-
See Also:
-
Border.getInsets(IFigure)
isOpaque
public boolean isOpaque()
-
Description copied from interface:
Border
- Returns
true if the Border completely fills the region defined in
Border.paint(IFigure, Graphics, Insets) .
-
-
Specified by:
-
isOpaque
in interface
Border
-
Overrides:
-
isOpaque
in class
AbstractBorder
-
-
See Also:
-
Border.isOpaque()
paint
public void paint(
IFigure figure,
Graphics graphics,
Insets insets)
- Paints a focus rectangle.
-
-
Parameters:
-
figure - The figure this border belongs to -
graphics - The graphics object used for painting -
insets - The insets -
See Also:
-
Border.paint(IFigure, Graphics, Insets)
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.
|
|