Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
net.sourceforge.jiu.apps.OperationProcessor
net.sourceforge.jiu.gui.awt.AwtOperationProcessor
public class AwtOperationProcessor
extends OperationProcessor
OperationProcessor
,
uses various AWT dialogs to get parameters from user in a GUI application.
Field Summary | |
private JiuAwtFrame |
Fields inherited from class net.sourceforge.jiu.apps.OperationProcessor | |
state |
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
private int |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
private void | |
void |
|
void |
|
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
String |
|
String |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
void | |
void | |
void | |
void | |
void | |
void |
public void colorAdjustBrightness()
Adjust the brightness of the current image.
- Overrides:
- colorAdjustBrightness in interface OperationProcessor
public void colorAdjustContrast()
Adjust the contrast of the current image.
- Overrides:
- colorAdjustContrast in interface OperationProcessor
public void colorAdjustGamma()
Adjust the gamma value of the current image.
- Overrides:
- colorAdjustGamma in interface OperationProcessor
public void colorAdjustHueSaturationValue()
Adjust hue, saturation and value of the current image.
- Overrides:
- colorAdjustHueSaturationValue in interface OperationProcessor
public void colorConvertToMinimumColorType()
- Overrides:
- colorConvertToMinimumColorType in interface OperationProcessor
public void colorHistogramCountColorsUsed()
Count the number of colors used in the current image.
- Overrides:
- colorHistogramCountColorsUsed in interface OperationProcessor
public void colorHistogramEqualize()
- Overrides:
- colorHistogramEqualize in interface OperationProcessor
public void colorHistogramNormalize()
- Overrides:
- colorHistogramNormalize in interface OperationProcessor
public void colorHistogramSaveCoOccurrenceFrequencyMatrixAs()
- Overrides:
- colorHistogramSaveCoOccurrenceFrequencyMatrixAs in interface OperationProcessor
public void colorHistogramSaveCoOccurrenceMatrixAs()
- Overrides:
- colorHistogramSaveCoOccurrenceMatrixAs in interface OperationProcessor
public void colorHistogramSaveHistogramAs()
- Overrides:
- colorHistogramSaveHistogramAs in interface OperationProcessor
public void colorHistogramTextureProperties()
- Overrides:
- colorHistogramTextureProperties in interface OperationProcessor
public void colorPaletteSaveAs()
- Overrides:
- colorPaletteSaveAs in interface OperationProcessor
public void colorPromotePromoteToGray16()
- Overrides:
- colorPromotePromoteToGray16 in interface OperationProcessor
public void colorPromotePromoteToGray8()
- Overrides:
- colorPromotePromoteToGray8 in interface OperationProcessor
public void colorPromotePromoteToPaletted()
- Overrides:
- colorPromotePromoteToPaletted in interface OperationProcessor
public void colorPromotePromoteToRgb24()
- Overrides:
- colorPromotePromoteToRgb24 in interface OperationProcessor
public void colorPromotePromoteToRgb48()
- Overrides:
- colorPromotePromoteToRgb48 in interface OperationProcessor
public void colorReduceConvertToGrayscale()
- Overrides:
- colorReduceConvertToGrayscale in interface OperationProcessor
public void colorReduceMapToArbitraryPalette()
- Overrides:
- colorReduceMapToArbitraryPalette in interface OperationProcessor
public void colorReduceMedianCut()
- Overrides:
- colorReduceMedianCut in interface OperationProcessor
public void colorReduceOctree()
- Overrides:
- colorReduceOctree in interface OperationProcessor
public void colorReduceReduceNumberOfShadesOfGray()
- Overrides:
- colorReduceReduceNumberOfShadesOfGray in interface OperationProcessor
public void colorReduceReduceToBilevelThreshold()
- Overrides:
- colorReduceReduceToBilevelThreshold in interface OperationProcessor
public void colorReduceUniformPalette()
- Overrides:
- colorReduceUniformPalette in interface OperationProcessor
private int convertUniformToErrorDiffusion(int utype)
public void fileClose()
If there is an image loaded in the application, remove the image.
- Overrides:
- fileClose in interface OperationProcessor
public void fileExit()
Terminate the application. If changes were not saved, the user should be asked whether these changes should be discarded.
- Overrides:
- fileExit in interface OperationProcessor
public void fileOpen(String uri)
Load an image in the application.
- Overrides:
- fileOpen in interface OperationProcessor
public void fileSaveAsBmp()
Save the current image as a Windows BMP file.
- Overrides:
- fileSaveAsBmp in interface OperationProcessor
public void fileSaveAsGif()
Save the current image as a GIF file.
- Overrides:
- fileSaveAsGif in interface OperationProcessor
public void fileSaveAsPalm()
Save the current image as a Palm image file.
- Overrides:
- fileSaveAsPalm in interface OperationProcessor
public void fileSaveAsPbm()
Save the current image as a Portable Bitmap file.
- Overrides:
- fileSaveAsPbm in interface OperationProcessor
public void fileSaveAsPgm()
Save the current image as a Portable Graymap file.
- Overrides:
- fileSaveAsPgm in interface OperationProcessor
public void fileSaveAsPng()
Save the current image as a Portable Network Graphics file.
- Overrides:
- fileSaveAsPng in interface OperationProcessor
private void fileSaveAsPnm()
public void fileSaveAsPpm()
Save the current image as a Portable Pixmap file.
- Overrides:
- fileSaveAsPpm in interface OperationProcessor
public void fileSaveAsRas()
Save the current image as a Sun Raster file.
- Overrides:
- fileSaveAsRas in interface OperationProcessor
public void filterConvolutionFilter(int type)
public void filtersEdgeDetection()
- Overrides:
- filtersEdgeDetection in interface OperationProcessor
public void filtersHorizontalPrewitt()
- Overrides:
- filtersHorizontalPrewitt in interface OperationProcessor
public void filtersHorizontalSobel()
- Overrides:
- filtersHorizontalSobel in interface OperationProcessor
public void filtersLithograph()
- Overrides:
- filtersLithograph in interface OperationProcessor
public void filtersPsychedelicDistillation()
- Overrides:
- filtersPsychedelicDistillation in interface OperationProcessor
public void filtersVerticalPrewitt()
- Overrides:
- filtersVerticalPrewitt in interface OperationProcessor
public void filtersVerticalSobel()
- Overrides:
- filtersVerticalSobel in interface OperationProcessor
public String getUserFileName(String extension, int titleIndex, int fileDialogType)
public String getUserSaveAsFileName(String extension, int titleIndex)
public void helpAbout()
Display information about the application: name, version, feedback email address, website.
- Overrides:
- helpAbout in interface OperationProcessor
public void helpSystemInformation()
Display information on the system this application is currently running on.
- Overrides:
- helpSystemInformation in interface OperationProcessor
public void process(ImageToImageOperation op)
This method can be called for ImageToImageOperation objects.
public void transformationsCrop()
- Overrides:
- transformationsCrop in interface OperationProcessor
public void transformationsFlip()
- Overrides:
- transformationsFlip in interface OperationProcessor
public void transformationsMirror()
- Overrides:
- transformationsMirror in interface OperationProcessor
public void transformationsRotate180()
- Overrides:
- transformationsRotate180 in interface OperationProcessor
public void transformationsRotate90Left()
- Overrides:
- transformationsRotate90Left in interface OperationProcessor
public void transformationsRotate90Right()
- Overrides:
- transformationsRotate90Right in interface OperationProcessor
public void transformationsScale()
- Overrides:
- transformationsScale in interface OperationProcessor
public void transformationsShear()
- Overrides:
- transformationsShear in interface OperationProcessor
public void viewInterpolationTypeBicubic()
- Overrides:
- viewInterpolationTypeBicubic in interface OperationProcessor
public void viewInterpolationTypeBilinear()
- Overrides:
- viewInterpolationTypeBilinear in interface OperationProcessor
public void viewInterpolationTypeNearestNeighbor()
- Overrides:
- viewInterpolationTypeNearestNeighbor in interface OperationProcessor
public void viewSetOriginalSize()
- Overrides:
- viewSetOriginalSize in interface OperationProcessor