Enum PropertyScope
- java.lang.Object
-
- java.lang.Enum<PropertyScope>
-
- net.sf.jasperreports.annotations.properties.PropertyScope
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyScope>
public enum PropertyScope extends Enum<PropertyScope>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANDBREAK_ELEMENTCHART_ELEMENTCOMPONENTCONTEXTCROSSTABCROSSTAB_CELLDATASETELEMENTEXTENSIONFIELDFRAMEGENERIC_ELEMENTGLOBALHYPERLINKIMAGE_ELEMENTINTERNALPARAMETERPARTREPORTSCRIPTLETSUBDATASET_RUNSUBREPORTSYSTEMTABLE_CELLTABLE_COLUMNTEXT_ELEMENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static PropertyScopevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final PropertyScope SYSTEM
-
GLOBAL
public static final PropertyScope GLOBAL
-
CONTEXT
public static final PropertyScope CONTEXT
-
REPORT
public static final PropertyScope REPORT
-
DATASET
public static final PropertyScope DATASET
-
SUBDATASET_RUN
public static final PropertyScope SUBDATASET_RUN
-
BAND
public static final PropertyScope BAND
-
PARAMETER
public static final PropertyScope PARAMETER
-
FIELD
public static final PropertyScope FIELD
-
ELEMENT
public static final PropertyScope ELEMENT
-
SUBREPORT
public static final PropertyScope SUBREPORT
-
HYPERLINK
public static final PropertyScope HYPERLINK
-
PART
public static final PropertyScope PART
-
CHART_ELEMENT
public static final PropertyScope CHART_ELEMENT
-
TEXT_ELEMENT
public static final PropertyScope TEXT_ELEMENT
-
BREAK_ELEMENT
public static final PropertyScope BREAK_ELEMENT
-
COMPONENT
public static final PropertyScope COMPONENT
-
CROSSTAB
public static final PropertyScope CROSSTAB
-
CROSSTAB_CELL
public static final PropertyScope CROSSTAB_CELL
-
IMAGE_ELEMENT
public static final PropertyScope IMAGE_ELEMENT
-
FRAME
public static final PropertyScope FRAME
-
GENERIC_ELEMENT
public static final PropertyScope GENERIC_ELEMENT
-
TABLE_COLUMN
public static final PropertyScope TABLE_COLUMN
-
TABLE_CELL
public static final PropertyScope TABLE_CELL
-
EXTENSION
public static final PropertyScope EXTENSION
-
INTERNAL
public static final PropertyScope INTERNAL
-
SCRIPTLET
public static final PropertyScope SCRIPTLET
-
-
Method Detail
-
values
public static PropertyScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PropertyScope c : PropertyScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyScope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<PropertyScope>
-
-