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.delegate
Interface RelatedWindowDiscriminator

All Known Implementing Classes:
  DefaultRelatedWindowDiscriminator

    public interface RelatedWindowDiscriminator

Interface that allows the `FocusTrackingDelegateMediator` to determine which windows should be considered for command container discovery during focus events.

See Also:
  `FocusTrackingDelegateMediator.setRelatedWindowDiscriminator(RelatedWindowDiscriminator)`

Method Summary
`boolean` | `isRelated(java.awt.Window parent, java.awt.Window other)` Check if the the other window is a child or is related to the parent.

Method Detail

### isRelated

    boolean isRelated(java.awt.Window parent,
                      java.awt.Window other)

  Check if the the other window is a child or is related to the parent.

  Parameters:
    `parent` - the window to which the mediator is associated.
    `other` - the window that is the ancestor of the currently focused component.
  Returns:
    `true` if the other window is related to the parent and should be checked for `DelegateProvider`s, `false` otherwise.

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