Package net.officefloor.gef.editor
Interface OverlayVisualContext
-
- All Known Implementing Classes:
AdaptedOverlayHandlePart
public interface OverlayVisualContextContext for an overlay.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the overlay.javafx.scene.layout.PanegetOverlayParent()Obtains the parentPanethat loads as the overlay.voidsetFixedHeight(boolean isFixedHeight)Indicates whether the overlay is fixed height.voidsetFixedWidth(boolean isFixedWith)Indicates whether the overlay is fixed width.
-
-
-
Method Detail
-
getOverlayParent
javafx.scene.layout.Pane getOverlayParent()
Obtains the parent
Panethat loads as the overlay.Content for the overlay to be added to this
Pane.- Returns:
- Parent
Paneto load in the overlay.
-
setFixedWidth
void setFixedWidth(boolean isFixedWith)
Indicates whether the overlay is fixed width.
By default the overlay resizes.
- Parameters:
isFixedWith-truefor fixed width.
-
setFixedHeight
void setFixedHeight(boolean isFixedHeight)
Indicates whether the overlay is fixed height.
By default the overlay resizes.
- Parameters:
isFixedHeight-truefor fixed height.
-
close
void close()
Closes the overlay.
-
-