Package net.officefloor.gef.editor
Interface AdaptedActionVisualFactoryContext
- 
- All Known Implementing Classes:
- AdaptedActionHandlePart,- AdaptedChildVisualFactoryContextImpl,- AdaptedModelVisualFactoryContextImpl
 
 public interface AdaptedActionVisualFactoryContextContext for theAdaptedActionVisualFactory.- Author:
- Daniel Sagenschneider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description <N extends javafx.scene.Node>
 NaddNode(javafx.scene.layout.Pane parent, N node)Add theNodeto the parentPanereturning it.javafx.scene.NodecreateImageWithHover(java.lang.Class<?> resourceClass, java.lang.String imageFilePath, java.lang.String hoverImageFilePath)Convenience method to create aNodewithImageand hoverImage.
 
- 
- 
- 
Method Detail- 
addNode<N extends javafx.scene.Node> N addNode(javafx.scene.layout.Pane parent, N node)Add the Nodeto the parentPanereturning it.This allows for convenient adding new Nodeinstances toPane.- Type Parameters:
- N-- Nodetype.
- Parameters:
- parent- Parent- Pane.
- node-- Node.
- Returns:
- Input Node
 
 - 
createImageWithHoverjavafx.scene.Node createImageWithHover(java.lang.Class<?> resourceClass, java.lang.String imageFilePath, java.lang.String hoverImageFilePath)Convenience method to create aNodewithImageand hoverImage. Typically this is to create button for the action.- Parameters:
- resourceClass-- Classwithin the class path containing the images.
- imageFilePath- Path to the- Image.
- hoverImageFilePath- Path to the hover- Image.
- Returns:
- Nodefor the- Imagewith hover.
- See Also:
- DefaultImages
 
 
- 
 
-