Class MarketCrashApp
java.lang.Object
javafx.application.Application
org.episteme.apps.apps.framework.FeaturedAppBase
org.episteme.apps.apps.economics.MarketCrashApp
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters -
Field Summary
Fields inherited from class FeaturedAppBase
currentFile, i18n, isDirty, menuBar, prefs, primaryStage, progressBar, rootPane, simulationControlsVisible, statusBar, statusLabel, toolBar, undoManagerFields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAppHelpTopics(HelpDialog dialog) protected voidaddAppTutorials(HelpDialog dialog) protected voidconfigureFileChooser(javafx.stage.FileChooser chooser) protected javafx.scene.layout.RegionCreates the main content area of the application.protected voiddeserializeState(byte[] data) Override to restore state from binary data.protected voiddoNew()protected StringReturns the application title (localized).Returns the category for grouping (e.g., "Chemistry", "Physics").Returns a short description (1-2 lines).Returns a long description (multi-line, detailed explanation).getName()Returns the display name of the viewer/demo.booleanstatic voidvoidonPause()voidonReset()voidonRun()voidonStop()protected byte[]Override to provide binary state for saving.protected voidOverride this to update UI elements when language changes.Methods inherited from class FeaturedAppBase
applyTheme, confirmUnsavedChanges, createStatusBar, createToolBar, customizeToolBar, doExport, doOpen, doSave, getDefaultHeight, getDefaultWidth, getViewerParameters, hasFileMenu, hasHelpMenu, hasPreferencesMenu, hasToolBar, hasToolsMenu, hasViewMenu, isDemo, loadPreferences, markDirty, onAppReady, onExit, onExport, onFind, onFitToWindow, onFullScreen, onLanguageChanged, onNew, onOpen, onRedo, onReplace, onRestoreDefaults, onSave, onSaveAs, onShowAbout, onShowConsole, onShowDocumentation, onShowParameters, onShowShortcuts, onShowTutorials, onUndo, onZoomIn, onZoomOut, savePreferences, setProgress, setSimulationControlsVisible, setStatus, setTheme, show, showError, showInfo, startMethods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Viewer
getParameter, setParameter
-
Constructor Details
-
MarketCrashApp
public MarketCrashApp()
-
-
Method Details
-
getAppTitle
Description copied from class:FeaturedAppBaseReturns the application title (localized).- Specified by:
getAppTitlein classFeaturedAppBase
-
getName
-
getDescription
Description copied from interface:ViewerReturns a short description (1-2 lines). Must be internationalized via I18N.- Specified by:
getDescriptionin interfaceViewer- Overrides:
getDescriptionin classFeaturedAppBase- Returns:
- the short description
-
getLongDescription
Description copied from interface:ViewerReturns a long description (multi-line, detailed explanation). Must be internationalized via I18N.- Specified by:
getLongDescriptionin interfaceViewer- Overrides:
getLongDescriptionin classFeaturedAppBase- Returns:
- the long description
-
hasEditMenu
public boolean hasEditMenu()- Overrides:
hasEditMenuin classFeaturedAppBase
-
createMainContent
protected javafx.scene.layout.Region createMainContent()Description copied from class:FeaturedAppBaseCreates the main content area of the application.- Specified by:
createMainContentin classFeaturedAppBase
-
onRun
public void onRun()- Overrides:
onRunin classFeaturedAppBase
-
onPause
public void onPause()- Overrides:
onPausein classFeaturedAppBase
-
onStop
public void onStop()- Overrides:
onStopin classFeaturedAppBase
-
updateLocalizedUI
protected void updateLocalizedUI()Description copied from class:FeaturedAppBaseOverride this to update UI elements when language changes.- Overrides:
updateLocalizedUIin classFeaturedAppBase
-
onReset
public void onReset()- Overrides:
onResetin classFeaturedAppBase
-
configureFileChooser
protected void configureFileChooser(javafx.stage.FileChooser chooser) - Overrides:
configureFileChooserin classFeaturedAppBase
-
doNew
protected void doNew()- Overrides:
doNewin classFeaturedAppBase
-
addAppHelpTopics
- Overrides:
addAppHelpTopicsin classFeaturedAppBase
-
addAppTutorials
- Overrides:
addAppTutorialsin classFeaturedAppBase
-
serializeState
protected byte[] serializeState()Description copied from class:FeaturedAppBaseOverride to provide binary state for saving.- Overrides:
serializeStatein classFeaturedAppBase
-
deserializeState
protected void deserializeState(byte[] data) Description copied from class:FeaturedAppBaseOverride to restore state from binary data.- Overrides:
deserializeStatein classFeaturedAppBase
-
main
-
getCategory
Description copied from interface:ViewerReturns the category for grouping (e.g., "Chemistry", "Physics"). Must be internationalized via I18N.- Specified by:
getCategoryin interfaceViewer- Overrides:
getCategoryin classFeaturedAppBase- Returns:
- the category name
-