public class HideRuleHandle extends StructureHandle
structContext
elementHandle
Constructor and Description |
---|
HideRuleHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of visibility rule.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpression()
Returns the value expression of this visibility rule.
|
java.lang.String |
getFormat()
Returns the output format of this visibility rule.
|
void |
setExpression(java.lang.String expression)
Sets the value expression of this visibility rule.
|
void |
setFormat(java.lang.String format)
Sets the output format of this visibility rule.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
getReference
getDesign, getElement, getElementHandle, getModule
public HideRuleHandle(SimpleValueHandle valueHandle, int index)
valueHandle
- the value handle for visibility rule list of one propertyindex
- the position of this visibility rule in the listpublic java.lang.String getFormat()
FORMAT_TYPE_ALL
. The possible choices are defined in
DesignChoiceConstants
and they
are:
FORMAT_TYPE_ALL
FORMAT_TYPE_VIEWER
FORMAT_TYPE_EMAIL
FORMAT_TYPE_PRINT
FORMAT_TYPE_PDF
FORMAT_TYPE_RTF
FORMAT_TYPE_REPORTLET
FORMAT_TYPE_EXCEL
FORMAT_TYPE_WORD
FORMAT_TYPE_POWERPOINT
public void setFormat(java.lang.String format) throws SemanticException
DesignChoiceConstants
and they are:
FORMAT_TYPE_ALL
FORMAT_TYPE_VIEWER
FORMAT_TYPE_EMAIL
FORMAT_TYPE_PRINT
FORMAT_TYPE_PDF
FORMAT_TYPE_RTF
FORMAT_TYPE_REPORTLET
FORMAT_TYPE_EXCEL
FORMAT_TYPE_WORD
FORMAT_TYPE_POWERPOINT
format
- the output format to setSemanticException
- if the property is locked.public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
expression
- the value expression to setCopyright © 2008 Actuate Corp. All rights reserved.