Class LanguageMenu

java.lang.Object
javafx.scene.control.MenuItem
javafx.scene.control.Menu
org.episteme.core.ui.i18n.LanguageMenu
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget

public class LanguageMenu extends javafx.scene.control.Menu
A Menu component that allows switching the application language.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Property Summary

    Properties inherited from class javafx.scene.control.Menu

    onHidden, onHiding, onShowing, onShown, showing

    Properties inherited from class javafx.scene.control.MenuItem

    accelerator, disable, graphic, id, mnemonicParsing, onAction, onMenuValidation, parentMenu, parentPopup, style, text, visible
  • Field Summary

    Fields inherited from class javafx.scene.control.Menu

    ON_HIDDEN, ON_HIDING, ON_SHOWING, ON_SHOWN

    Fields inherited from class javafx.scene.control.MenuItem

    MENU_VALIDATION_EVENT
  • Constructor Summary

    Constructors
    Constructor
    Description
    LanguageMenu(Runnable onLocaleChange)
     
  • Method Summary

    Methods inherited from class javafx.scene.control.Menu

    buildEventDispatchChain, getItems, getOnHidden, getOnHiding, getOnShowing, getOnShown, hide, isShowing, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, setOnHidden, setOnHiding, setOnShowing, setOnShown, show, showingProperty

    Methods inherited from class javafx.scene.control.MenuItem

    acceleratorProperty, addEventFilter, addEventHandler, disableProperty, fire, getAccelerator, getCssMetaData, getGraphic, getId, getOnAction, getOnMenuValidation, getParentMenu, getParentPopup, getProperties, getPseudoClassStates, getStyle, getStyleableNode, getStyleableParent, getStyleClass, getText, getTypeSelector, getUserData, graphicProperty, idProperty, isDisable, isMnemonicParsing, isVisible, mnemonicParsingProperty, onActionProperty, onMenuValidationProperty, parentMenuProperty, parentPopupProperty, removeEventFilter, removeEventHandler, setAccelerator, setDisable, setGraphic, setId, setMnemonicParsing, setOnAction, setOnMenuValidation, setParentMenu, setParentPopup, setStyle, setText, setUserData, setVisible, styleProperty, textProperty, toString, visibleProperty

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LanguageMenu

      public LanguageMenu(Runnable onLocaleChange)