Package com.jackmeng.halcyoninae.cosmos
Class Cosmos
java.lang.Object
com.jackmeng.halcyoninae.cosmos.Cosmos
- All Implemented Interfaces:
TailwindListener.StatusUpdateListener,Runnable
BigContainer is the main window for the program,
it is the parent container for BottomPane and TopPane.
It performs no other tasks but to align the components together in a top-to-bottom fashion.
- Since:
- 3.0
- Author:
- Jack Meng
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCosmos(JSplitPane mainPane) A JSplitPane contains a BottomPane and TopPane that will be used as the content pane for the JFrame. -
Method Summary
-
Field Details
-
container
-
-
Constructor Details
-
Cosmos
A JSplitPane contains a BottomPane and TopPane that will be used as the content pane for the JFrame.- Parameters:
mainPane- The JSplitPane instance to attach with
-
-
Method Details
-
refreshUI
Dispatches an event to update all LAF components of the current Swing This implementation is adapted from the original MP4J project- Parameters:
theme- The theme to update to- Throws:
UnsupportedLookAndFeelException- If the LAF is not supported- Since:
- 3.3
- See Also:
-
getFrame
Returns the JFrame instance- Returns:
- The JFrame instance
-
run
public void run() -
statusUpdate
- Specified by:
statusUpdatein interfaceTailwindListener.StatusUpdateListener- Parameters:
status-
-