io.github.srs.view.components.configuration
Members list
Type members
Classlikes
ConfigurationControlsPanel handles the configuration loading, saving, and management controls. It provides buttons for loading/saving configurations and a dropdown for selecting default configurations.
ConfigurationControlsPanel handles the configuration loading, saving, and management controls. It provides buttons for loading/saving configurations and a dropdown for selecting default configurations.
Value parameters
- onConfigLoaded
-
callback triggered when a configuration is successfully loaded
- onConfigSave
-
callback triggered when user wants to save current configuration
Attributes
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
EntitiesPanel is a JPanel that allows users to add and remove the simulation entities.
EntitiesPanel is a JPanel that allows users to add and remove the simulation entities.
Value parameters
- fieldSpecsByType
-
a map where keys are entity types and values are sequences of FieldSpec defining the fields for each entity type
Attributes
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
EntityRow is a JPanel that represents a single entity in the configuration view. It allows users to select the type of entity and fill in its properties.
EntityRow is a JPanel that represents a single entity in the configuration view. It allows users to select the type of entity and fill in its properties.
Value parameters
- fieldSpecsByType
-
a map where keys are entity types and values are sequences of FieldSpec defining the fields for each entity type
- initialType
-
the initial type of the entity
- removeRow
-
a function to call when the user wants to remove this row from the configuration
Attributes
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
EnvironmentSettingsPanel handles the environment-specific configuration settings. It provides a form for configuring environment width and height.
EnvironmentSettingsPanel handles the environment-specific configuration settings. It provides a form for configuring environment width and height.
Value parameters
- onValidationError
-
callback triggered when validation fails
Attributes
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
SimulationSettingsPanel handles the simulation-specific configuration settings. It provides a form for configuring simulation duration and seed.
SimulationSettingsPanel handles the simulation-specific configuration settings. It provides a form for configuring simulation duration and seed.
Attributes
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all