Package com.formdev.flatlaf.themeeditor
Class FlatThemePropertiesBaseManager.MyBasePropertyProvider
java.lang.Object
com.formdev.flatlaf.themeeditor.FlatThemePropertiesBaseManager.MyBasePropertyProvider
- All Implemented Interfaces:
FlatThemePropertiesSupport.BasePropertyProvider
- Enclosing class:
FlatThemePropertiesBaseManager
private class FlatThemePropertiesBaseManager.MyBasePropertyProvider
extends Object
implements FlatThemePropertiesSupport.BasePropertyProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final boolean
private String
private final String
private final FlatThemePropertiesSupport
-
Constructor Summary
ConstructorsConstructorDescriptionMyBasePropertyProvider
(String name, FlatThemePropertiesSupport propertiesSupport, boolean isCoreTheme) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllKeys
(Set<String> allKeys, String baseTheme) private void
copyKeys
(Properties properties, Set<String> allKeys) getProperty
(String key, String baseTheme) private String
getPropertyFromBase
(String baseFile, String key) private String
getPropertyFromCore
(String baseFile, String key) private void
updateBaseFiles
(String baseTheme)
-
Field Details
-
name
-
propertiesSupport
-
isCoreTheme
private final boolean isCoreTheme -
coreBaseTheme
-
baseFiles
-
lastBaseTheme
-
-
Constructor Details
-
MyBasePropertyProvider
MyBasePropertyProvider(String name, FlatThemePropertiesSupport propertiesSupport, boolean isCoreTheme)
-
-
Method Details
-
getProperty
- Specified by:
getProperty
in interfaceFlatThemePropertiesSupport.BasePropertyProvider
-
getPropertyFromBase
-
getPropertyFromCore
-
updateBaseFiles
-
addAllKeys
- Specified by:
addAllKeys
in interfaceFlatThemePropertiesSupport.BasePropertyProvider
-
copyKeys
-