Class VCardQRCode
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Codes.Code
-
- com.cloudofficeprint.RenderElements.Codes.QRCode
-
- com.cloudofficeprint.RenderElements.Codes.VCardQRCode
-
public class VCardQRCode extends QRCode
This class is a subclass of QRCode and is used to generate a vCard QR-code element
-
-
Constructor Summary
Constructors Constructor Description VCardQRCode(java.lang.String name, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String website)
This object represents a VCF or vCard QR Code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEmail()
java.lang.String
getFirstName()
com.google.gson.JsonObject
getJSON()
java.lang.String
getLastName()
java.lang.String
getWebsite()
void
setEmail(java.lang.String email)
void
setFirstName(java.lang.String firstName)
void
setLastName(java.lang.String lastName)
void
setWebsite(java.lang.String website)
-
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
-
VCardQRCode
public VCardQRCode(java.lang.String name, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String website)
This object represents a VCF or vCard QR Code. Styling options can be set with the setter functions of the upper class.- Parameters:
name
- Name of this code for the tag.firstName
- First name for the card.lastName
- Last name for the card.email
- Email for the card.website
- Website for the card.
-
-
Method Detail
-
getFirstName
public java.lang.String getFirstName()
- Returns:
- First name for the card.
-
setFirstName
public void setFirstName(java.lang.String firstName)
- Parameters:
firstName
- First name for the card.
-
getLastName
public java.lang.String getLastName()
- Returns:
- Last name for the card.
-
setLastName
public void setLastName(java.lang.String lastName)
- Parameters:
lastName
- Last name for the card.
-
getEmail
public java.lang.String getEmail()
- Returns:
- Email for the card.
-
setEmail
public void setEmail(java.lang.String email)
- Parameters:
email
- Email for the card.
-
getWebsite
public java.lang.String getWebsite()
- Returns:
- Website for the card.
-
setWebsite
public void setWebsite(java.lang.String website)
- Parameters:
website
- Website for the card.
-
-