Interface IRow
- All Superinterfaces:
IDesignElement
Represents a row in the scripting environment
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddHideRule(IHideRule rule) Add HideRulevoidAdds high light rule.Returns the bookmark of the row.Gets a handle to deal with the row's height.Returns array of hide rule expressionGets all high light rules.voidremoveHideRule(IHideRule rule) Removes all hide rules that matches formatType.voidRemoves all hide rulesvoidRemoves high light rule.voidRemoves all high light rules.voidsetBookmark(String value) Sets the bookmark of the row.Methods inherited from interface IDesignElement
getNamedExpression, getParent, getQualifiedName, getReport, getStyle, getUserProperty, getUserPropertyExpression, setNamedExpression, setUserProperty, setUserProperty
-
Method Details
-
getHeight
-
getBookmark
String getBookmark()Returns the bookmark of the row. The bookmark value is evaluated as an expression.- Returns:
- the book mark as a string
-
setBookmark
Sets the bookmark of the row. The bookmark value is evaluated as an expression. If you want the bookmark to be the string "bookmark", you need to use setBookmark("\"bookmark\""); If bookmark is a JavaScript variable, use setBookmark("bookmark");- Parameters:
value- the bookmark expression- Throws:
ScriptException- if the property is locked.
-
removeHideRule
Removes all hide rules that matches formatType.- Parameters:
rule-- Throws:
ScriptException
-
removeHideRules
-
getHideRules
IHideRule[] getHideRules()Returns array of hide rule expression- Returns:
- array of hide rule expression
-
addHideRule
Add HideRule- Parameters:
rule-- Throws:
ScriptException
-
getHighlightRules
-
addHighlightRule
Adds high light rule.- Parameters:
rule-- Throws:
ScriptException
-
removeHighlightRules
Removes all high light rules.- Throws:
ScriptException
-
removeHighlightRule
Removes high light rule.- Parameters:
rule-- Throws:
ScriptException
-