colorAdjustBrightness
public abstract void colorAdjustBrightness()
Adjust the brightness of the current image.
colorAdjustContrast
public abstract void colorAdjustContrast()
Adjust the contrast of the current image.
colorAdjustGamma
public abstract void colorAdjustGamma()
Adjust the gamma value of the current image.
colorAdjustHueSaturationValue
public abstract void colorAdjustHueSaturationValue()
Adjust hue, saturation and value of the current image.
colorConvertToMinimumColorType
public abstract void colorConvertToMinimumColorType()
colorHistogramCountColorsUsed
public abstract void colorHistogramCountColorsUsed()
Count the number of colors used in the current image.
colorHistogramEqualize
public abstract void colorHistogramEqualize()
colorHistogramNormalize
public abstract void colorHistogramNormalize()
colorHistogramSaveCoOccurrenceFrequencyMatrixAs
public abstract void colorHistogramSaveCoOccurrenceFrequencyMatrixAs()
colorHistogramSaveCoOccurrenceMatrixAs
public abstract void colorHistogramSaveCoOccurrenceMatrixAs()
colorHistogramSaveHistogramAs
public abstract void colorHistogramSaveHistogramAs()
colorHistogramTextureProperties
public abstract void colorHistogramTextureProperties()
colorInvert
public abstract void colorInvert()
colorPaletteSaveAs
public abstract void colorPaletteSaveAs()
colorPromotePromoteToGray16
public abstract void colorPromotePromoteToGray16()
colorPromotePromoteToGray8
public abstract void colorPromotePromoteToGray8()
colorPromotePromoteToPaletted
public abstract void colorPromotePromoteToPaletted()
colorPromotePromoteToRgb24
public abstract void colorPromotePromoteToRgb24()
colorPromotePromoteToRgb48
public abstract void colorPromotePromoteToRgb48()
colorReduceConvertToGrayscale
public abstract void colorReduceConvertToGrayscale()
colorReduceMapToArbitraryPalette
public abstract void colorReduceMapToArbitraryPalette()
colorReduceMedianCut
public abstract void colorReduceMedianCut()
colorReduceOctree
public abstract void colorReduceOctree()
colorReduceReduceNumberOfShadesOfGray
public abstract void colorReduceReduceNumberOfShadesOfGray()
colorReduceReduceToBilevelThreshold
public abstract void colorReduceReduceToBilevelThreshold()
colorReduceUniformPalette
public abstract void colorReduceUniformPalette()
editRedo
public abstract void editRedo()
editUndo
public abstract void editUndo()
fileClose
public abstract void fileClose()
If there is an image loaded in the application, remove the image.
fileExit
public abstract void fileExit()
Terminate the application.
If changes were not saved, the user should be asked whether these changes
should be discarded.
fileOpen
public abstract void fileOpen(String uri)
Load an image in the application.
fileSaveAsBmp
public abstract void fileSaveAsBmp()
Save the current image as a Windows BMP file.
fileSaveAsGif
public abstract void fileSaveAsGif()
Save the current image as a GIF file.
fileSaveAsPalm
public abstract void fileSaveAsPalm()
Save the current image as a Palm image file.
fileSaveAsPbm
public abstract void fileSaveAsPbm()
Save the current image as a Portable Bitmap file.
fileSaveAsPgm
public abstract void fileSaveAsPgm()
Save the current image as a Portable Graymap file.
fileSaveAsPng
public abstract void fileSaveAsPng()
Save the current image as a Portable Network Graphics file.
fileSaveAsPpm
public abstract void fileSaveAsPpm()
Save the current image as a Portable Pixmap file.
fileSaveAsRas
public abstract void fileSaveAsRas()
Save the current image as a Sun Raster file.
filtersBlur
public abstract void filtersBlur()
filtersEdgeDetection
public abstract void filtersEdgeDetection()
filtersEmboss
public abstract void filtersEmboss()
filtersHorizontalPrewitt
public abstract void filtersHorizontalPrewitt()
filtersHorizontalSobel
public abstract void filtersHorizontalSobel()
filtersLithograph
public abstract void filtersLithograph()
filtersMaximum
public abstract void filtersMaximum()
filtersMean
public abstract void filtersMean()
filtersMedian
public abstract void filtersMedian()
filtersMinimum
public abstract void filtersMinimum()
filtersOil
public abstract void filtersOil()
filtersPsychedelicDistillation
public abstract void filtersPsychedelicDistillation()
filtersSharpen
public abstract void filtersSharpen()
filtersVerticalPrewitt
public abstract void filtersVerticalPrewitt()
filtersVerticalSobel
public abstract void filtersVerticalSobel()
getEditorState
public EditorState getEditorState()
Returns the EditorState object given to this object's constructor.
- EditorState object used by this processor
helpAbout
public abstract void helpAbout()
Display information about the application:
name, version, feedback email address, website.
helpSystemInformation
public abstract void helpSystemInformation()
Display information on the system this application
is currently running on.
isAvailable
public boolean isAvailable(int menuIndex)
Returns if the operation given by the menu index (from
MenuIndexConstants
is available regarding the current editor state.
This method is used to update the enabled status of menu items so that
they reflect what can be done in the current state of an application.
Thus, things that cannot be done cannot be chosen in the menu
because they are disabled.
Example: the File | Save as... items are disabled as long as there is no image loaded,
simply because there is nothing to save.
menuIndex
- index of menu item to be checked
- whether the operation is available (if true, menu item
should be enabled)
process
public void process(int menuIndex)
transformationsCrop
public abstract void transformationsCrop()
transformationsFlip
public abstract void transformationsFlip()
transformationsMirror
public abstract void transformationsMirror()
transformationsRotate180
public abstract void transformationsRotate180()
transformationsRotate90Left
public abstract void transformationsRotate90Left()
transformationsRotate90Right
public abstract void transformationsRotate90Right()
transformationsScale
public abstract void transformationsScale()
transformationsShear
public abstract void transformationsShear()
viewInterpolationTypeBicubic
public abstract void viewInterpolationTypeBicubic()
viewInterpolationTypeBilinear
public abstract void viewInterpolationTypeBilinear()
viewInterpolationTypeNearestNeighbor
public abstract void viewInterpolationTypeNearestNeighbor()
viewSetOriginalSize
public abstract void viewSetOriginalSize()
viewZoomIn
public abstract void viewZoomIn()
viewZoomOut
public abstract void viewZoomOut()