Class ConvertImage
- java.lang.Object
-
- ca.cgjennings.apps.arkham.project.TaskAction
-
- ca.cgjennings.apps.arkham.project.TaskActionTree
-
- ca.cgjennings.apps.arkham.project.ConvertImage
-
- All Implemented Interfaces:
IconProvider
,java.lang.Iterable<TaskAction>
public class ConvertImage extends TaskActionTree
A task action tree that can convert and/or recompress a source image to one of the standard Strange Eons image formats for plug-ins (png, jpg, jp2).- Since:
- 3.0
- Author:
- Chris Jennings
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_REPLACE_ORIGINAL
Setting key that stores that default value for the option to replace the original file.
-
Constructor Summary
Constructors Constructor Description ConvertImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns a longer description of the action, suitable for use as a tool tip.java.lang.String
getLabel()
Returns the human-readable name of this action.-
Methods inherited from class ca.cgjennings.apps.arkham.project.TaskActionTree
add, add, appliesTo, appliesToSelection, findActionByName, get, getSectionIndex, indexOf, isAppliesToShortCircuited, iterator, perform, remove, remove, size
-
Methods inherited from class ca.cgjennings.apps.arkham.project.TaskAction
applyToChildren, getActionName, getIcon, performOnSelection, resolveTarget, toString
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Description copied from class:TaskAction
Returns the human-readable name of this action.- Specified by:
getLabel
in classTaskAction
- Returns:
- the name used to create menu items for this action, localized if possible
-
getDescription
public java.lang.String getDescription()
Description copied from class:TaskAction
Returns a longer description of the action, suitable for use as a tool tip.- Overrides:
getDescription
in classTaskAction
- Returns:
- a long description of the action, or
null
-
-