- Type Parameters:
T- the concrete type of the top container (depending on the UI technology)
- All Known Subinterfaces:
JavaFXPanelGroupControl
- All Known Implementing Classes:
PanelGroupControlSupport
@API(status=EXPERIMENTAL)
public interface PanelGroupControl<T>
This service looks up
PanelGroupProviders that describe portions of the User Interface and places them in the desired region of the main window.
Calling the method setup(Configuration) with the proper configuration, the desired panel groups can be bound to existing UI controls. The runtime
will scan for instances of PanelGroupProvider that declare and instantiate panels to be associated to each group.
Calling the method show(Object) one of possibly many panels in the same group is brought to visibility. If the system includes a
message bus implementing MessageBus, it is also possible to pick the shown panel by publishing the event
PanelShowRequest; the event PanelShownNotification will be published back to
confirm the operation.- Since:
- 2.0-ALPHA-3
- Author:
- Fabrizio Giudici
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA bag of configuration settings forPanelGroupProvider.static enumStandard groups.static interfaceThe group in the main window.static enumOptions for thesetup(Configuration)method. -
Method Summary
Modifier and TypeMethodDescriptiondefault PanelGroupControl.Configuration<T> config()Returns an emptyPanelGroupControl.Configuration.voidsetup(PanelGroupControl.Configuration<T> configuration) Sets up panel groups according to the givenPanelGroupControl.Configuration.voidSets the shown object in a group.
-
Method Details
-
setup
Sets up panel groups according to the givenPanelGroupControl.Configuration.- Parameters:
configuration- the configuration
-
show
Sets the shown object in a group.- Parameters:
object- the object to show
-
config
Returns an emptyPanelGroupControl.Configuration..- Returns:
- an empty
PanelGroupControl.Configuration
-