Class StiZipCode
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.components.simplecomponents.StiZipCode
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiBorder,IStiBrush,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiExportImage,IStiExportImageExtended,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiTextBrush,IStiUnitConvert,IStiReportProperty,IStiInherited,IStiStateSaveRestore,Cloneable
public class StiZipCode
extends StiComponent
implements IStiBorder, IStiExportImageExtended, IStiTextBrush, IStiBrush
Class describes the component - ZipCode.
-
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 StiZipCode.StiZipCode(StiRectangle rect) Creates a new component of the type StiZipCode. -
Method Summary
Modifier and TypeMethodDescriptionfinal StiRectanglecalculateRect(StiRectangle rect, int count, int index, StiRectangle markRect) Calculate Rectangleclone(boolean cloneProperties) Creates a new object that is a copy of the current instance.final StiBorderGets or sets border of the component.final StiBrushgetBrush()Gets or sets a brush to fill a 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 zip code.final StringGets or sets the component zip code.Gets or sets the default client area of a component.Return events collection of this component.final StiColorGets or sets a fore color.final StiGetZipCodeEventOccurs when getting the code of zip code.Gets a localized name of the component category.Gets a localized component name.final booleangetRatio()Get or sets value, which indicates width and height ratio.final doublegetSize()Gets or sets a contour size.doublefinal StiBrushGets or sets a brush to draw text.intGets value to sort a position in the toolbox.booleanvoidInvokes all events for this components.final voidInvokeGetZipCode(StiComponent sender, StiValueEventArgs e) Raises the GetZipCode event.booleanisExportAsImage(StiExportFormat format) voidLoadFromJsonObject(JSONObject jObject) protected voidRaises the ZipCode event.final voidfinal voidvoidsetCanGrow(boolean value) voidsetCanShrink(boolean value) voidsetCode(StiZipCodeExpression value) final voidsetCodeValue(String value) final voidsetForeColor(StiColor value) final voidfinal voidsetRatio(boolean value) final voidsetSize(double value) voidsetSpaceRatio(double spaceRatio) final voidsetTextBrush(StiBrush value) voidsetUpperMarks(boolean upperMarks) Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, 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, getExpressions, getForceRedrawAll, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGrowToHeight, getGuid, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, 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.IStiExportImageExtended
getImage
-
Constructor Details
-
StiZipCode
public StiZipCode()Creates a new component of the type StiZipCode. -
StiZipCode
Creates a new component of the type StiZipCode.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
getImage
- Specified by:
getImagein interfaceIStiExportImage- Overrides:
getImagein classStiComponent
-
isExportAsImage
- Specified by:
isExportAsImagein interfaceIStiExportImageExtended- Overrides:
isExportAsImagein classStiComponent
-
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
-
clone
Creates a new object that is a copy of the current instance.- Overrides:
clonein classStiComponent- Returns:
- A new object that is a copy of this instance.
-
getBrush
Gets or sets a brush to fill a component. -
setBrush
-
getBorder
Gets or sets border of the component.- Specified by:
getBorderin interfaceIStiBorder
-
setBorder
- Specified by:
setBorderin interfaceIStiBorder
-
getTextBrush
Gets or sets a brush to draw text.- Specified by:
getTextBrushin interfaceIStiTextBrush
-
setTextBrush
- Specified by:
setTextBrushin interfaceIStiTextBrush
-
calculateRect
public final StiRectangle calculateRect(StiRectangle rect, int count, int index, StiRectangle markRect) Calculate Rectangle -
getEvents
Return events collection of this component.- Overrides:
getEventsin 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
-
getCodeValue
Gets or sets the component zip code. -
setCodeValue
-
getCode
Gets or sets the expression to fill a code of zip code. -
setCode
-
invokeEvents
public void invokeEvents()Invokes all events for this components.- Overrides:
invokeEventsin classStiComponent
-
OnGetZipCode
Raises the ZipCode event. -
InvokeGetZipCode
Raises the GetZipCode event. -
getGetZipCodeEvent
Occurs when getting the code of zip code. -
setGetZipCodeEvent
-
getDefaultClientRectangle
Gets or sets the default client area of a component.- Overrides:
getDefaultClientRectanglein classStiComponent
-
getRatio
public final boolean getRatio()Get or sets value, which indicates width and height ratio. -
setRatio
public final void setRatio(boolean value) -
getForeColor
Gets or sets a fore color. -
setForeColor
-
getSize
public final double getSize()Gets or sets a contour size. -
setSize
public final void setSize(double value) -
getSpaceRatio
public double getSpaceRatio()- Returns:
- the spaceRatio
-
setSpaceRatio
public void setSpaceRatio(double spaceRatio) - Parameters:
spaceRatio- the spaceRatio to set
-
getUpperMarks
public boolean getUpperMarks()- Returns:
- the upperMarks
-
setUpperMarks
public void setUpperMarks(boolean upperMarks) - Parameters:
upperMarks- the upperMarks to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiComponent- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiComponent- Throws:
JSONException
-