Interface IGrid
- All Superinterfaces:
IDesignElement, IReportElement, IReportItem
Represents a the design of a Grid in the scripting environment
-
Field Summary
Fields inherited from interface IReportItem
constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the caption text of this grid.Returns the resource key of the caption.intReturns the number of columns in the Grid.Gets the summary of this grid.voidsetCaption(String caption) Sets the caption text of this grid.voidsetCaptionKey(String captionKey) Sets the resource key of the caption.voidsetSummary(String summary) Sets the summary of this grid.Methods inherited from interface IDesignElement
getNamedExpression, getParent, getQualifiedName, getReport, getStyle, getUserProperty, getUserPropertyExpression, setNamedExpression, setUserProperty, setUserPropertyMethods inherited from interface IReportElement
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getName, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setNameMethods inherited from interface IReportItem
addDataBinding, addHideRule, addHighlightRule, getBookmark, getDataBinding, getDataBindings, getHeight, getHideRules, getHighlightRules, getTocExpression, getWidth, getX, getY, removeDataBinding, removeDataBindings, removeHideRule, removeHideRules, removeHighlightRule, removeHighlightRules, setBookmark, setCurrentView, setHeight, setHeight, setTocExpression, setWidth, setWidth, setX, setX, setY, setY
-
Method Details
-
getColumnCount
int getColumnCount()Returns the number of columns in the Grid. The number is defined as the sum of columns described in the "column" slot.- Returns:
- the number of columns in the grid.
-
getSummary
-
setSummary
Sets the summary of this grid.- Parameters:
summary- the summary- Throws:
ScriptException
-
getCaption
-
setCaption
Sets the caption text of this grid.- Parameters:
caption- the caption text- Throws:
ScriptException
-
getCaptionKey
String getCaptionKey()Returns the resource key of the caption.- Returns:
- the resource key of the caption
-
setCaptionKey
Sets the resource key of the caption.- Parameters:
captionKey- the resource key of the caption- Throws:
ScriptException
-