Class AdaptedEditorPreview<M extends Model>
- java.lang.Object
-
- net.officefloor.gef.editor.preview.AdaptedEditorPreview<M>
-
public class AdaptedEditorPreview<M extends Model> extends java.lang.Object
Preview of anAdaptedModel
IVisualPart
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AdaptedEditorPreview(M model, java.lang.String label, boolean isParent, AdaptedChildVisualFactory<M> visualFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.layout.Pane
getPreviewContainer()
Obtains the preview container.javafx.scene.Node
getPreviewVisual()
Obtains the preview visual.javafx.beans.property.Property<java.lang.String>
style()
Obtains the styleProperty
.
-
-
-
Constructor Detail
-
AdaptedEditorPreview
public AdaptedEditorPreview(M model, java.lang.String label, boolean isParent, AdaptedChildVisualFactory<M> visualFactory)
Instantiate.- Parameters:
model
- Model.label
- Label.isParent
- Indicates ifAdaptedParent
.visualFactory
-AdaptedChildVisualFactory
.
-
-
Method Detail
-
getPreviewVisual
public javafx.scene.Node getPreviewVisual()
Obtains the preview visual.- Returns:
- Preview visual.
-
getPreviewContainer
public javafx.scene.layout.Pane getPreviewContainer()
Obtains the preview container.- Returns:
- Preview container.
-
style
public javafx.beans.property.Property<java.lang.String> style()
Obtains the styleProperty
.- Returns:
- Style
Property
.
-
-