org.apache.pivot.wtk
Class ComponentListener.Adapter

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

public static class ComponentListener.Adapter
extends Object
implements ComponentListener

Component listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.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 dragSourceChanged(Component component, DragSource previousDragSource)
          Called when a component's drag source has changed.
 void dropTargetChanged(Component component, DropTarget previousDropTarget)
          Called when a component's drop target has changed.
 void locationChanged(Component component, int previousX, int previousY)
          Called when a component's location has changed.
 void menuHandlerChanged(Component component, MenuHandler previousMenuHandler)
          Called when a component's context menu handler 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 preferredHeightLimitsChanged(Component component, int previousMinimumPreferredHeight, int previousMaximumPreferredHeight)
          Called when a component's preferred height limits have changed.
 void preferredSizeChanged(Component component, int previousPreferredWidth, int previousPreferredHeight)
          Called when a component's preferred size has changed.
 void preferredWidthLimitsChanged(Component component, int previousMinimumPreferredWidth, int previousMaximumPreferredWidth)
          Called when a component's preferred width limits have changed.
 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

preferredSizeChanged

public void preferredSizeChanged(Component component,
                                 int previousPreferredWidth,
                                 int previousPreferredHeight)
Description copied from interface: ComponentListener
Called when a component's preferred size has changed.

Specified by:
preferredSizeChanged in interface ComponentListener

preferredWidthLimitsChanged

public void preferredWidthLimitsChanged(Component component,
                                        int previousMinimumPreferredWidth,
                                        int previousMaximumPreferredWidth)
Description copied from interface: ComponentListener
Called when a component's preferred width limits have changed.

Specified by:
preferredWidthLimitsChanged in interface ComponentListener

preferredHeightLimitsChanged

public void preferredHeightLimitsChanged(Component component,
                                         int previousMinimumPreferredHeight,
                                         int previousMaximumPreferredHeight)
Description copied from interface: ComponentListener
Called when a component's preferred height limits have changed.

Specified by:
preferredHeightLimitsChanged 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

dragSourceChanged

public void dragSourceChanged(Component component,
                              DragSource previousDragSource)
Description copied from interface: ComponentListener
Called when a component's drag source has changed.

Specified by:
dragSourceChanged in interface ComponentListener

dropTargetChanged

public void dropTargetChanged(Component component,
                              DropTarget previousDropTarget)
Description copied from interface: ComponentListener
Called when a component's drop target has changed.

Specified by:
dropTargetChanged in interface ComponentListener

menuHandlerChanged

public void menuHandlerChanged(Component component,
                               MenuHandler previousMenuHandler)
Description copied from interface: ComponentListener
Called when a component's context menu handler has changed.

Specified by:
menuHandlerChanged in interface ComponentListener