| 
 | ||||||||||
| 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.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.simplecomponents.StiZipCode
public class StiZipCode
Class describes the component - ZipCode.
| Field Summary | 
|---|
| Fields inherited from class com.stimulsoft.report.components.StiComponent | 
|---|
| canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width | 
| Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef | 
|---|
| REFERENCE_EMPTY, REFERENCE_REPORT | 
| Constructor Summary | |
|---|---|
| StiZipCode()Creates a new component of the type StiZipCode. | |
| StiZipCode(StiRectangle rect)Creates a new component of the type StiZipCode. | |
| Method Summary | |
|---|---|
|  StiRectangle | calculateRect(StiRectangle rect,
              int count,
              int index,
              StiRectangle markRect)Calculate Rectangle | 
|  java.lang.Object | clone(boolean cloneProperties)Creates a new object that is a copy of the current instance. | 
|  StiBorder | getBorder()Gets or sets border of the component. | 
|  StiBrush | getBrush()Gets or sets a brush to fill a component. | 
|  boolean | getCanGrow()gets or sets a value which indicates that this object can grow. | 
|  boolean | getCanShrink()gets or sets value which indicates that this object can shrink. | 
|  StiZipCodeExpression | getCode()Gets or sets the expression to fill a code of zip code. | 
|  java.lang.String | getCodeValue()Gets or sets the component zip code. | 
|  StiRectangle | getDefaultClientRectangle()Gets or sets the default client area of a component. | 
|  StiEventsCollection | getEvents()Return events collection of this component. | 
|  StiColor | getForeColor()Gets or sets a fore color. | 
|  StiGetZipCodeEvent | getGetZipCodeEvent()Occurs when getting the code of zip code. | 
|  java.awt.image.BufferedImage | getImage(java.lang.Double zoom) | 
|  java.lang.String | getLocalizedCategory()Gets a localized name of the component category. | 
|  java.lang.String | getLocalizedName()Gets a localized component name. | 
|  boolean | getRatio()Get or sets value, which indicates width and height ratio. | 
|  double | getSize()Gets or sets a contour size. | 
|  double | getSpaceRatio() | 
|  StiBrush | getTextBrush()Gets or sets a brush to draw text. | 
|  int | getToolboxPosition()Gets value to sort a position in the toolbox. | 
|  boolean | getUpperMarks() | 
|  void | invokeEvents()Invokes all events for this components. | 
|  void | InvokeGetZipCode(StiComponent sender,
                 StiValueEventArgs e)Raises the GetZipCode event. | 
|  boolean | isExportAsImage(StiExportFormat format) | 
|  void | LoadFromJsonObject(JSONObject jObject) | 
|  JSONObject | SaveToJsonObject(StiJsonSaveMode mode) | 
|  void | setBorder(StiBorder value) | 
|  void | setBrush(StiBrush value) | 
|  void | setCanGrow(boolean value) | 
|  void | setCanShrink(boolean value) | 
|  void | setCode(StiZipCodeExpression value) | 
|  void | setCodeValue(java.lang.String value) | 
|  void | setForeColor(StiColor value) | 
|  void | setGetZipCodeEvent(StiGetZipCodeEvent value) | 
|  void | setRatio(boolean value) | 
|  void | setSize(double value) | 
|  void | setSpaceRatio(double spaceRatio) | 
|  void | setTextBrush(StiBrush value) | 
|  void | setUpperMarks(boolean upperMarks) | 
| Methods inherited from class com.stimulsoft.report.StiBase | 
|---|
| getName, getServiceName | 
| Methods inherited from class com.stimulsoft.base.services.StiService | 
|---|
| getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, 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 | 
| Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended | 
|---|
| getImage | 
| Constructor Detail | 
|---|
public StiZipCode()
public StiZipCode(StiRectangle rect)
rect - The rectangle describes size and position of the component.| Method Detail | 
|---|
public java.awt.image.BufferedImage getImage(java.lang.Double zoom)
getImage in interface IStiExportImagegetImage in class StiComponentpublic boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponentpublic boolean getCanShrink()
StiComponent
getCanShrink in interface IStiCanShrinkgetCanShrink in class StiComponentpublic void setCanShrink(boolean value)
setCanShrink in interface IStiCanShrinksetCanShrink in class StiComponentpublic boolean getCanGrow()
StiComponent
getCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic void setCanGrow(boolean value)
setCanGrow in interface IStiCanGrowsetCanGrow in class StiComponentpublic java.lang.Object clone(boolean cloneProperties)
clone in class StiComponentpublic final StiBrush getBrush()
getBrush in interface IStiBrushpublic final void setBrush(StiBrush value)
setBrush in interface IStiBrushpublic final StiBorder getBorder()
getBorder in interface IStiBorderpublic final void setBorder(StiBorder value)
setBorder in interface IStiBorderpublic final StiBrush getTextBrush()
getTextBrush in interface IStiTextBrushpublic final void setTextBrush(StiBrush value)
setTextBrush in interface IStiTextBrush
public final StiRectangle calculateRect(StiRectangle rect,
                                        int count,
                                        int index,
                                        StiRectangle markRect)
public StiEventsCollection getEvents()
getEvents in class StiComponentpublic int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedCategory()
getLocalizedCategory in class StiBasepublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic final java.lang.String getCodeValue()
public final void setCodeValue(java.lang.String value)
public StiZipCodeExpression getCode()
public void setCode(StiZipCodeExpression value)
public void invokeEvents()
invokeEvents in class StiComponent
public final void InvokeGetZipCode(StiComponent sender,
                                   StiValueEventArgs e)
public final StiGetZipCodeEvent getGetZipCodeEvent()
public final void setGetZipCodeEvent(StiGetZipCodeEvent value)
public StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle in class StiComponentpublic final boolean getRatio()
public final void setRatio(boolean value)
public final StiColor getForeColor()
public final void setForeColor(StiColor value)
public final double getSize()
public final void setSize(double value)
public double getSpaceRatio()
public void setSpaceRatio(double spaceRatio)
spaceRatio - the spaceRatio to setpublic boolean getUpperMarks()
public void setUpperMarks(boolean upperMarks)
upperMarks - the upperMarks to set
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiComponentJSONException
public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiComponentJSONException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||