abbot.editor.widgets
Class Highlighter
java.lang.Object
abbot.editor.widgets.AbstractComponentDecorator
abbot.editor.widgets.Highlighter
public class Highlighter
- extends AbstractComponentDecorator
Provides a persistent border around a component, drawn after the
component itself is drawn.
Method Summary |
void |
paint(Graphics graphics)
Define the decoration's appearance. |
Methods inherited from class abbot.editor.widgets.AbstractComponentDecorator |
attach, clipDecorationBounds, dispose, getComponent, getDecorationBounds, getPainter, getToolTipText, getToolTipText, isShowing, isVisible, repaint, setCursor, setDecorationBounds, setDecorationBounds, setPainterBounds, setToolTipText, setVisible, synch, toString |
Highlighter
public Highlighter(JComponent c)
paint
public void paint(Graphics graphics)
- Description copied from class:
AbstractComponentDecorator
- Define the decoration's appearance. The point (0,0) represents
the upper left corner of the decorated component.
The default clip mask will be the extents of the decoration bounds, as
indicated by
AbstractComponentDecorator.getDecorationBounds()
, which defaults to the
decorated component bounds.
- Specified by:
paint
in class AbstractComponentDecorator
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on