pivot.wtk
Class ComponentListener.Adapter

java.lang.Object
  extended by pivot.wtk.ComponentListener.Adapter
All Implemented Interfaces:
ComponentListener
Enclosing interface:
ComponentListener

public static class ComponentListener.Adapter
extends Object
implements ComponentListener

Adapts the ComponentListener interface.

Author:
tvolkert

Nested Class Summary
 
Nested classes/interfaces inherited from interface pivot.wtk.ComponentListener
ComponentListener.Adapter
 
Constructor Summary
ComponentListener.Adapter()
           
 
Method Summary
 void cursorChanged(Component component, Cursor previousCursor)
          Called when a component's cursor has changed.
 void locationChanged(Component component, int previousX, int previousY)
          Called when a component's location has changed.
 void parentChanged(Component component, Container previousParent)
          Called when a component's parent has changed (when the component is either added to or removed from a container).
 void sizeChanged(Component component, int previousWidth, int previousHeight)
          Called when a component's size has changed.
 void styleUpdated(Component component, String styleKey, Object previousValue)
          Called when a component style has been updated.
 void tooltipTextChanged(Component component, String previousTooltipText)
          Called when a component's tooltip text has changed.
 void visibleChanged(Component component)
          Called when a component's visible flag has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentListener.Adapter

public ComponentListener.Adapter()
Method Detail

parentChanged

public void parentChanged(Component component,
                          Container previousParent)
Description copied from interface: ComponentListener
Called when a component's parent has changed (when the component is either added to or removed from a container).

Specified by:
parentChanged in interface ComponentListener

sizeChanged

public void sizeChanged(Component component,
                        int previousWidth,
                        int previousHeight)
Description copied from interface: ComponentListener
Called when a component's size has changed.

Specified by:
sizeChanged in interface ComponentListener

locationChanged

public void locationChanged(Component component,
                            int previousX,
                            int previousY)
Description copied from interface: ComponentListener
Called when a component's location has changed.

Specified by:
locationChanged in interface ComponentListener

visibleChanged

public void visibleChanged(Component component)
Description copied from interface: ComponentListener
Called when a component's visible flag has changed.

Specified by:
visibleChanged in interface ComponentListener

styleUpdated

public void styleUpdated(Component component,
                         String styleKey,
                         Object previousValue)
Description copied from interface: ComponentListener
Called when a component style has been updated.

Specified by:
styleUpdated in interface ComponentListener

cursorChanged

public void cursorChanged(Component component,
                          Cursor previousCursor)
Description copied from interface: ComponentListener
Called when a component's cursor has changed.

Specified by:
cursorChanged in interface ComponentListener

tooltipTextChanged

public void tooltipTextChanged(Component component,
                               String previousTooltipText)
Description copied from interface: ComponentListener
Called when a component's tooltip text has changed.

Specified by:
tooltipTextChanged in interface ComponentListener