|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.visualization.engines.lowvision.PageEvaluation
public class PageEvaluation
Utility class to evaluate accessibility of IPageImage
| Constructor Summary | |
|---|---|
PageEvaluation(IPageImage _pageImage)
Constructor of PageEvaluation utility |
|
| Method Summary | |
|---|---|
List<IProblemItem> |
check(LowVisionType type,
String urlS,
int frameId)
Evaluate accessibility of target IPageImage |
void |
generateReport(String _path,
String _htmlName,
String _imgName,
List<IProblemItem> _problemGroupArray)
Generate report file from IProblemItem list. |
String[] |
getAllowedBackgroundColors()
Get allowed background colors |
String[] |
getAllowedForegroundColors()
Get allowed foreground colors |
ImagePositionInfo[] |
getInteriorImagePosition()
Get interior image position (e.g., |
IPageImage |
getPageImage()
Get target IPageImage |
void |
setAllowedColors(String[] _fg,
String[] _bg)
Set allowed foreground/background colors |
void |
setCurrentStyles(Map<String,ICurrentStyles> _styleMap)
|
void |
setInteriorImagePosition(ImagePositionInfo[] infoArray)
Set interior image position (e.g., |
void |
unsupportedModeReport(File targetFile)
Generate report file for unsupported mode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageEvaluation(IPageImage _pageImage)
_pageImage - target IPageImage| Method Detail |
|---|
public IPageImage getPageImage()
IPageImage
IPageImagepublic ImagePositionInfo[] getInteriorImagePosition()
ImagePositionInfopublic void setInteriorImagePosition(ImagePositionInfo[] infoArray)
infoArray - array of ImagePositionInfopublic void setCurrentStyles(Map<String,ICurrentStyles> _styleMap)
_styleMap - public String[] getAllowedForegroundColors()
public String[] getAllowedBackgroundColors()
public void setAllowedColors(String[] _fg,
String[] _bg)
_fg - array of allowed foreground colors_bg - array of allowed background colors
public List<IProblemItem> check(LowVisionType type,
String urlS,
int frameId)
IPageImage
type - target low vision typeurlS - target's URLframeId - target's frame ID
IProblemItemLowVisionType
public void unsupportedModeReport(File targetFile)
throws LowVisionException
targetFile - target file path to save report
LowVisionException
public void generateReport(String _path,
String _htmlName,
String _imgName,
List<IProblemItem> _problemGroupArray)
throws LowVisionException
IProblemItem list.
_path - target path_htmlName - report file name_imgName - report image file name_problemGroupArray - target IProblemItem list
LowVisionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||