Class GeolocationQRCode
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.Codes.Code
-
- com.cloudofficeprint.RenderElements.Codes.QRCode
-
- com.cloudofficeprint.RenderElements.Codes.GeolocationQRCode
-
public class GeolocationQRCode extends QRCode
This class is a subclass of QRCode and is used to generate a geolocation QR-code element
-
-
Constructor Summary
Constructors Constructor Description GeolocationQRCode(java.lang.String name, java.lang.String latitude, java.lang.String altitude, java.lang.String longitude)
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
getAltitude()
com.google.gson.JsonObject
getJSON()
java.lang.String
getLongitude()
void
setAltitude(java.lang.String altitude)
void
setLongitude(java.lang.String longitude)
-
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
-
GeolocationQRCode
public GeolocationQRCode(java.lang.String name, java.lang.String latitude, java.lang.String altitude, java.lang.String longitude)
This object represents a VCF or vCard QR Code. Use null if you don't want to specify an option. Styling options can be set with the setter functions of the upper class.- Parameters:
name
- Name of this code for the tag.latitude
- Latitude.altitude
- Altitude.longitude
- Longitude.
-
-
Method Detail
-
getAltitude
public java.lang.String getAltitude()
- Returns:
- Altitude.
-
setAltitude
public void setAltitude(java.lang.String altitude)
- Parameters:
altitude
- Altitude.
-
getLongitude
public java.lang.String getLongitude()
- Returns:
- Longitude.
-
setLongitude
public void setLongitude(java.lang.String longitude)
- Parameters:
longitude
- Longitude.
-
-