Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.pietschy.command.util
Interface WindowSearchStrategy

All Known Implementing Classes:
  DefaultWindowSearchStrategy

    public interface WindowSearchStrategy

Interface that defines a strategy for finding a parent window from an arbitrary component. Instances of this interface must typically handle the case where the component is a popup menu and the window parent can't be found using the standard `SwingUtilities.windowForComponent(Component)`.

Method Summary
`java.awt.Window` | `findParentWindow(java.awt.Component component)` Invoked to find the parent window of the specified component.

Method Detail

### findParentWindow

    java.awt.Window findParentWindow(java.awt.Component component)

  Invoked to find the parent window of the specified component.

  Parameters:
    `component` - the component of interest.
  Returns:
    the window parent of the component, or `null` if none can be found.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 - 2007 Andrew Pietsch