public class PerspectiveUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> |
createSubcomponentById(java.lang.String componentId)
Returns a single SunComponent by id
|
java.util.List<org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object>> |
createSubcomponents(org.jacpfx.api.annotations.perspective.Perspective perspectiveAnnotation)
Returns all declared subcomponents for an Perspective annotation.
|
static PerspectiveUtil |
getInstance(org.jacpfx.api.launcher.Launcher<?> launcher)
Returns an PerspectiveUtil instance.
|
static java.lang.String |
getPerspectiveIdFromAnnotation(org.jacpfx.api.component.Perspective<javafx.scene.Node,javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> perspective)
Returns the ID from annotation for a perspective
|
static PerspectiveLayout |
getPerspectiveLayoutFromPerspective(org.jacpfx.api.component.Perspective<javafx.scene.Node,javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> parentPerspective)
Returns the PerspectiveLayout instance from perspective interface
|
static void |
handleComponentMetaAnnotation(org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> component)
Set meta attributes defined in annotations.
|
public static PerspectiveUtil getInstance(org.jacpfx.api.launcher.Launcher<?> launcher)
launcher - the launcher objectpublic java.util.List<org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object>> createSubcomponents(org.jacpfx.api.annotations.perspective.Perspective perspectiveAnnotation)
perspectiveAnnotation - the perspective annotationpublic org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> createSubcomponentById(java.lang.String componentId)
componentId - the component idpublic static java.lang.String getPerspectiveIdFromAnnotation(org.jacpfx.api.component.Perspective<javafx.scene.Node,javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> perspective)
perspective - the perspective instancepublic static void handleComponentMetaAnnotation(org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> component)
component - ; the component containing metadata.public static PerspectiveLayout getPerspectiveLayoutFromPerspective(org.jacpfx.api.component.Perspective<javafx.scene.Node,javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> parentPerspective)
parentPerspective - the parent perspective