Interface GraphicalMedium
- All Superinterfaces:
BinaryMedium
Definition of the value container for a picture based editor.
- Since:
- 4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.editor.value.BinaryMedium
BinaryMedium.Type
-
Field Summary
Fields inherited from interface de.espirit.firstspirit.access.editor.value.BinaryMedium
MEDIA_FOLDER_REF_PREFIX, MEDIA_REF_PREFIX
-
Method Summary
Modifier and TypeMethodDescriptionProvides the border width to be used.Provides the image's height.Provides the horizontal spacing for the image.Provides the vertical spacing for the image.getWidth()
Provides the image's width.void
setBorderWidth
(Integer borderWidth) Defines the border width to be used.void
Sets the image's height.void
setHorizontalSpace
(Integer horizontalSpace) Sets the horizontal spacing for the image.void
setVerticalSpace
(Integer verticalSpace) Sets the vertical spacing for the image.void
Sets the images width.Methods inherited from interface de.espirit.firstspirit.access.editor.value.BinaryMedium
getAltText, getComment, getElement, getElementName, getFile, getFolder, getLanguage, getMedium, getPicture, getRemoteName, getType, isEmpty, setAltText, setComment, setElementName, setFolder, setMedium, setRemoteName
-
Method Details
-
getHeight
Integer getHeight()Provides the image's height.- Returns:
- The height.
- Since:
- 4.0
-
setHeight
Sets the image's height.- Parameters:
height
- The height.- Since:
- 4.0
-
getWidth
Integer getWidth()Provides the image's width.- Returns:
- The width.
- Since:
- 4.0
-
setWidth
Sets the images width.- Parameters:
width
- The width.- Since:
- 4.0
-
getBorderWidth
Integer getBorderWidth()Provides the border width to be used.- Returns:
- The border width.
- Since:
- 4.0
-
setBorderWidth
Defines the border width to be used.- Parameters:
borderWidth
- The border width.- Since:
- 4.0
-
getHorizontalSpace
Integer getHorizontalSpace()Provides the horizontal spacing for the image.- Returns:
- The horizontal spacing.
- Since:
- 4.0
-
setHorizontalSpace
Sets the horizontal spacing for the image.- Parameters:
horizontalSpace
- The horizontal spacing.- Since:
- 4.0
-
getVerticalSpace
Integer getVerticalSpace()Provides the vertical spacing for the image.- Returns:
- The vertical spacing.
- Since:
- 4.0
-
setVerticalSpace
Sets the vertical spacing for the image.- Parameters:
verticalSpace
- The spacing.- Since:
- 4.0
-