abbot.editor.widgets
Class AbstractComponentDecorator

java.lang.Object
  extended byabbot.editor.widgets.AbstractComponentDecorator
Direct Known Subclasses:
Highlighter

public abstract class AbstractComponentDecorator
extends Object

Provide a method for consistently painting over a given component. This implementation uses an invisible, added componenet in order to insert code at the appropriate time in the painting process.


Constructor Summary
AbstractComponentDecorator(Container c)
          Create a decorator for the given component.
 
Method Summary
 void dispose()
          Stop decorating.
protected  Container getComponent()
           
abstract  void paint(Graphics g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponentDecorator

public AbstractComponentDecorator(Container c)
Create a decorator for the given component.

Method Detail

getComponent

protected Container getComponent()

dispose

public void dispose()
Stop decorating.


paint

public abstract void paint(Graphics g)


Copyright © 2002-2004 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge