org.apache.pivot.wtk.text
Class ElementListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.text.ElementListener.Adapter
All Implemented Interfaces:
ElementListener
Enclosing interface:
ElementListener

public static class ElementListener.Adapter
extends Object
implements ElementListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.text.ElementListener
ElementListener.Adapter
 
Constructor Summary
ElementListener.Adapter()
           
 
Method Summary
 void backgroundColorChanged(Element element, Color previousBackgroundColor)
          Called when the background color has changed.
 void fontChanged(Element element, Font previousFont)
          Called when the font has changed.
 void foregroundColorChanged(Element element, Color previousForegroundColor)
          Called when the foreground color has changed.
 void nodeInserted(Element element, int index)
          Called when a node has been inserted into an element.
 void nodesRemoved(Element element, int index, Sequence<Node> nodes)
          Called when nodes have been removed from an element.
 void strikethroughChanged(Element element)
          Called when strikethrough style has changed.
 void underlineChanged(Element element)
          Called when underline style has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementListener.Adapter

public ElementListener.Adapter()
Method Detail

nodeInserted

public void nodeInserted(Element element,
                         int index)
Description copied from interface: ElementListener
Called when a node has been inserted into an element.

Specified by:
nodeInserted in interface ElementListener

nodesRemoved

public void nodesRemoved(Element element,
                         int index,
                         Sequence<Node> nodes)
Description copied from interface: ElementListener
Called when nodes have been removed from an element.

Specified by:
nodesRemoved in interface ElementListener

fontChanged

public void fontChanged(Element element,
                        Font previousFont)
Description copied from interface: ElementListener
Called when the font has changed.

Specified by:
fontChanged in interface ElementListener

backgroundColorChanged

public void backgroundColorChanged(Element element,
                                   Color previousBackgroundColor)
Description copied from interface: ElementListener
Called when the background color has changed.

Specified by:
backgroundColorChanged in interface ElementListener

foregroundColorChanged

public void foregroundColorChanged(Element element,
                                   Color previousForegroundColor)
Description copied from interface: ElementListener
Called when the foreground color has changed.

Specified by:
foregroundColorChanged in interface ElementListener

underlineChanged

public void underlineChanged(Element element)
Description copied from interface: ElementListener
Called when underline style has changed.

Specified by:
underlineChanged in interface ElementListener

strikethroughChanged

public void strikethroughChanged(Element element)
Description copied from interface: ElementListener
Called when strikethrough style has changed.

Specified by:
strikethroughChanged in interface ElementListener