|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.crionics.jpdf.creator.ColorSearchPreferences
public class ColorSearchPreferences
This class contains various attributes which will be used when checking for color in Documents.
| Constructor Summary | |
|---|---|
ColorSearchPreferences()
Constructor. |
|
| Method Summary | |
|---|---|
int |
getGrayThreshold()
Returns the Gray Threshold value. |
boolean |
isCheckingAnnotations()
Determines if the annotations (links, Form Fields,...) will be processed or not. |
boolean |
isCheckingContent()
Determines if the elements of the pages other than Annotations and Images will be processed or not. |
boolean |
isCheckingImages()
Determines if the Images will be processed or not. |
void |
reset()
Resets the different attributes of the preferences to their default value. |
void |
setCheckAnnotations(boolean flag)
Specifies if Annotations (Links, Form Fields,...) should be analysed. |
void |
setCheckContent(boolean flag)
Specifies if elements other than Annotations and Images should be analysed. |
void |
setCheckImages(boolean flag)
Specifies if Images should be analysed. |
void |
setGrayThreshold(int thegrayThreshold)
Specifies the maximum difference allowed between each component of a Color (Red - Green, Green - Blue, Red - Blue) before declaring a color an actual color value (understand non gray). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorSearchPreferences()
| Method Detail |
|---|
public int getGrayThreshold()
setGrayThreshold(int)
public boolean isCheckingAnnotations()
setCheckAnnotations(boolean)
public boolean isCheckingContent()
setCheckContent(boolean)
public boolean isCheckingImages()
setCheckImages(boolean)
public void reset()
public void setCheckAnnotations(boolean flag)
flag - true to analyse the annotations, false otherwise.public void setCheckContent(boolean flag)
flag - true to analyse the elements, false otherwise.public void setCheckImages(boolean flag)
flag - true to analyse the images, false otherwise.public void setGrayThreshold(int thegrayThreshold)
thegrayThreshold -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||