|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.delegate.DefaultRelatedWindowDiscriminator
class DefaultRelatedWindowDiscriminator
Default implementation of RelatedWindowDiscriminator. This implementation simply
returns true if the focused window is the mediators window.
| Constructor Summary | |
|---|---|
DefaultRelatedWindowDiscriminator()
|
|
| Method Summary | |
|---|---|
boolean |
isRelated(java.awt.Window parent,
java.awt.Window focusedWindow)
Invoked to check if the focused window should be considered for delegates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
DefaultRelatedWindowDiscriminator()
| Method Detail |
|---|
public boolean isRelated(java.awt.Window parent,
java.awt.Window focusedWindow)
isRelated in interface RelatedWindowDiscriminatorparent - the window assosicated with the mediator.focusedWindow - the currently focused window.
true if the focused window contributes delegates
the parent window, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||