org.springframework.richclient.application.support
Class SharedCommandTargeter

java.lang.Object
  extended by org.springframework.richclient.application.support.PageComponentListenerAdapter
      extended by org.springframework.richclient.application.support.SharedCommandTargeter
All Implemented Interfaces:
PageComponentListener

public class SharedCommandTargeter
extends PageComponentListenerAdapter

Retargets window-scoped, shared commands when the active View associated with an ApplicationPage changes.

Author:
Keith Donald

Constructor Summary
SharedCommandTargeter(ApplicationWindow window)
           
 
Method Summary
 void componentFocusGained(PageComponent component)
          Notifies this listener that the given component has been given focus
 
Methods inherited from class org.springframework.richclient.application.support.PageComponentListenerAdapter
componentClosed, componentFocusLost, componentOpened, getActiveComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedCommandTargeter

public SharedCommandTargeter(ApplicationWindow window)
Method Detail

componentFocusGained

public void componentFocusGained(PageComponent component)
Description copied from interface: PageComponentListener
Notifies this listener that the given component has been given focus

Specified by:
componentFocusGained in interface PageComponentListener
Overrides:
componentFocusGained in class PageComponentListenerAdapter
Parameters:
component - the component that was given focus


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.