|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.core.Structure
org.eclipse.birt.report.model.api.elements.structures.HideRule
public class HideRule
Implements hide rules of a 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
Field Summary | |
---|---|
protected java.lang.String |
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. |
Constructor Summary | |
---|---|
HideRule()
The default Constructor. |
|
HideRule(java.lang.String format,
java.lang.String expression)
Constructs the hide structure with the format choice and expression. |
Method Summary | |
---|---|
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)
|
java.lang.String |
getStructName()
Returns the name of the structure definition. |
StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
|
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)
|
Methods inherited from class org.eclipse.birt.report.model.core.Structure |
---|
copy, equals, getContext, getDefn, getElement, getHandle, getHandle, getListMemberRef, getLocalProperty, getLocalProperty, getObjectDefn, getProperty, getProperty, getReferencableProperty, isDesignTime, isReferencable, setContext, setProperty, setProperty, updateReference, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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 java.lang.String expression
Constructor Detail |
---|
public HideRule()
public HideRule(java.lang.String format, java.lang.String expression)
format
- the choice name for the formatexpression
- the expression for the visibility ruleMethod Detail |
---|
public java.lang.String getStructName()
IStructure
protected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
public 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)
handle
in class org.eclipse.birt.report.model.core.Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |