Package net.sf.jasperreports.barcode4j
Class Code39Component
- java.lang.Object
-
- net.sf.jasperreports.barcode4j.BarcodeComponent
-
- net.sf.jasperreports.barcode4j.Barcode4jComponent
-
- net.sf.jasperreports.barcode4j.Code39Component
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Component
,JRChangeEventsSupport
,JRCloneable
,JREvaluation
,Designated
public class Code39Component extends Barcode4jComponent
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_CHECKSUM_MODE
static String
PROPERTY_DISPLAY_CHECKSUM
static String
PROPERTY_DISPLAY_START_STOP
static String
PROPERTY_EXTENDED_CHARSET_ENABLED
static String
PROPERTY_INTERCHAR_GAP_WIDTH
static String
PROPERTY_WIDE_FACTOR
-
Fields inherited from class net.sf.jasperreports.barcode4j.Barcode4jComponent
COMPONENT_DESIGNATION, PROPERTY_MODULE_WIDTH, PROPERTY_ORIENTATION, PROPERTY_PATTERN_EXPRESSION, PROPERTY_QUIET_ZONE, PROPERTY_TEXT_POSITION, PROPERTY_VERTICAL_QUIET_ZONE
-
Fields inherited from class net.sf.jasperreports.barcode4j.BarcodeComponent
COMPONENT_NAME_PREFIX, PROPERTY_CODE_EXPRESSION, PROPERTY_EVALUATION_GROUP, PROPERTY_EVALUATION_TIME, PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Code39Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getChecksumMode()
Double
getIntercharGapWidth()
Double
getWideFactor()
Boolean
isDisplayChecksum()
Boolean
isDisplayStartStop()
Boolean
isExtendedCharSetEnabled()
void
receive(BarcodeVisitor visitor)
void
setChecksumMode(String checksumMode)
void
setChecksumMode(org.krysalis.barcode4j.ChecksumMode checksumMode)
void
setDisplayChecksum(Boolean displayChecksum)
Enables or disables the use of the checksum in the human-readable message.void
setDisplayStartStop(Boolean displayStartStop)
Enables or disables the use of the start and stop characters in the human-readable message.void
setExtendedCharSetEnabled(Boolean extendedCharSetEnabled)
Enables or disables the extended character set.void
setIntercharGapWidth(Double intercharGapWidth)
Sets the width between encoded characters.void
setWideFactor(Double wideFactor)
Sets the factor by which wide bars are broader than narrow bars.-
Methods inherited from class net.sf.jasperreports.barcode4j.Barcode4jComponent
clone, getDesignation, getModuleWidth, getOrientation, getPatternExpression, getQuietZone, getTextPosition, getVerticalQuietZone, setModuleWidth, setOrientation, setPatternExpression, setQuietZone, setTextPosition, setVerticalQuietZone
-
Methods inherited from class net.sf.jasperreports.barcode4j.BarcodeComponent
cloneObject, getCodeExpression, getEvaluationGroup, getEvaluationTime, getEventSupport, setCodeExpression, setEvaluationGroup, setEvaluationTime
-
-
-
-
Field Detail
-
PROPERTY_CHECKSUM_MODE
public static final String PROPERTY_CHECKSUM_MODE
- See Also:
- Constant Field Values
-
PROPERTY_DISPLAY_CHECKSUM
public static final String PROPERTY_DISPLAY_CHECKSUM
- See Also:
- Constant Field Values
-
PROPERTY_DISPLAY_START_STOP
public static final String PROPERTY_DISPLAY_START_STOP
- See Also:
- Constant Field Values
-
PROPERTY_EXTENDED_CHARSET_ENABLED
public static final String PROPERTY_EXTENDED_CHARSET_ENABLED
- See Also:
- Constant Field Values
-
PROPERTY_INTERCHAR_GAP_WIDTH
public static final String PROPERTY_INTERCHAR_GAP_WIDTH
- See Also:
- Constant Field Values
-
PROPERTY_WIDE_FACTOR
public static final String PROPERTY_WIDE_FACTOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChecksumMode
public String getChecksumMode()
-
setChecksumMode
public void setChecksumMode(String checksumMode)
-
setChecksumMode
public void setChecksumMode(org.krysalis.barcode4j.ChecksumMode checksumMode)
-
isDisplayChecksum
public Boolean isDisplayChecksum()
-
setDisplayChecksum
public void setDisplayChecksum(Boolean displayChecksum)
Enables or disables the use of the checksum in the human-readable message.
-
isDisplayStartStop
public Boolean isDisplayStartStop()
-
setDisplayStartStop
public void setDisplayStartStop(Boolean displayStartStop)
Enables or disables the use of the start and stop characters in the human-readable message.
-
isExtendedCharSetEnabled
public Boolean isExtendedCharSetEnabled()
-
setExtendedCharSetEnabled
public void setExtendedCharSetEnabled(Boolean extendedCharSetEnabled)
Enables or disables the extended character set.
-
getIntercharGapWidth
public Double getIntercharGapWidth()
-
setIntercharGapWidth
public void setIntercharGapWidth(Double intercharGapWidth)
Sets the width between encoded characters.
-
getWideFactor
public Double getWideFactor()
-
setWideFactor
public void setWideFactor(Double wideFactor)
Sets the factor by which wide bars are broader than narrow bars.
-
receive
public void receive(BarcodeVisitor visitor)
- Specified by:
receive
in classBarcodeComponent
-
-