Package net.officefloor.gef.editor
Class DefaultImages
- java.lang.Object
-
- net.officefloor.gef.editor.DefaultImages
-
public class DefaultImages extends java.lang.Object
Default images.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static AdaptedActionVisualFactory
ADD
AdaptedActionVisualFactory
for deafult add image.static java.lang.String
ADD_IMAGE
Add image name.static java.lang.String
ADD_IMAGE_HOVER
Add image hover name.static AdaptedActionVisualFactory
DELETE
AdaptedActionVisualFactory
for default delete image.static java.lang.String
DELETE_IMAGE
Delete image name.static java.lang.String
DELETE_IMAGE_HOVER
Delete image hover name.static AdaptedActionVisualFactory
EDIT
AdaptedActionVisualFactory
for default edit image.static java.lang.String
EDIT_IMAGE
Edit image name.static java.lang.String
EDIT_IMAGE_HOVER
Edit image hover name.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javafx.scene.Node
createImageWithHover(java.lang.Class<?> resourceClass, java.lang.String imageFilePath, java.lang.String hoverImageFilePath)
Creates image with hover.
-
-
-
Field Detail
-
ADD_IMAGE
public static final java.lang.String ADD_IMAGE
Add image name.- See Also:
- Constant Field Values
-
ADD_IMAGE_HOVER
public static final java.lang.String ADD_IMAGE_HOVER
Add image hover name.- See Also:
- Constant Field Values
-
ADD
public static final AdaptedActionVisualFactory ADD
AdaptedActionVisualFactory
for deafult add image.
-
EDIT_IMAGE
public static final java.lang.String EDIT_IMAGE
Edit image name.- See Also:
- Constant Field Values
-
EDIT_IMAGE_HOVER
public static final java.lang.String EDIT_IMAGE_HOVER
Edit image hover name.- See Also:
- Constant Field Values
-
EDIT
public static final AdaptedActionVisualFactory EDIT
AdaptedActionVisualFactory
for default edit image.
-
DELETE_IMAGE
public static final java.lang.String DELETE_IMAGE
Delete image name.- See Also:
- Constant Field Values
-
DELETE_IMAGE_HOVER
public static final java.lang.String DELETE_IMAGE_HOVER
Delete image hover name.- See Also:
- Constant Field Values
-
DELETE
public static final AdaptedActionVisualFactory DELETE
AdaptedActionVisualFactory
for default delete image.
-
-
Method Detail
-
createImageWithHover
public static javafx.scene.Node createImageWithHover(java.lang.Class<?> resourceClass, java.lang.String imageFilePath, java.lang.String hoverImageFilePath)
Creates image with hover.- Parameters:
resourceClass
- ResourceClass
to find image files.imageFilePath
- Path to image.hoverImageFilePath
- Path to hover image.- Returns:
Node
for image with hover.
-
-