public class HideRule
extends org.eclipse.birt.report.model.core.Structure
ReportItem.
Member properties in Hide are all intrinsic properties. That is,
values of "format" and "valueExpr" properties can be unset.
Choices for the "format" member are defined in
DesignChoiceConstants.
DesignChoiceConstants| 限定符和类型 | 字段和说明 |
|---|---|
protected Expression |
expression
The expression for the visibility rule.
|
protected java.lang.String |
format
The comparison operator.
|
static java.lang.String |
FORMAT_MEMBER
Name of the format member.
|
static java.lang.String |
STRUCTURE_NAME
Name of this structure within the meta-data dictionary.
|
static java.lang.String |
VALUE_EXPR_MEMBER
Name of the property that gives the expression for the format member.
|
| 构造器和说明 |
|---|
HideRule()
The default Constructor.
|
HideRule(java.lang.String format,
java.lang.String expression)
Constructs the hide structure with the format choice and expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getExpression()
Returns the expression of the rule.
|
java.lang.String |
getFormat()
Returns the format as an internal choice name.
|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure.
|
void |
setExpression(java.lang.String expression)
Sets the expression for this visibility rule.
|
void |
setFormat(java.lang.String format)
Sets the output format.
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
Sets the value of of a structure property represented as a member
variable.
|
java.util.List<SemanticException> |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Validates this structure.
|
checkStringMember, copy, equals, getCompatibleValue, getContext, getDefn, getElement, getExpressionProperty, getHandle, getHandle, getLocalProperty, getLocalProperty, getMemberDefn, getObjectDefn, getProperty, getProperty, getReferencableProperty, getStringProperty, isDesignTime, isReferencable, setContext, setExpressionProperty, setProperty, setProperty, setupContext, updateReferencepublic static final java.lang.String FORMAT_MEMBER
public static final java.lang.String VALUE_EXPR_MEMBER
public static final java.lang.String STRUCTURE_NAME
protected java.lang.String format
FORMAT_TYPE_ALL. The allowed choices 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
protected Expression expression
public HideRule()
public HideRule(java.lang.String format,
java.lang.String expression)
format - the choice name for the formatexpression - the expression for the visibility rulepublic java.lang.String getStructName()
IStructureprotected void setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
org.eclipse.birt.report.model.core.StructuresetIntrinsicProperty 在类中 org.eclipse.birt.report.model.core.StructurepropName - the name of the property to setvalue - the property valueprotected java.lang.Object getIntrinsicProperty(java.lang.String propName)
org.eclipse.birt.report.model.core.StructuregetIntrinsicProperty 在类中 org.eclipse.birt.report.model.core.StructurepropName - name of the propertypublic java.lang.String getFormat()
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)
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 setpublic java.lang.String getExpression()
public void setExpression(java.lang.String expression)
expression - the value expression to setpublic StructureHandle handle(SimpleValueHandle valueHandle, int index)
org.eclipse.birt.report.model.core.Structurehandle 在类中 org.eclipse.birt.report.model.core.StructurevalueHandle - the value handle of this structure list property this
structure is inindex - the position of this structure in structure listpublic java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
validate 在类中 org.eclipse.birt.report.model.core.Structuremodule - the moduleelement - the element contains this structureStructure.validate(Module,
org.eclipse.birt.report.model.core.DesignElement)Copyright © 2008 Actuate Corp. All rights reserved.