abbot.editor.widgets
Class Highlighter

java.lang.Object
  extended by abbot.editor.widgets.AbstractComponentDecorator
      extended by abbot.editor.widgets.Highlighter

public class Highlighter
extends AbstractComponentDecorator

Provides a persistent border around a component, drawn after the component itself is drawn.


Nested Class Summary
 
Nested classes/interfaces inherited from class abbot.editor.widgets.AbstractComponentDecorator
AbstractComponentDecorator.Painter
 
Field Summary
 
Fields inherited from class abbot.editor.widgets.AbstractComponentDecorator
DEFAULT_BOUNDS, TOP
 
Constructor Summary
Highlighter(JComponent c)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Highlighter

public Highlighter(JComponent c)
Method Detail

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

SourceForge