Class EmailQRCode
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Codes.Code
-
- com.cloudofficeprint.RenderElements.Codes.QRCode
-
- com.cloudofficeprint.RenderElements.Codes.EmailQRCode
-
public class EmailQRCode extends QRCode
This class is a subclass of QRCode and is used to generate an email QR-code element
-
-
Constructor Summary
Constructors Constructor Description EmailQRCode(java.lang.String name, java.lang.String receiver, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String body)
This object represents a mail QR-code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBcc()
java.lang.String
getBody()
java.lang.String
getCc()
com.google.gson.JsonObject
getJSON()
java.lang.String
getSubject()
void
setBcc(java.lang.String bcc)
void
setBody(java.lang.String body)
void
setCc(java.lang.String cc)
void
setSubject(java.lang.String subject)
-
Methods inherited from class com.cloudofficeprint.RenderElements.Codes.QRCode
getAutoColor, getAutoColorDark, getAutoColorLight, getBackGroundImage, getBackgroundImageAlpha, getColorDark, getColorLight, getDotScale, getHeightLogo, getLogo, getLogoBackGroundColor, getPiBLColor, getPiColor, getPiTLColor, getPiTRColor, getPoBLColor, getPoColor, getPoTLColor, getPoTRColor, getQuietZone, getQuietZoneColor, getTimingColor, getTimingHColor, getTimingVColor, getWidthLogo, setAutoColor, setAutoColorDark, setAutoColorLight, setBackGroundImage, setBackgroundImageAlpha, setBackGroundImageFromLocalFile, setColorDark, setColorLight, setDotScale, setHeightLogo, setLogo, setLogoBackGroundColor, setLogoFromLocalFile, setPiBLColor, setPiColor, setPiTLColor, setPiTRColor, setPoBLColor, setPoColor, setPoTLColor, setPoTRColor, setQuietZone, setQuietZoneColor, setTimingColor, setTimingHColor, setTimingVColor, setWidthLogo
-
Methods inherited from class com.cloudofficeprint.RenderElements.Codes.Code
getTemplateTags, getType, setType
-
Methods inherited from class com.cloudofficeprint.RenderElements.RenderElement
getName, getValue, setName, setValue
-
-
-
-
Constructor Detail
-
EmailQRCode
public EmailQRCode(java.lang.String name, java.lang.String receiver, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String body)
This object represents a mail QR-code. Use null if you don't want to specify some options. Styling options can be set with the setter functions of the upper class.- Parameters:
name
- Name of this code for the tag.receiver
- Mail address of the receiver.cc
- Extra receivers (cc).bcc
- Extra blind receivers (bcc).subject
- Subject of the e-mail.body
- Body of the e-mail.
-
-
Method Detail
-
getCc
public java.lang.String getCc()
- Returns:
- Extra receiver (cc).
-
setCc
public void setCc(java.lang.String cc)
- Parameters:
cc
- Extra receiver (cc).
-
getBcc
public java.lang.String getBcc()
- Returns:
- Blind receiver (bcc).
-
setBcc
public void setBcc(java.lang.String bcc)
- Parameters:
bcc
- Blind receiver (bcc).
-
getSubject
public java.lang.String getSubject()
- Returns:
- Subject of the e-mail.
-
setSubject
public void setSubject(java.lang.String subject)
- Parameters:
subject
- Subject of the e-mail.
-
getBody
public java.lang.String getBody()
- Returns:
- Body of the e-mail.
-
setBody
public void setBody(java.lang.String body)
- Parameters:
body
- Body of the e-mail.
-
-