Uses of Enum Class
org.troy.capstone.constants.UIElementName
Packages that use UIElementName
-
Uses of UIElementName in org.troy.capstone.constants
Subclasses with type arguments of type UIElementName in org.troy.capstone.constantsModifier and TypeClassDescriptionenumEnum for UI element names, to avoid hardcoding strings throughout the codebase and reduce risk of typos.Methods in org.troy.capstone.constants that return UIElementNameModifier and TypeMethodDescriptionstatic UIElementNameReturns the enum constant of this class with the specified name.static UIElementName[]UIElementName.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of UIElementName in org.troy.capstone.managers
Fields in org.troy.capstone.managers with type parameters of type UIElementNameModifier and TypeFieldDescriptionprivate final Map<UIElementName, Node> UIElementManager.uiElementsA map of UI element names to their corresponding nodesMethods in org.troy.capstone.managers with parameters of type UIElementNameModifier and TypeMethodDescriptionvoidUIElementManager.addElement(UIElementName key, Node element) Adds a UI element to the manager with the specified key.voidGeneralManager.addUIElement(UIElementName key, Node element) Adds a UI element to theUIElementManager, and creates theRecentlyViewedManagerif the necessary UI elements are present and it has not already been created.UIElementManager.getElement(UIElementName key) Retrieves a UI element based on the provided key.GeneralManager.getUIElement(UIElementName key) Gets a UI element from theUIElementManagerbased on the provided key.