Package com.stimulsoft.report.barCodes
Class StiBarCode
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.barCodes.StiBarCode
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiBarCode,IStiBackColor,IStiBorder,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiEnumAngle,IStiExportImage,IStiExportImageExtended,IStiForeColor,IStiGrowToHeight,IStiHorAlignment,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiVertAlignment,IStiReportProperty,IStiInherited,IStiStateSaveRestore,Cloneable
public class StiBarCode
extends StiComponent
implements IStiBarCode, IStiBackColor, IStiForeColor, IStiExportImageExtended, IStiVertAlignment, IStiHorAlignment, IStiEnumAngle, IStiBorder
-
Field Summary
Fields inherited from class com.stimulsoft.report.components.StiComponent
canGrow, canShrink, componentPlacement, conditions, currentPointer, eventFlags, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, PropertyComponentStyle, PropertyDelimiterComponent, PropertyDockable, PropertyInherited, PropertyLinked, PropertyLocked, PropertyMaxSize, PropertyMinSize, PropertyPlaceOnToolbox, PropertyRenderedCount, PropertyRestrictions, PropertySelectionTick, PropertyShowQuickButtons, PropertyUseParentStyles, top, widthFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new component of the type StiBarCode.StiBarCode(StiRectangle rect) Creates a new component of the type StiBarCode. -
Method Summary
Modifier and TypeMethodDescriptionfinal StiAnglegetAngle()Gets or sets angle of a bar code rotation.booleanGets or sets value which indicates how bar code will scale its size.final StiColorGets or sets background color of bar code.final Stringfinal StiBarCodeTypeServiceGets or sets type of the bar code.final StiBorderGets or sets frame of the component.booleangets or sets a value which indicates that this object can grow.booleangets or sets value which indicates that this object can shrink.getCode()Gets or sets the expression to fill a code of bar code.final StringGets or sets the component bar code.Gets or sets the default client area of a component.getFont()Gets or sets font of bar code.final StiColorGets or sets bar code color.final StiGetBarCodeEventOccurs when getting the code of bar code.final StiHorAlignmentGets or sets the horizontal alignment of an barcode.Gets a localized name of the component category.Gets a localized component name.booleanGets or sets value which indicates will this bar code show label text or no.booleanGets or sets value which indicates will this bar code show quiet zones or no.intGets value to sort a position in the toolbox.final StiVertAlignmentGets or sets the vertical alignment of an barcode.voidInvokes all events for this components.final voidInvokeGetBarCode(StiComponent sender, StiValueEventArgs e) Raises the GetBarCode event.booleanisExportAsImage(StiExportFormat format) voidLoadFromJsonObject(JSONObject jObject) protected voidRaises the BarCode event.final voidvoidsetAutoScale(boolean value) final voidsetBackColor(StiColor value) final voidfinal voidvoidsetCanGrow(boolean value) voidsetCanShrink(boolean value) voidsetCode(StiBarCodeExpression value) final voidsetCodeValue(String value) voidfinal voidsetForeColor(StiColor value) final voidfinal voidsetHorAlignment(StiHorAlignment value) voidsetShowLabelText(boolean value) voidsetShowQuietZones(boolean value) final voidsetVertAlignment(StiVertAlignment value) Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, doPointer, fillComponentPlacement, getActualSize, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getClientRectangle, getComponentPlacement, getComponentStyle, GetComponentStyle, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getExpressions, getForceRedrawAll, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGrowToHeight, getGuid, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLeft, getLevel, getLinked, getLocked, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getPrintable, getPrintOn, getPriority, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShiftMode, getShowQuickButtons, getStates, getTag, getTagStrValue, getTagValue, getToolTip, getToolTipValue, getTop, getUseParentStyles, getWidth, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, invokeBlockly, InvokeClick, InvokeDoubleClick, InvokeEndRender, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, invokeScript, invokeScript, invokeScript, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, OnAfterPrint, OnBeforePrint, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, OnRemoveComponent, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, RestoreState, saveState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setGetBookmarkEvent, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, setGrowToHeight, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeft, setLeftProp, setLinked, setLocked, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, setWidth, setWidthProp, toString, UnPrepareMethods inherited from class com.stimulsoft.report.StiBase
getName, getServiceNameMethods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage
getImageMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended
getImage
-
Constructor Details
-
StiBarCode
public StiBarCode()Creates a new component of the type StiBarCode. -
StiBarCode
Creates a new component of the type StiBarCode.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
getCanShrink
public boolean getCanShrink()Description copied from class:StiComponentgets or sets value which indicates that this object can shrink.- Specified by:
getCanShrinkin interfaceIStiCanShrink- Overrides:
getCanShrinkin classStiComponent
-
setCanShrink
public void setCanShrink(boolean value) - Specified by:
setCanShrinkin interfaceIStiCanShrink- Overrides:
setCanShrinkin classStiComponent
-
getCanGrow
public boolean getCanGrow()Description copied from class:StiComponentgets or sets a value which indicates that this object can grow.- Specified by:
getCanGrowin interfaceIStiCanGrow- Overrides:
getCanGrowin classStiComponent
-
setCanGrow
public void setCanGrow(boolean value) - Specified by:
setCanGrowin interfaceIStiCanGrow- Overrides:
setCanGrowin classStiComponent
-
getToolboxPosition
public int getToolboxPosition()Gets value to sort a position in the toolbox.- Overrides:
getToolboxPositionin classStiComponent
-
getLocalizedCategory
Gets a localized name of the component category.- Overrides:
getLocalizedCategoryin classStiBase
-
getLocalizedName
Gets a localized component name.- Overrides:
getLocalizedNamein classStiBase
-
isExportAsImage
- Specified by:
isExportAsImagein interfaceIStiExportImageExtended- Overrides:
isExportAsImagein classStiComponent
-
getAngle
Gets or sets angle of a bar code rotation.- Specified by:
getAnglein interfaceIStiEnumAngle
-
setAngle
- Specified by:
setAnglein interfaceIStiEnumAngle
-
getBorder
Gets or sets frame of the component.- Specified by:
getBorderin interfaceIStiBorder
-
setBorder
- Specified by:
setBorderin interfaceIStiBorder
-
getForeColor
Gets or sets bar code color.- Specified by:
getForeColorin interfaceIStiForeColor
-
setForeColor
- Specified by:
setForeColorin interfaceIStiForeColor
-
getBackColor
Gets or sets background color of bar code.- Specified by:
getBackColorin interfaceIStiBackColor
-
setBackColor
- Specified by:
setBackColorin interfaceIStiBackColor
-
getAutoScale
public boolean getAutoScale()Gets or sets value which indicates how bar code will scale its size.- Specified by:
getAutoScalein interfaceIStiBarCode
-
setAutoScale
public void setAutoScale(boolean value) - Specified by:
setAutoScalein interfaceIStiBarCode
-
getShowLabelText
public boolean getShowLabelText()Gets or sets value which indicates will this bar code show label text or no.- Specified by:
getShowLabelTextin interfaceIStiBarCode
-
setShowLabelText
public void setShowLabelText(boolean value) - Specified by:
setShowLabelTextin interfaceIStiBarCode
-
getShowQuietZones
public boolean getShowQuietZones()Gets or sets value which indicates will this bar code show quiet zones or no. -
setShowQuietZones
public void setShowQuietZones(boolean value) -
getBarCodeType
Gets or sets type of the bar code.- Specified by:
getBarCodeTypein interfaceIStiBarCode
-
setBarCodeType
- Specified by:
setBarCodeTypein interfaceIStiBarCode
-
GetBarCodeString
- Specified by:
GetBarCodeStringin interfaceIStiBarCode
-
getFont
Gets or sets font of bar code. -
setFont
-
getHorAlignment
Gets or sets the horizontal alignment of an barcode.- Specified by:
getHorAlignmentin interfaceIStiHorAlignment
-
setHorAlignment
- Specified by:
setHorAlignmentin interfaceIStiHorAlignment
-
getVertAlignment
Gets or sets the vertical alignment of an barcode.- Specified by:
getVertAlignmentin interfaceIStiVertAlignment
-
setVertAlignment
- Specified by:
setVertAlignmentin interfaceIStiVertAlignment
-
getCodeValue
Gets or sets the component bar code. -
setCodeValue
-
getCode
Gets or sets the expression to fill a code of bar code. -
setCode
-
invokeEvents
public void invokeEvents()Invokes all events for this components.- Overrides:
invokeEventsin classStiComponent
-
OnGetBarCode
Raises the BarCode event. -
InvokeGetBarCode
Raises the GetBarCode event. -
getGetBarCodeEvent
Occurs when getting the code of bar code. -
setGetBarCodeEvent
-
getDefaultClientRectangle
Gets or sets the default client area of a component.- Overrides:
getDefaultClientRectanglein classStiComponent
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiComponent- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiComponent- Throws:
JSONException
-