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

public static final class Ancestor.WindowSupplier extends Ancestor.AncestorSupplier<Window>
Provides the ancestor Window of a component
  • Method Details

    • dispose

      public boolean dispose()
      Finds the ancestor Window and 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 ancestor Window and 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