Package io.github.jonestimd.swing.window
Interface ApplicationWindowAction<E extends WindowInfo>
-
- Type Parameters:
E
- the class providing information about the requested window
- All Known Implementing Classes:
FrameAction
public interface ApplicationWindowAction<E extends WindowInfo>
An event fired by aFrameAction
to indicate that the user has requested a new window.- See Also:
FrameManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description E
getWindowInfo()
default boolean
matches(StatusFrame frame)
Used to find an existing non-singleton window that matches this event.
-
-
-
Method Detail
-
getWindowInfo
E getWindowInfo()
-
matches
default boolean matches(StatusFrame frame)
Used to find an existing non-singleton window that matches this event. If a match is found then that window is raised to the front instead of creating a new window.- Parameters:
frame
- an existing non-singleton window- Returns:
- the default implementation always returns false
-
-