com.github.croesch.micro_debug.gui.listener
Class ComponentRepaintListener

java.lang.Object
  extended by com.github.croesch.micro_debug.gui.listener.ComponentRepaintListener
All Implemented Interfaces:
EventListener, DocumentListener

public final class ComponentRepaintListener
extends Object
implements DocumentListener

Listener that repaints the component if any event happens.

Since:
Date: Mar 21, 2012
Author:
croesch

Constructor Summary
ComponentRepaintListener(Component comp)
          Constructs a listener that repaints the given component
 
Method Summary
 void changedUpdate(DocumentEvent e)
          
 void insertUpdate(DocumentEvent e)
          
 void removeUpdate(DocumentEvent e)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentRepaintListener

public ComponentRepaintListener(Component comp)
Constructs a listener that repaints the given component

Parameters:
comp - the component to repaint on any event
Since:
Date: Mar 21, 2012
Method Detail

removeUpdate

public void removeUpdate(DocumentEvent e)

Specified by:
removeUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)

Specified by:
insertUpdate in interface DocumentListener

changedUpdate

public void changedUpdate(DocumentEvent e)

Specified by:
changedUpdate in interface DocumentListener


Copyright © 2012. All Rights Reserved.