Package com.stimulsoft.report.components
Class StiComponent
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiBarCode,StiChart,StiCheckBox,StiContainer,StiGauge,StiMap,StiPrimitive,StiShape,StiSignature,StiSimpleText,StiSparkline,StiView,StiWinControl,StiZipCode
public abstract class StiComponent
extends StiBase
implements IStiComponentGuid, IStiCanGrow, IStiCanShrink, IStiUnitConvert, IStiShift, IStiGrowToHeight, IStiConditions, IStiPrintOn, IStiInherited, IStiReportProperty, IStiInteraction, IStiStateSaveRestore, IStiSelect, IStiJsonReportObject, IStiAppExpressionCollection
Describes the base class for all components.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintbooleanprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static Objectprotected static ObjectdoubledoubleFields 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 StiComponent type.StiComponent(StiRectangle rect) Creates a new component of the type StiComponent with the specified location. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddSize(boolean leftToRightDirection) Increases the amount of pages on width and on height.protected final booleanfinal voidapplyConditions(Object sender, ArrayList<Hashtable<StiCondition, String>> conditions) booleancanContainIn(StiComponent component) Specifies that this component may be * he specified component.final booleanvoidClear all states.voidClear all earlier saved object states.final voidClears a text of all selected components.clone()Creates a new object that is a copy of the current instance.clone(boolean clonegetProperties) Creates a new object that is a copy of the current instanc.final doubleComponentToPage(double value) Converts a value from the parent-container coordinates into coordinates of a page.final StiPointComponentToPage(StiPoint point) Converts a point from the parent-container coordinates into coordinates of a page.final StiRectangleComponentToPage(StiRectangle rect) Converts a rectangle from the parent-container coordinates into coordinates of a page.voidConvertes component from one unit into another.voidvoiddecrementTop(double value) booleanInvokes the getBookmark event.booleanInvokes the GetBookmark event.voidDocks the component and all of its subordinate components.DockToContainer(StiRectangle rect) Docks a rectangle, relatively to the component, into the rec.final booleanRaises the GetBookmark event.static StiRectangleDoOffsetRect(StiComponent component, StiRectangle rect, StiRectangle offsetRect) tangle to the specified offset.voidvoiddoPointer(boolean createNewGuid) final voidInitializes a new instance of the StiSize class from the specified dimensi.Occurs after the component printing.getAlias()gets or sets a text that will be shown instead of a component name.booleangets a value which indicates whether deleting of the components is allowed.Occurs before printing of the component.gets or sets the expression to fill a component bookmark.final Stringgets or sets the component bookmark.doublegets bottom position of a component.protected StiV2Builderbooleangets or sets a value which indicates that this object can grow.booleangets or sets value which indicates that this object can shrink.Occurs when user clicks on the component in the window of viewer.gets or sets the client area of a component.gets or sets a value which indicates placement of a simple component.gets or sets a style of a component.gets the type of processing when printing.gets or sets the collection of conditions.Returns the topmost Container(StiPanel or StiPage) in which the component is l * ns null, if nothing is located.final StiBookmarkgets or sets current bookmark for this component.Returns the DataBand in which the component * Returns null, if nothing is located.gets the default client area of a component.final booleangets or sets a value indicates that this component is used as the delimiter.gets or sets a rectangle of the component which it fills.rectangle of the component showing.booleangets or sets a value which indicates whether the component will be docked or not.getDockRegion(StiComponent parent) Retuns an empty rectangle to which docking is poss *getDockRegion(StiComponent parent, boolean useColumns) Retuns an empty rectangle to which docking is pos *gets or sets a type of the component docking.Occurs when user double clicks on the component in the window of viewer.booleangets or sets a value which indicates will this component be available or not.Return events collection of this component.booleangets a value which indicates whether it is necessary to draw again the whole page when moving the component or changing its sizes in the designer.Occurs when getting of the Bookmark for the component.Occurs when it is required to get a report for the Drill-Down operation.Occurs when getting Hyperlink for the component.Occurs when getting a Tag for a component.Occurs when getting the ToolTip for the component.booleangets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.getGuid()gets or sets a guid of component.doublefinal StiHighlightStategets or sets a state of highlight.gets or sets an expression to fill a component hyperlink.final Stringgets or sets hyperlink of a component.final booleanInternal use only.getImage(Double zoom, StiExportFormat format) final booleanOccurs when getting a Tag for a component.gets interaction options of this component.booleangets a value which indicates whether invalidating of the component occurs when a mouse pointer is above the component.booleangets a value indicating that this is the Cross component.final booleangets a value which indicates that the report in which a component is placed is being designed.final booleanfinal booleangets a value which indicates that all events are empty.final booleangets or sets value, which indicates that the report is exporting.final booleanfinal booleangets a value which indicates that the component has already been printed.booleangets or sets a value which indicates whether a component is rendered or not.booleangets or sets value indicates is the component selected or not.doublegetLeft()gets or sets left position of a component.final intgetLevel()Returns the level of the object nesti * page, 2 - page and etc.booleangets or sets a value which indicates whether the object snap to the container is turned on.booleangets or sets a value which indicates that moving is locked.gets or sets maximal size.final StiGraphicsgets or sets minimal size.Occurs when user enters the mouse into the area of the component in the window of viewer.Occurs when user leaves the mouse out of the area of the component in the window of viewer.getPage()gets or sets the page on which an object is located.Makes all necessary coversions for * bject and returns its coordinates.final StiRectanglegetPaintRectangle(boolean convertToHInches, boolean convertByZoom) Makes all necessary conversions for t * put and returns its coordinates.final StiRectanglegetPaintRectangle(boolean convertToHInches, boolean convertByZoom, boolean docking) Makes all necessary conversions for * tput and returns its coordinates.gets or sets the container in which an object is located.final StiBookmarkgets or sets parent bookmark for this component.booleangets or sets a value which indicates whether it is necessary to place component in toolbox or not.booleangets or sets a value which indicates whether a component is printable or not.gets or sets a value which indicates on what pages component will be printed.intgets a component priority.final intgets or sets a value which indicates how many times a component is rendered.gets or sets the report in which the component is located.gets or sets value which indicates the restrictions of a component.doublegetRight()gets right position of a component.intgets or sets a rectangle of a component selection.gets a category of services.gets a service type.booleangetShift()gets or sets a value which indicates that this component can be shifted.gets or sets a value which indicates the shift mode of a component.final booleangets or sets a value which indicates whether it is necessary to show quick buttons.protected StiStatesManagergets the component states manager.getTag()gets or sets the expression to fill a component tag.gets or sets tag of a component.intgets or sets the expression to fill a component tooltip.final Stringgets or sets a component tips.doublegetTop()gets or sets top position of a component.booleangets or sets a value which indicates that this component must use styles from parent component.doublegetWidth()gets or sets width of a component.voidincrementtTop(double value) voidinvert()Invert selection of component.voidInvokeAfterPrint(Object sender, EventArgs e) Raises the AfterPrint event.voidInvokeBeforePrint(Object sender, EventArgs e) Raises the B * ent.voidprotected voidinvokeBlockly(StiEvent stiEvent, Object sender, EventArgs e) voidInvokeClick(Object sender, EventArgs e) Raises the Click * is report.voidInvokeDoubleClick(Object sender, EventArgs e) Raises the DoubleCli * this report.voidvoidInvokes all events for this components.final voidInvokegetBookmark(Object sender, StiValueEventArgs e) Raises the get * t.voidRaises the getDrillDownReport e * report.final voidInvokegetHyperlink(Object sender, StiValueEventArgs e) Raises the getHyper *final voidInvokegetTag(Object sender, StiValueEventArgs e) Raises the *final voidInvokegetToolTip(Object sender, StiValueEventArgs e) Raises the getToolT *voidInvokeMouseEnter(Object sender, EventArgs e) Raises the MouseE * r this report.voidInvokeMouseLeave(Object sender, EventArgs e) Raises the Mous * for this report.final voidInvokePainted(StiComponent sender, StiPaintEventArgs e) Raises the * for this component.final voidinvokePainting(StiComponent sender, StiPaintArgs e) Raises the Pai * or this component.protected ObjectinvokeScript(StiEvent stiEvent) protected ObjectinvokeScript(StiEvent stiEvent, Object sender) protected ObjectinvokeScript(StiEvent stiEvent, Object sender, EventArgs e) booleangets a value which indicates that this is an automatic docking.booleanbooleanisExportAsImage(StiExportFormat format) static booleanIsParentSelect(StiComponent component) Retuns true * parent component is selected.voidLoadFromJsonObject(JSONObject JSONObject) final voidNewGuid()Generates new guid for component.protected voidRaises the * vent.protected voidRaises the Be * nt.protected voidRaises the Click * s report.protected voidRaises the DoubleClic * his report.protected voidRaises the getB * .protected voidRaises the getDrillDownReport ev * report.protected voidRaises the getHyperl *protected voidRaises the g *protected voidRaises the getToolTi *protected voidRaises the MouseEn * this report.protected voidRaises the Mouse * or this report.protected voidRaises the P * for this component.protected voidRaises the Pain * r this component.voidvoidPacks a service.final StiPointPageToComponent(StiPoint point) Converts a point from coordinates of a page into the parent-container coordinates.final StiRectanglePageToComponent(StiRectangle rect) Converts a rectangle from coordinates of a page into the parent-container coordinates.voidPaints a component.final booleanSpecifies whether it is * place the component on the ColumnBand.voidPrepare()render()voidreset()Reset selection of component.final voidReset()Reset selection of component.voidrestoreState(String stateName) Restores the earlier saved object state.voidRestoreState(String stateName) Restores the earlier saved object state.voidSaves the current state of an object.voidselect()Select component.voidvoidvoidsetAnchor(StiEnumSet<StiAnchorMode> anchor) voidvoidsetBookmark(StiBookmarkExpression value) final voidsetBookmarkValue(String value) voidsetCanGrow(boolean value) voidsetCanShrink(boolean value) voidsetClickEvent(StiClickEvent value) voidsetClientRectangle(StiRectangle value) final voidsetComponentPlacement(String value) voidsetComponentStyle(String value) voidfinal voidsetCurrentBookmark(StiBookmark value) final voidsetDelimiterComponent(boolean value) voidvoidsetDisplayRectangle(StiRectangle value) voidsetDockable(boolean value) voidsetDockStyle(StiDockStyle value) voidfinal voidsetDrillDownParameters(HashMap<String, Object> value) voidsetEnabled(boolean value) voidsetExpressions(StiAppExpressionCollection expressions) voidvoidvoidvoidsetGetTagEvent(StiGetTagEvent value) voidvoidsetGrowToHeight(boolean value) final voidvoidsetHeight(double height) voidsetHeightProp(double height) final voidvoidfinal voidsetHyperlinkValue(String value) final voidsetIgnoreNamingRule(boolean value) final voidsetInherited(boolean value) voidsetInteraction(StiInteraction value) voidsetIsRendered(boolean value) voidsetIsSelected(boolean value) voidsetLeft(double value) voidsetLeftProp(double left) voidsetLinked(boolean value) voidsetLocked(boolean value) voidsetMaxSize(StiSize value) voidsetMinSize(StiSize value) voidvoidvoidvoidfinal voidInternal use only.voidsetParent(StiContainer value) final voidsetParentBookmark(StiBookmark value) voidsetPlaceOnToolbox(boolean value) voidsetPointer(StiPointerExpression pointer) voidsetPointerValue(Object pointerValue) voidsetPrintable(boolean value) voidsetPrintOn(StiPrintOnType value) final voidsetRenderedCount(int value) voidDeprecated.voidvoidsetRestrictions(StiEnumSet<StiRestrictions> value) voidsetSelectionTick(int value) voidsetSelectRectangle(StiRectangle value) Returns the GroupHeaderBand in which the component is loc * null, if nothing is located.voidsetShift(boolean value) voidsetShiftMode(StiEnumSet<StiShiftMode> value) final voidsetShowQuickButtons(boolean value) voidsetStates(StiStatesManager states) voidsetTag(StiTagExpression value) final voidsetTagValue(Object value) voidsetToolTip(StiToolTipExpression value) final voidsetToolTipValue(String value) voidsetTop(double value) voidsetTopProp(double top) voidsetUseParentStyles(boolean value) voidsetWidth(double value) voidsetWidthProp(double width) toString()Returns an Alias of th * he Name of the report.voidMethods inherited from class com.stimulsoft.report.StiBase
getLocalizedCategory, getLocalizedName, 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, setReference
-
Field Details
-
PropertyComponentStyle
-
PropertyDelimiterComponent
-
PropertyDockable
-
PropertyInherited
-
PropertyLinked
-
PropertyLocked
-
PropertyMaxSize
-
PropertyMinSize
-
PropertyPlaceOnToolbox
-
PropertyRenderedCount
-
PropertyRestrictions
-
PropertySelectionTick
-
PropertyShowQuickButtons
-
PropertyUseParentStyles
-
canGrow
public boolean canGrow -
canShrink
public boolean canShrink -
componentPlacement
-
conditions
-
interaction
-
isRendered
public boolean isRendered -
page
-
parent
-
parentBookmark
-
width
public double width -
top
public double top -
expressions
-
parentPointer
-
currentPointer
-
eventFlags
public int eventFlags
-
-
Constructor Details
-
StiComponent
public StiComponent()Creates a new component of the StiComponent type. -
StiComponent
Creates a new component of the type StiComponent with the specified location.- Parameters:
rect- Rectangle describes size and position of the component.
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
getAllowDelete
public boolean getAllowDelete()gets a value which indicates whether deleting of the components is allowed. -
DoBookmark
public boolean DoBookmark()Invokes the GetBookmark event. -
doGetBookmark
public final boolean doGetBookmark()Raises the GetBookmark event. -
DoOffsetRect
public static StiRectangle DoOffsetRect(StiComponent component, StiRectangle rect, StiRectangle offsetRect) tangle to the specified offset.- Parameters:
component- The component, relativly to which offset will be done.rect- A rectangle being offset.offsetRect- Offset rectangle.- Returns:
- Offset rectangle.
-
IsParentSelect
Retuns true * parent component is selected.- Parameters:
component- A component for checking.- Returns:
- True if the parent component is selected.
-
getIsSelected
public boolean getIsSelected()gets or sets value indicates is the component selected or not.- Specified by:
getIsSelectedin interfaceIStiSelect
-
setIsSelected
public void setIsSelected(boolean value) -
NewGuid
public final void NewGuid()Description copied from interface:IStiComponentGuidGenerates new guid for component.- Specified by:
NewGuidin interfaceIStiComponentGuid
-
Reset
public final void Reset()Reset selection of component. -
addSize
public final void addSize(boolean leftToRightDirection) Increases the amount of pages on width and on height. Herewith on width or height of the page ch * s a parent component.- Parameters:
leftToRightDirection- A parameter which speifiess a direction of adding size to the component.outContainer- The container relative to which size starts to increase.
-
AllowPrintOn
protected final boolean AllowPrintOn() -
applyConditions
public final void applyConditions(Object sender, ArrayList<Hashtable<StiCondition, String>> conditions) -
canContainIn
Specifies that this component may be * he specified component.- Parameters:
component- A component for checking.- Returns:
- Returns true if this container may be located in the specified component.
-
CheckForParentComponent
-
paint
Paints a component.- Parameters:
e- Argument for painting.
-
ClearAllStates
public void ClearAllStates()Clear all earlier saved object states. -
ClearContents
public final void ClearContents()Clears a text of all selected components. -
clone
Creates a new object that is a copy of the current instance.- Overrides:
clonein classStiService- Returns:
- A new object that is a copy of this instance.
-
clone
Creates a new object that is a copy of the current instanc.- Returns:
- A new object that is a copy of this instance.
-
ComponentToPage
public final double ComponentToPage(double value) Converts a value from the parent-container coordinates into coordinates of a page. The method calls the Contai * hod of the parent component.- Parameters:
value- A value for converting.- Returns:
- Converted value.
-
ComponentToPage
Converts a point from the parent-container coordinates into coordinates of a page. The method calls the Contain * od of the parent component.- Parameters:
point- Point for converting.- Returns:
- Converted point.
-
ComponentToPage
Converts a rectangle from the parent-container coordinates into coordinates of a page. The method calls the Container * of the parent component.- Parameters:
rect- A rectangle for converting.- Returns:
- Converted rectangle.
-
doBookmark
public boolean doBookmark()Invokes the getBookmark event. -
DockToContainer
public void DockToContainer()Docks the component and all of its subordinate components. -
DockToContainer
Docks a rectangle, relatively to the component, into the rec.- Parameters:
rect- Rectangle for docking.- Returns:
- Docked client area of the component.
-
getActualSize
Initializes a new instance of the StiSize class from the specified dimensi.- Returns:
- A class of the StiSize type which represents an actual size of the component.
-
getAfterPrintEvent
Occurs after the component printing. -
getAlias
gets or sets a text that will be shown instead of a component name. If the text is not indicated then the name is shown. -
getBeforePrintEvent
Occurs before printing of the component. -
getBookmark
gets or sets the expression to fill a component bookmark. -
getBookmarkValue
gets or sets the component bookmark. -
getBottom
public double getBottom()gets bottom position of a component. -
getCanGrow
public boolean getCanGrow()gets or sets a value which indicates that this object can grow.- Specified by:
getCanGrowin interfaceIStiCanGrow
-
getCanShrink
public boolean getCanShrink()gets or sets value which indicates that this object can shrink.- Specified by:
getCanShrinkin interfaceIStiCanShrink
-
getClickEvent
Occurs when user clicks on the component in the window of viewer. -
getClientRectangle
gets or sets the client area of a component. -
getComponentPlacement
gets or sets a value which indicates placement of a simple component. Available values: "rt" - StiReportTitleBand "rs" - StiReportSummaryBand "ph" - StiPageHeaderBand "pf" - StiPageFooterBand "h" - StiHeaderBand "h.ap" - StiHeaderBand (OnAllPages) "f" - StiFooterBand "f.ap" - StiFooterBand (OnAllPages) "d" - StiDataBand "gh" - StiGroupHeaderBand "gf" - StiGroupFooterBand "e" - StiEmptyBand "p" - StiPage -
fillComponentPlacement
public final void fillComponentPlacement() -
getComponentStyle
gets or sets a style of a component. -
GetComponentStyle
-
getComponentType
gets the type of processing when printing. -
getConditions
gets or sets the collection of conditions.- Specified by:
getConditionsin interfaceIStiConditions
-
getContainer
Returns the topmost Container(StiPanel or StiPage) in which the component is l * ns null, if nothing is located.- Returns:
- A container or null if nothing is located.
-
getCurrentBookmark
gets or sets current bookmark for this component. -
getDataBand
Returns the DataBand in which the component * Returns null, if nothing is located.- Returns:
- A DataBand in which the component is located.
-
getDefaultClientRectangle
gets the default client area of a component. -
getDelimiterComponent
public final boolean getDelimiterComponent()gets or sets a value indicates that this component is used as the delimiter. -
getDisplayRectangle1
rectangle of the component showing.- Returns:
- A rectangle.
-
getDisplayRectangle
gets or sets a rectangle of the component which it fills. Docking occurs in accordance to the area of a component (Cross - components are docked by ClientRectangle). -
getDockable
public boolean getDockable()gets or sets a value which indicates whether the component will be docked or not. -
getDockRegion
Retuns an empty rectangle to which docking is poss *- Parameters:
parent- Container being measured.- Returns:
- An empty rectangle to which docking is possible.
-
getDockRegion
Retuns an empty rectangle to which docking is pos *- Parameters:
parent- Container being measured.- Returns:
- An empty rectangle to which docking is possible.
-
getDockStyle
gets or sets a type of the component docking. -
getDoubleClickEvent
Occurs when user double clicks on the component in the window of viewer. -
getDrillDownParameters
-
getEnabled
public boolean getEnabled()gets or sets a value which indicates will this component be available or not. -
getEvents
Return events collection of this component. -
getForceRedrawAll
public boolean getForceRedrawAll()gets a value which indicates whether it is necessary to draw again the whole page when moving the component or changing its sizes in the designer. -
getGetBookmarkEvent
Occurs when getting of the Bookmark for the component. -
getGetDrillDownReportEvent
Occurs when it is required to get a report for the Drill-Down operation. -
getGetHyperlinkEvent
Occurs when getting Hyperlink for the component. -
getGetTagEvent
Occurs when getting a Tag for a component. -
getGetToolTipEvent
Occurs when getting the ToolTip for the component. -
getGrowToHeight
public boolean getGrowToHeight()gets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.- Specified by:
getGrowToHeightin interfaceIStiGrowToHeight
-
getGuid
gets or sets a guid of component.- Specified by:
getGuidin interfaceIStiComponentGuid
-
getHighlightState
gets or sets a state of highlight. -
getHyperlink
gets or sets an expression to fill a component hyperlink. -
getHyperlinkValue
gets or sets hyperlink of a component. -
getIsgetTagHandlerEmpty
public final boolean getIsgetTagHandlerEmpty() -
getIgnoreNamingRule
public final boolean getIgnoreNamingRule()Internal use only. -
getInherited
public final boolean getInherited()Occurs when getting a Tag for a component.- Specified by:
getInheritedin interfaceIStiInherited
-
getInteraction
gets interaction options of this component.- Specified by:
getInteractionin interfaceIStiInteraction
-
getInvalidateOnMouseOver
public boolean getInvalidateOnMouseOver()gets a value which indicates whether invalidating of the component occurs when a mouse pointer is above the component. -
getIsDesigning
public final boolean getIsDesigning()gets a value which indicates that the report in which a component is placed is being designed. -
isDesigning
public boolean isDesigning() -
getIsEnabled
public final boolean getIsEnabled() -
getIsEventEmpty
public final boolean getIsEventEmpty()gets a value which indicates that all events are empty. -
getIsExporting
public final boolean getIsExporting()gets or sets value, which indicates that the report is exporting. -
getIsPrinting
public final boolean getIsPrinting()gets a value which indicates that the component has already been printed. -
getIsRendered
public boolean getIsRendered()gets or sets a value which indicates whether a component is rendered or not. -
getLeft
public double getLeft()gets or sets left position of a component. -
getLevel
public final int getLevel()Returns the level of the object nesti * page, 2 - page and etc.- Returns:
- Level 1 - page, 2 - page and etc.
-
getLinked
public boolean getLinked()gets or sets a value which indicates whether the object snap to the container is turned on. -
getLocked
public boolean getLocked()gets or sets a value which indicates that moving is locked. -
getMaxSize
gets or sets maximal size. -
getMeasureGraphics
-
getMinSize
gets or sets minimal size. -
getMouseEnterEvent
Occurs when user enters the mouse into the area of the component in the window of viewer. -
getMouseLeaveEvent
Occurs when user leaves the mouse out of the area of the component in the window of viewer. -
getPage
gets or sets the page on which an object is located. -
getPaintRectangle
Makes all necessary coversions for * bject and returns its coordinates.- Returns:
- Prepared object.
-
getPaintRectangle
Makes all necessary conversions for t * put and returns its coordinates.- Parameters:
convertToHInches- Convert into hundredths of inch.convertByZoom- Convert by zoom.- Returns:
- A rectangle of a component.
-
getPaintRectangle
public final StiRectangle getPaintRectangle(boolean convertToHInches, boolean convertByZoom, boolean docking) Makes all necessary conversions for * tput and returns its coordinates.- Parameters:
convertToHInches- Convert into hundredths of inch.convertByZoom- Convert by zoom.docking- A parameter which specifies a docking of the rectangle to the container.- Returns:
- A rectangle of a component.
-
getParent
gets or sets the container in which an object is located. -
getParentBookmark
gets or sets parent bookmark for this component. -
getPlaceOnToolbox
public boolean getPlaceOnToolbox()gets or sets a value which indicates whether it is necessary to place component in toolbox or not. -
getPrintable
public boolean getPrintable()gets or sets a value which indicates whether a component is printable or not. -
getPrintOn
gets or sets a value which indicates on what pages component will be printed.- Specified by:
getPrintOnin interfaceIStiPrintOn
-
getPriority
public int getPriority()gets a component priority. -
getQuickInfo
-
getImage
-
getImage
-
getRenderedCount
public final int getRenderedCount()gets or sets a value which indicates how many times a component is rendered. -
getReport
gets or sets the report in which the component is located.- Specified by:
getReportin interfaceIStiReportProperty
-
getRestrictions
gets or sets value which indicates the restrictions of a component. -
getRight
public double getRight()gets right position of a component. -
getSelectionTick
public int getSelectionTick()- Specified by:
getSelectionTickin interfaceIStiSelect
-
getSelectRectangle
gets or sets a rectangle of a component selection. -
getServiceCategory
gets a category of services.- Overrides:
getServiceCategoryin classStiService
-
getServiceType
gets a service type.- Specified by:
getServiceTypein classStiService
-
getShift
public boolean getShift()gets or sets a value which indicates that this component can be shifted. -
getShiftMode
gets or sets a value which indicates the shift mode of a component.- Specified by:
getShiftModein interfaceIStiShift
-
getShowQuickButtons
public final boolean getShowQuickButtons()gets or sets a value which indicates whether it is necessary to show quick buttons. -
getStates
gets the component states manager. -
getTag
gets or sets the expression to fill a component tag. -
getTagValue
gets or sets tag of a component. -
getTagStrValue
-
getToolboxPosition
public int getToolboxPosition() -
getToolTip
gets or sets the expression to fill a component tooltip. -
getToolTipValue
gets or sets a component tips. -
getTop
public double getTop()gets or sets top position of a component. -
incrementtTop
public void incrementtTop(double value) -
decrementTop
public void decrementTop(double value) -
getUseParentStyles
public boolean getUseParentStyles()gets or sets a value which indicates that this component must use styles from parent component. -
getWidth
public double getWidth()gets or sets width of a component. -
InvokeAfterPrint
Raises the AfterPrint event.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
invokeBlockly
-
invokeScript
-
invokeScript
-
invokeScript
-
InvokeBeforePrint
Raises the B * ent.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokeClick
Raises the Click * is report.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokeDoubleClick
Raises the DoubleCli * this report.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
invokeEvents
public void invokeEvents()Invokes all events for this components. -
InvokegetBookmark
Raises the get * t.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokegetDrillDownReport
Raises the getDrillDownReport e * report.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokegetHyperlink
Raises the getHyper *- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokegetTag
Raises the *- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokegetToolTip
Raises the getToolT *- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokeMouseEnter
Raises the MouseE * r this report.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokeMouseLeave
Raises the Mous * for this report.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
InvokePainted
Raises the * for this component.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
invokePainting
Raises the Pai * or this component.- Parameters:
sender- A sender which invokes an event.e- A parameter which contains event data.
-
isAutomaticDock
public boolean isAutomaticDock()gets a value which indicates that this is an automatic docking. -
getIsCross
public boolean getIsCross()gets a value indicating that this is the Cross component. -
OnAfterPrint
Raises the * vent.- Parameters:
e- A parameter which contains event data.
-
OnBeforePrint
Raises the Be * nt.- Parameters:
e- A parameter which contains event data.
-
OnClick
Raises the Click * s report.- Parameters:
e- A parameter which contains event data.
-
OnDoubleClick
Raises the DoubleClic * his report.- Parameters:
e- A parameter which contains event data.
-
OngetBookmark
Raises the getB * .- Parameters:
e- A parameter which contains event data.
-
OngetDrillDownReport
Raises the getDrillDownReport ev * report.- Parameters:
e- A parameter which contains event data.
-
OngetHyperlink
Raises the getHyperl *- Parameters:
e- A parameter which contains event data.
-
OngetTag
Raises the g *- Parameters:
e- A parameter which contains event data.
-
OngetToolTip
Raises the getToolTi *- Parameters:
e- A parameter which contains event data.
-
OnMouseEnter
Raises the MouseEn * this report.- Parameters:
e- A parameter which contains event data.
-
OnMouseLeave
Raises the Mouse * or this report.- Parameters:
e- A parameter which contains event data.
-
OnPainted
Raises the P * for this component.- Parameters:
e- A parameter which contains event data.
-
OnPainting
Raises the Pain * r this component.- Parameters:
e- A parameter which contains event data.
-
OnRemoveComponent
public void OnRemoveComponent() -
packService
public void packService()Packs a service.- Overrides:
packServicein classStiService
-
PageToComponent
Converts a point from coordinates of a page into the parent-container coordinates. The method calls the PageT * thod of the parent component.- Parameters:
point- A point for converting.- Returns:
- Converted point.
-
PageToComponent
Converts a rectangle from coordinates of a page into the parent-container coordinates. The method calls the PageToCo * d of the parent component.- Parameters:
rect- A rectangle for converting.- Returns:
- Converted rectangle.
-
PlacedOnColumnBand
public final boolean PlacedOnColumnBand()Specifies whether it is * place the component on the ColumnBand.- Returns:
- If the component can be placed on the ColumnBand then returns true.
-
RestoreState
Restores the earlier saved object state. *- Parameters:
stateName- A name of the state being restored.
-
saveState
Saves the current state of an object.- Specified by:
saveStatein interfaceIStiStateSaveRestore- Parameters:
stateName- A name of the state being saved.
-
setAfterPrintEvent
-
setAlias
-
setBeforePrintEvent
-
setBookmark
-
setBookmarkValue
-
setCanGrow
public void setCanGrow(boolean value) - Specified by:
setCanGrowin interfaceIStiCanGrow
-
setCanShrink
public void setCanShrink(boolean value) - Specified by:
setCanShrinkin interfaceIStiCanShrink
-
setClickEvent
-
setClientRectangle
-
setComponentPlacement
-
setComponentStyle
-
setConditions
- Specified by:
setConditionsin interfaceIStiConditions
-
setCurrentBookmark
-
setDelimiterComponent
public final void setDelimiterComponent(boolean value) -
setDirectDisplayRectangle
-
setDisplayRectangle
-
setDockable
public void setDockable(boolean value) -
setDockStyle
-
setDoubleClickEvent
-
setDrillDownParameters
-
setEnabled
public void setEnabled(boolean value) -
setGetBookmarkEvent
-
setGetDrillDownReportEvent
-
setGetHyperlinkEvent
-
setGetTagEvent
-
setGetToolTipEvent
-
setGrowToHeight
public void setGrowToHeight(boolean value) - Specified by:
setGrowToHeightin interfaceIStiGrowToHeight
-
setGuid
- Specified by:
setGuidin interfaceIStiComponentGuid
-
setHighlightState
-
setHyperlink
-
setHyperlinkValue
-
setIgnoreNamingRule
public final void setIgnoreNamingRule(boolean value) -
setInherited
public final void setInherited(boolean value) - Specified by:
setInheritedin interfaceIStiInherited
-
setInteraction
- Specified by:
setInteractionin interfaceIStiInteraction
-
isExportAsImage
-
setIsRendered
public void setIsRendered(boolean value) -
setLeftProp
public void setLeftProp(double left) -
setLeft
public void setLeft(double value) -
setLinked
public void setLinked(boolean value) -
setLocked
public void setLocked(boolean value) -
setMaxSize
-
setMinSize
-
setMouseEnterEvent
-
setMouseLeaveEvent
-
setName
-
setPage
-
setPaintRectangle
Internal use only. -
setParent
-
setParentBookmark
-
setPlaceOnToolbox
public void setPlaceOnToolbox(boolean value) -
setPrintable
public void setPrintable(boolean value) -
setPrintOn
- Specified by:
setPrintOnin interfaceIStiPrintOn
-
setRenderedCount
public final void setRenderedCount(int value) -
setReport
Deprecated. -
setRestrictions
-
setSelectionTick
public void setSelectionTick(int value) -
setSelectRectangle
Returns the GroupHeaderBand in which the component is loc * null, if nothing is located. -
setShift
public void setShift(boolean value) -
setShiftMode
- Specified by:
setShiftModein interfaceIStiShift
-
setShowQuickButtons
public final void setShowQuickButtons(boolean value) -
setTag
-
setTagValue
-
setToolTip
-
setToolTipValue
-
setTopProp
public void setTopProp(double top) -
setTop
public void setTop(double value) -
setUseParentStyles
public void setUseParentStyles(boolean value) -
setWidthProp
public void setWidthProp(double width) -
setWidth
public void setWidth(double value) -
toString
Returns an Alias of th * he Name of the report. -
convert
-
convert
Description copied from interface:IStiUnitConvertConvertes component from one unit into another.- Specified by:
convertin interfaceIStiUnitConvert- Parameters:
oldUnit- Old units.newUnit- New units.
-
restoreState
Description copied from interface:IStiStateSaveRestoreRestores the earlier saved object state.- Specified by:
restoreStatein interfaceIStiStateSaveRestore- Parameters:
stateName- A name of the state being restored.
-
clearAllStates
public void clearAllStates()Description copied from interface:IStiStateSaveRestoreClear all states.- Specified by:
clearAllStatesin interfaceIStiStateSaveRestore
-
select
public void select()Description copied from interface:IStiSelectSelect component.- Specified by:
selectin interfaceIStiSelect
-
invert
public void invert()Description copied from interface:IStiSelectInvert selection of component.- Specified by:
invertin interfaceIStiSelect
-
reset
public void reset()Description copied from interface:IStiSelectReset selection of component.- Specified by:
resetin interfaceIStiSelect
-
getGroupHeaderBand
-
GetGroupHeaderBand
-
GetDataBand
-
InvokeBeginRender
public void InvokeBeginRender() -
InvokeEndRender
public void InvokeEndRender() -
InternalRender
-
render
-
SetReportVariables
public void SetReportVariables() -
Prepare
public void Prepare() -
UnPrepare
public void UnPrepare() -
getBuilder
-
setHeightProp
public void setHeightProp(double height) -
getHeight
public double getHeight() -
setHeight
public void setHeight(double height) -
setStates
-
getAnchor
- Returns:
- the anchor
-
setAnchor
- Parameters:
anchor- the anchor to set
-
getExpressions
- Specified by:
getExpressionsin interfaceIStiAppExpressionCollection- Returns:
- the expressions
-
setExpressions
- Specified by:
setExpressionsin interfaceIStiAppExpressionCollection- Parameters:
expressions- the expressions to set
-
doPointer
public void doPointer() -
doPointer
public void doPointer(boolean createNewGuid) -
getPointerValue
- Returns:
- the pointerValue
-
setPointerValue
- Parameters:
pointerValue- the pointerValue to set
-
getPointer
- Returns:
- the pointer
-
setPointer
- Parameters:
pointer- the pointer to set
-