|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiITF14BarCodeType
public class StiITF14BarCodeType
The class describes the Barcode type - ITF-14.
Field Summary |
---|
Fields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService |
---|
visiblePropertiesCount |
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiITF14BarCodeType()
|
|
StiITF14BarCodeType(double module,
double height,
double ratio,
boolean printVerticalBars)
|
Method Summary | |
---|---|
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom)
Draws the bar code with the specified parameters. |
java.lang.String |
getDefaultCodeValue()
|
double |
getHeight()
Gets os sets height factor of the bar code. |
double |
getLabelFontHeight()
|
double |
getModule()
Gets or sets width of the most fine element of the bar code. |
boolean |
getPrintVerticalBars()
Get or sets value, which indicates, print or not vertical sections. |
double |
getRatio()
Get or sets value, which indicates WideToNarrow ratio. |
java.lang.String |
getServiceName()
Gets a service name. |
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setHeight(double value)
|
void |
setModule(double value)
|
void |
setPrintVerticalBars(boolean value)
|
void |
setRatio(double value)
|
Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService |
---|
GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, LoadFromJsonObjectInternal, setExportPainter, toString |
Methods inherited from class com.stimulsoft.base.services.StiService |
---|
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StiITF14BarCodeType()
public StiITF14BarCodeType(double module, double height, double ratio, boolean printVerticalBars)
Method Detail |
---|
public java.lang.String getServiceName()
getServiceName
in class StiService
public double getModule()
getModule
in class StiBarCodeTypeService
public void setModule(double value)
setModule
in class StiBarCodeTypeService
public double getHeight()
getHeight
in class StiBarCodeTypeService
public void setHeight(double value)
setHeight
in class StiBarCodeTypeService
public final double getRatio()
public final void setRatio(double value)
public final boolean getPrintVerticalBars()
public final void setPrintVerticalBars(boolean value)
public double getLabelFontHeight()
getLabelFontHeight
in class StiBarCodeTypeService
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws java.lang.Exception
draw
in class StiBarCodeTypeService
context
- Context for drawing.shape
- Component that invokes drawing.rect
- The rectangle that shows coordinates for drawing.zoom
- Zoom of drawing.
java.lang.Exception
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in class StiBarCodeTypeService
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in class StiBarCodeTypeService
JSONException
public java.lang.String getDefaultCodeValue()
getDefaultCodeValue
in class StiBarCodeTypeService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |