Package com.cksource.ckfinder.config
Class Config.Images
java.lang.Object
com.cksource.ckfinder.config.Config.Images
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Config
Configuration node for image processing.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getSizes()
void
setMaxHeight
(int maxHeight) void
setMaxWidth
(int maxWidth) void
setQuality
(int quality) void
-
Constructor Details
-
Images
public Images()
-
-
Method Details
-
getMaxWidth
public int getMaxWidth()- Returns:
- maximum allowed image with (0 means no limit)
-
setMaxWidth
public void setMaxWidth(int maxWidth) - Parameters:
maxWidth
- maximum allowed image with (0 means no limit)
-
getMaxHeight
public int getMaxHeight()- Returns:
- maximum allowed image height (0 means no limit)
-
setMaxHeight
public void setMaxHeight(int maxHeight) - Parameters:
maxHeight
- maximum allowed image height (0 means no limit)
-
getQuality
public int getQuality()- Returns:
- quality of created images in a range from 1 to 100
-
setQuality
public void setQuality(int quality) - Parameters:
quality
- quality of created images in a range from 1 to 100
-
getSizes
- Returns:
- list defining the sizes of images that can be easily selected from CKFinder and passed to an external application (e.g. CKEditor) without having to resize the image manually
-
setSizes
- Parameters:
sizes
- list defining the sizes of images that can be easily selected from CKFinder and passed to an external application (e.g. CKEditor) without having to resize the image manually
-