Package com.j3d.gen.settings
Class Settings
java.lang.Object
com.j3d.gen.settings.Settings
- All Implemented Interfaces:
SettingsChild,SettingsParent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic CameraPropertiesstatic ComplexSetting<ThemeEntry> static EditorPropertiesstatic ComplexSetting<String> static PreferencesFramestatic ComplexSetting<File> private static booleanstatic ScenePropertiesstatic ThemeChanger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic Stream<SettingsChild> Recursively retrieves all children settings, including those nested withinSettingsParentobjects.getName()static booleanpanel()voidread()static voidsetPreferencesSaved(boolean savedPreferences) voidvoidwrite()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j3d.gen.settings.SettingsChild
serializedNameMethods inherited from interface com.j3d.gen.settings.SettingsParent
deserialize, serialize
-
Field Details
-
savedPreferences
private static boolean savedPreferences -
preferencesFrame
-
cameraProperties
-
sceneProperties
-
editorProperties
-
themeChanger
-
changeTheme
-
projectOutputFile
-
macrosEditor
-
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
isPreferencesSaved
public static boolean isPreferencesSaved() -
setPreferencesSaved
public static void setPreferencesSaved(boolean savedPreferences) -
getName
- Specified by:
getNamein interfaceSettingsChild
-
getDescription
- Specified by:
getDescriptionin interfaceSettingsChild
-
getAllChildren
- Specified by:
getAllChildrenin interfaceSettingsParent
-
getChildrenRecursive
Recursively retrieves all children settings, including those nested withinSettingsParentobjects. This method flattens the hierarchy into a single stream ofSettingsChildobjects.- Parameters:
sc- The startingSettingsChildfrom which to begin the recursive retrieval.- Returns:
- A
Streamof allSettingsChildobjects found recursively.
-
panel
- Specified by:
panelin interfaceSettingsChild
-
clearState
public void clearState() -
toDefault
public void toDefault() -
write
public void write() -
read
public void read()
-