|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.backend.documentWriter.pdf.PdfColorVisitor
Color visitor for pdf.
Constructor Summary | |
PdfColorVisitor()
|
Method Summary | |
java.lang.Object |
visitCmyk(CmykColor color,
java.lang.Object value)
This method is called when an CmykColor
has been encountered. |
java.lang.Object |
visitGray(GrayscaleColor color,
java.lang.Object value)
This method is called when an GrayscaleColor
has been encountered. |
java.lang.Object |
visitHsv(HsvColor color,
java.lang.Object value)
This method is called when an HsvColor
has been encountered. |
java.lang.Object |
visitRgb(RgbColor color,
java.lang.Object value)
This method is called when an RgbColor
has been encountered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PdfColorVisitor()
Method Detail |
public java.lang.Object visitCmyk(CmykColor color, java.lang.Object value) throws GeneralException
ColorVisitor
CmykColor
has been encountered.
visitCmyk
in interface ColorVisitor
color
- the first parameter for the visitor is the color visitedvalue
- the second parameter is a visitor specific object
GeneralException
- in case of an errorColorVisitor.visitCmyk(de.dante.extex.color.model.CmykColor, java.lang.Object)
public java.lang.Object visitGray(GrayscaleColor color, java.lang.Object value) throws GeneralException
ColorVisitor
GrayscaleColor
has been encountered.
visitGray
in interface ColorVisitor
color
- the first parameter for the visitor is the color visitedvalue
- the second parameter is a visitor specific object
GeneralException
- in case of an errorColorVisitor.visitGray(
de.dante.extex.color.model.GrayscaleColor, java.lang.Object)
public java.lang.Object visitHsv(HsvColor color, java.lang.Object value) throws GeneralException
ColorVisitor
HsvColor
has been encountered.
visitHsv
in interface ColorVisitor
color
- the first parameter for the visitor is the color visitedvalue
- the second parameter is a visitor specific object
GeneralException
- in case of an errorColorVisitor.visitHsv(
de.dante.extex.color.model.HsvColor, java.lang.Object)
public java.lang.Object visitRgb(RgbColor color, java.lang.Object value) throws GeneralException
ColorVisitor
RgbColor
has been encountered.
visitRgb
in interface ColorVisitor
color
- the first parameter for the visitor is the color visitedvalue
- the second parameter is a visitor specific object
GeneralException
- in case of an errorColorVisitor.visitRgb(
de.dante.extex.color.model.RgbColor, java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |