|
GUI Commands 2.0 has arrived!
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RelatedWindowDiscriminator
This interface allows the DelegateManager to determine which windows should be
considered for command container discovery during focus events.
DelegateManager#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 |
|---|
boolean isRelated(java.awt.Window parent,
java.awt.Window other)
parent - the window to which the DelegatingCommand is bound.other - the window that is the ancestor of the currently focused component.
true if the other window is related to the parent and should be checked
for DelegateContainers, false otherwise.
|
GUI Commands 2.0 has arrived!
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||