Module is.codion.swing.common.ui
Class Ancestor.WindowSupplier
java.lang.Object
is.codion.swing.common.ui.ancestor.Ancestor.AncestorSupplier<Window>
is.codion.swing.common.ui.ancestor.Ancestor.WindowSupplier
- Enclosing class:
Ancestor
Provides the ancestor
Window of a component-
Method Summary
Methods inherited from class is.codion.swing.common.ui.ancestor.Ancestor.AncestorSupplier
get, optional
-
Method Details
-
dispose
public boolean dispose()Finds the ancestorWindowand disposes it if found. If no ancestor Window is found this method has no effect- Returns:
- true if an ancestor Window was found
-
toFront
public boolean toFront()Finds the ancestorWindowand brings it to front if found. If no ancestor Window is found this method has no effect- Returns:
- true if an ancestor Window was found
-