- getContent() - Method in class com.gluonhq.particle.view.FXMLView
-
Returns the root node of this view - this will be displayed in the center
area of the Particle window.
- getContent() - Method in interface com.gluonhq.particle.view.View
-
Returns the root node of this view - this will be displayed in the center
area of the Particle window.
- getController() - Method in class com.gluonhq.particle.view.FXMLView
-
- getCurrentView() - Method in class com.gluonhq.particle.view.ViewManager
-
Gets the value of the property currentView.
- getForm(Class<T>, Form.UpdateMode) - Method in class com.gluonhq.particle.form.FormManager
-
Attempts to return the form represented by the given class (which is a class
that extends from
Form
), with the form configured to operate in the
given
update mode
.
- getFormManager() - Method in class com.gluonhq.particle.application.Particle
-
Returns the instance of the
FormManager
that is in use in this
Particle application.
- getGraphic() - Method in class com.gluonhq.particle.form.Form
-
Override to specify the graphic to show in the form graphic area.
- getMenuActions() - Method in class com.gluonhq.particle.application.Particle
-
Returns a list containing all actions that are currently installed on the
MenuBar control.
- getMessage() - Method in class com.gluonhq.particle.form.Form
-
Returns the message to show in the content area of the form popup dialog
window, above the form.
- getParticle() - Method in class com.gluonhq.particle.application.ParticleApplication
-
Returns the inner
Particle
instance that has been instantiated
for use inside this ParticleApplication.
- getPersistenceMode() - Method in class com.gluonhq.particle.state.StateManager
-
Gets the value of the property persistenceMode.
- getPrimaryStage() - Method in class com.gluonhq.particle.application.ParticleApplication
-
Returns the primary stage used within this Particle application.
- getProperty(Object) - Method in class com.gluonhq.particle.state.impl.PropertiesFileStateIO
-
Returns an Optional that may contain a value represented by the given key.
- getProperty(Object) - Method in interface com.gluonhq.particle.state.StateIO
-
Returns an Optional that may contain a value represented by the given key.
- getProperty(Object) - Method in class com.gluonhq.particle.state.StateManager
-
Returns an Optional that may contain a value represented by the given key.
- getPropertyAsBoolean(Object) - Method in class com.gluonhq.particle.state.StateManager
-
Returns an Optional<Boolean>
that may contain a value represented by the given key.
- getPropertyAsDouble(Object) - Method in class com.gluonhq.particle.state.StateManager
-
Returns an Optional<Double>
that may contain a value represented by the given key.
- getPropertyAsInteger(Object) - Method in class com.gluonhq.particle.state.StateManager
-
Returns an Optional<Integer>
that may contain a value represented by the given key.
- getPropertyAsString(Object) - Method in class com.gluonhq.particle.state.StateManager
-
Returns an Optional<String>
that may contain a value represented by the given key.
- getStateIO() - Method in class com.gluonhq.particle.state.StateManager
-
Gets the value of the property stateIO.
- getStateManager() - Method in class com.gluonhq.particle.application.Particle
-
Returns the instance of the
StateManager
that is in use in this
Particle application.
- getStatusBar() - Method in class com.gluonhq.particle.application.Particle
-
Returns the StatusBar
control, allowing the developer to make
any desired changes to the status bar area of the application view.
- getTitle() - Method in class com.gluonhq.particle.application.ParticleApplication
-
Gets the value of the property title.
- getTitle() - Method in class com.gluonhq.particle.form.Form
-
Returns the title to show in the form popup dialog window.
- getToolBarActions() - Method in class com.gluonhq.particle.application.Particle
-
Returns a list containing all actions that are currently installed on the
ToolBar control.
- getUpdateMode() - Method in class com.gluonhq.particle.form.Form
-
Gets the value of the property updateMode.
- getValidationSupport() - Method in class com.gluonhq.particle.form.Form
-
This method, when called initializes validation support
- getView() - Method in class com.gluonhq.particle.form.Form
-
Returns the form itself, which will be displayed in the form popup dialog
window beneath the message.
- getViewManager() - Method in class com.gluonhq.particle.application.Particle
-
Returns the instance of the
ViewManager
that is in use in this
Particle application.
- Particle - Class in com.gluonhq.particle.application
-
The Particle class is at the epicenter of the Particle application framework.
- Particle() - Constructor for class com.gluonhq.particle.application.Particle
-
Creates a new instance of Particle with no name (which is not encouraged).
- Particle(String) - Constructor for class com.gluonhq.particle.application.Particle
-
Creates a new instance of Particle with the given name - this
is the recommended approach as the name is used elsewhere in Particle to
allow for automatic configuration (by scanning for files with this name,
for example).
- ParticleActions - Annotation Type in com.gluonhq.particle.annotation
-
Annotation for classes that contain one or more
ActionProxy
annotations.
- ParticleApplication - Class in com.gluonhq.particle.application
-
Developers may extend the ParticleApplication class to begin building their
particle application.
- ParticleApplication() - Constructor for class com.gluonhq.particle.application.ParticleApplication
-
Creates a new instance of ParticleApplication with no name (which is not
encouraged).
- ParticleApplication(String) - Constructor for class com.gluonhq.particle.application.ParticleApplication
-
Creates a new instance of ParticleApplication with the given name - this
is the recommended approach as the name is used elsewhere in Particle to
allow for automatic configuration (by scanning for files with this name,
for example).
- ParticleForm - Annotation Type in com.gluonhq.particle.annotation
-
Annotation for classes that extend from
Form
.
- ParticleView - Annotation Type in com.gluonhq.particle.annotation
-
Annotation for classes that implement the
View
interface.
- persistenceModeProperty() - Method in class com.gluonhq.particle.state.StateManager
-
- postInit(Scene) - Method in class com.gluonhq.particle.application.ParticleApplication
-
This method is called after the application is initialized but before the
primary stage is shown to the user.
- postInit() - Method in class com.gluonhq.particle.form.Form
-
Runs immediately after initInBackground(), and before start(), but on FX
thread.
- preInit() - Method in class com.gluonhq.particle.form.Form
-
Initial initialization on FX thread - this is called when the form is
first registered in the Particle
FormManager
.
- PropertiesFileStateIO - Class in com.gluonhq.particle.state.impl
-
A
StateIO
implementation that simply persists all state to the file
system as properties files.
- PropertiesFileStateIO() - Constructor for class com.gluonhq.particle.state.impl.PropertiesFileStateIO
-
Creates a default instance of the PropertiesFileStateIO class.
- setContent(Node) - Method in class com.gluonhq.particle.application.Particle
-
This sets the content in the main view area of the Particle application.
- setCurrentView(View) - Method in class com.gluonhq.particle.view.ViewManager
-
Sets the value of the property currentView.
- setPersistenceMode(StateManager.PersistenceMode) - Method in class com.gluonhq.particle.state.StateManager
-
Sets the value of the property persistenceMode.
- setProperty(Object, Object) - Method in class com.gluonhq.particle.state.impl.PropertiesFileStateIO
-
Attempts to set the given value under the given key.
- setProperty(Object, Object) - Method in interface com.gluonhq.particle.state.StateIO
-
Attempts to set the given value under the given key.
- setProperty(Object, Object) - Method in class com.gluonhq.particle.state.StateManager
-
Sets the given property under the given key.
- setShowCloseConfirmation(boolean) - Method in class com.gluonhq.particle.application.ParticleApplication
-
Sets the value of the property showCloseConfirmation.
- setStateIO(StateIO) - Method in class com.gluonhq.particle.state.StateManager
-
Sets the value of the property stateIO.
- setTitle(String) - Method in class com.gluonhq.particle.application.ParticleApplication
-
Sets the value of the property title.
- setUpdateMode(Form.UpdateMode) - Method in class com.gluonhq.particle.form.Form
-
Sets the value of the property updateMode.
- showAndWait() - Method in class com.gluonhq.particle.form.Form.Builder
-
- showAndWait(T) - Method in class com.gluonhq.particle.form.Form
-
Executes the form and returns optional model
- showAndWait(Window, T) - Method in class com.gluonhq.particle.form.Form
-
- showCloseConfirmationProperty() - Method in class com.gluonhq.particle.application.ParticleApplication
-
- start(Stage) - Method in class com.gluonhq.particle.application.ParticleApplication
- start() - Method in class com.gluonhq.particle.form.Form
-
Called immediately prior to showing the form dialog.
- start() - Method in interface com.gluonhq.particle.view.View
-
Called just prior to the view being made visible to the user.
- StateIO - Interface in com.gluonhq.particle.state
-
Interface to be implemented by any StateIO implementations that can then be
used in the
StateManager
.
- stateIOProperty() - Method in class com.gluonhq.particle.state.StateManager
-
- StateManager - Class in com.gluonhq.particle.state
-
The FormManager is responsible for reading in, and writing out, application
state information in an implementation-agnostic fashion.
- StateManager() - Constructor for class com.gluonhq.particle.state.StateManager
-
Creates a new StateManager instance - this should not be called by users,
and instead should be left to Particle to manage.
- StateManager.PersistenceMode - Enum in com.gluonhq.particle.state
-
The
StateManager
may operate in one of two persistence modes.
- stop() - Method in class com.gluonhq.particle.application.ParticleApplication
- stop() - Method in class com.gluonhq.particle.form.Form
-
Called immediately after the form dialog is closed.
- stop() - Method in interface com.gluonhq.particle.view.View
-
Called just before the view is removed from the user interface and hidden
from the user.
- switchView(Class<? extends View>) - Method in class com.gluonhq.particle.view.ViewManager
-
This will attempt to remove the current view, and replace it with the
given view class.
- switchView(String) - Method in class com.gluonhq.particle.view.ViewManager
-
This will attempt to remove the current view, and replace it with the view
with the given name.