Class BarcodeElement
-
- All Implemented Interfaces:
public final class BarcodeElement<T extends Object>
Internal class that declares barcode state on the view.
-
-
Field Summary
Fields Modifier and Type Field Description private T
data
private Boolean
shouldHighlight
private Boolean
shouldDrawPolygon
private List<PointF>
polygon
private FloatArray
points
private FloatArray
animationPoints
private List<<Error class: unknown class>>
animators
private final BarcodeItem
barcodeItem
private BarcodePolygonStyle
polygonStyle
-
Constructor Summary
Constructors Constructor Description BarcodeElement(BarcodeItem barcodeItem, BarcodePolygonStyle polygonStyle)
-
Method Summary
Modifier and Type Method Description final T
getData()
final Unit
setData(T data)
final Boolean
getShouldHighlight()
final Unit
setShouldHighlight(Boolean shouldHighlight)
final Boolean
getShouldDrawPolygon()
final Unit
setShouldDrawPolygon(Boolean shouldDrawPolygon)
final List<PointF>
getPolygon()
final Unit
setPolygon(List<PointF> polygon)
final FloatArray
getPoints()
final Unit
setPoints(FloatArray points)
final FloatArray
getAnimationPoints()
final Unit
setAnimationPoints(FloatArray animationPoints)
final List<<Error class: unknown class>>
getAnimators()
final Unit
setAnimators(List<<Error class: unknown class>> animators)
final BarcodeItem
getBarcodeItem()
final BarcodePolygonStyle
getPolygonStyle()
final Unit
setPolygonStyle(BarcodePolygonStyle polygonStyle)
Integer
hashCode()
String
toString()
-
-
Constructor Detail
-
BarcodeElement
BarcodeElement(BarcodeItem barcodeItem, BarcodePolygonStyle polygonStyle)
-
-
Method Detail
-
getShouldHighlight
final Boolean getShouldHighlight()
-
setShouldHighlight
final Unit setShouldHighlight(Boolean shouldHighlight)
-
getShouldDrawPolygon
final Boolean getShouldDrawPolygon()
-
setShouldDrawPolygon
final Unit setShouldDrawPolygon(Boolean shouldDrawPolygon)
-
getPolygon
final List<PointF> getPolygon()
-
setPolygon
final Unit setPolygon(List<PointF> polygon)
-
getPoints
final FloatArray getPoints()
-
setPoints
final Unit setPoints(FloatArray points)
-
getAnimationPoints
final FloatArray getAnimationPoints()
-
setAnimationPoints
final Unit setAnimationPoints(FloatArray animationPoints)
-
getAnimators
final List<<Error class: unknown class>> getAnimators()
-
setAnimators
final Unit setAnimators(List<<Error class: unknown class>> animators)
-
getBarcodeItem
final BarcodeItem getBarcodeItem()
-
getPolygonStyle
final BarcodePolygonStyle getPolygonStyle()
-
setPolygonStyle
final Unit setPolygonStyle(BarcodePolygonStyle polygonStyle)
-
-
-
-