Skip to content

Commit

Permalink
src/main/java/gui/MainWindow.java added
Browse files Browse the repository at this point in the history
  • Loading branch information
rhit-shirakrk committed May 9, 2024
1 parent 9023038 commit 9235797
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions uml/classes.puml
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,38 @@ package gui {
+{static} addTextFieldDocumentUpdateListener(textField: JTextField, func: Consumer<DocumentEvent>): void
+{static} getScaledIcon(icon: Icon, scaleFactor: double): Icon
}

class MainWindow {
-{static} MIN_WIDTH: int
-{static} MIN_HEIGHT: int
-app: App
-header: Header
-mainPanel: MainPanel
-footer: Footer
-exit(status: int): void
-checkForConfigLoadException(): void
-askWhetherToProceedWithBadConfig(configLoadEx: Exception): boolean
-openSettings(): void
-checkForConfigSaveException(): void
}

class Header {
-{static} SETTINGS_BUTTON_LABEL: String
}

class MainPanel {
-{static} NO_RESULTS_MSG: String
-{static} RUN_BUTTON_LABEL: String
-messageSummary: JLabel
-runButton: JButton
-messageDisplay: MessageDisplay
-runChecks(): void
-formatTotals(msgTotals: Map<MessageLevel, Integer>): String
-generateTotalsTerm(totalsTerms: List<String>, level: MessageLevel, count: int): void
}

class Footer {
}
}

exception IOException {
Expand Down Expand Up @@ -826,6 +858,15 @@ gui.App ->"*" Reloadable
gui.App ..> IOException: <<throws>>
gui.App ->"*" CheckResults
gui.App +- CheckResults
MainWindow ..|> Reloadable
MainWindow -> gui.App
MainWindow +- Header
MainWindow -> Header
MainWindow +- MainPanel
MainWindow -> MainPanel
MainWindow +- Footer
MainWindow -> Footer
MainPanel ..|> Reloadable

' exceptions
FileNotFoundException --|> IOException
Expand Down

0 comments on commit 9235797

Please sign in to comment.