public class StiStyleCondition extends StiSerializedObject implements java.lang.Cloneable, IStiJsonReportObject
REFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiStyleCondition()
Creates a new object of the type StiStyleCondition.
|
StiStyleCondition(StiEnumSet<StiStyleConditionType> type,
StiStyleConditionOperation operationPlacement,
StiStyleConditionOperation operationPlacementNestedLevel,
StiStyleConditionOperation operationComponentType,
StiStyleConditionOperation operationLocation,
StiStyleConditionOperation operationComponentName,
StiEnumSet<StiStyleComponentPlacement> placement,
int placementNestedLevel,
StiEnumSet<StiStyleComponentType> componentType,
StiEnumSet<StiStyleLocation> location,
java.lang.String componentName)
Creates a new object of the type StiStyleCondition.
|
StiStyleCondition(StiStyleConditionElement[] elements)
Creates a new object of the type StiStyleCondition.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
boolean |
equals(java.lang.Object obj) |
void |
FromElements(StiStyleConditionElement[] elements) |
java.lang.String |
getComponentName()
Gets or sets component name or part of component name.
|
StiEnumSet<StiStyleComponentType> |
getComponentType()
Gets or sets component type which can be detected by style condition.
|
StiEnumSet<StiStyleLocation> |
getLocation()
Gets or sets variant of component location on parent component area.
|
StiStyleConditionOperation |
getOperationComponentName()
Gets or sets type of operation which will be used for comparison of component names.
|
StiStyleConditionOperation |
getOperationComponentType()
Gets or sets type of operation which will be used for comparison of component types.
|
StiStyleConditionOperation |
getOperationLocation()
Gets or sets type of operation which will be used for comparison of component locations.
|
StiStyleConditionOperation |
getOperationPlacement()
Gets or sets type of operation which will be used for comparison of component placements.
|
StiStyleConditionOperation |
getOperationPlacementNestedLevel()
Gets or sets type of operation which will be used for comparison of component nested level.
|
StiEnumSet<StiStyleComponentPlacement> |
getPlacement()
Gets or sets type of bands on which component can be placed.
|
int |
getPlacementNestedLevel()
Gets or sets value which indicates nested level of specified component.
|
StiEnumSet<StiStyleConditionType> |
getType()
Gets or sets type of this style condition.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setComponentName(java.lang.String value) |
void |
setComponentType(StiEnumSet<StiStyleComponentType> value) |
void |
setLocation(StiEnumSet<StiStyleLocation> value) |
void |
setOperationComponentName(StiStyleConditionOperation value) |
void |
setOperationComponentType(StiStyleConditionOperation value) |
void |
setOperationLocation(StiStyleConditionOperation value) |
void |
setOperationPlacement(StiStyleConditionOperation value) |
void |
setOperationPlacementNestedLevel(StiStyleConditionOperation value) |
void |
setPlacement(StiEnumSet<StiStyleComponentPlacement> placement) |
void |
setPlacementNestedLevel(int value) |
void |
setType(StiEnumSet<StiStyleConditionType> value) |
cleanReference, getReference, setReferencepublic StiStyleCondition()
public StiStyleCondition(StiStyleConditionElement[] elements)
public StiStyleCondition(StiEnumSet<StiStyleConditionType> type, StiStyleConditionOperation operationPlacement, StiStyleConditionOperation operationPlacementNestedLevel, StiStyleConditionOperation operationComponentType, StiStyleConditionOperation operationLocation, StiStyleConditionOperation operationComponentName, StiEnumSet<StiStyleComponentPlacement> placement, int placementNestedLevel, StiEnumSet<StiStyleComponentType> componentType, StiEnumSet<StiStyleLocation> location, java.lang.String componentName)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.Object clone()
clone in class java.lang.Objectpublic final StiEnumSet<StiStyleConditionType> getType()
public final void setType(StiEnumSet<StiStyleConditionType> value)
public final StiStyleConditionOperation getOperationPlacement()
public final void setOperationPlacement(StiStyleConditionOperation value)
public final StiStyleConditionOperation getOperationPlacementNestedLevel()
public final void setOperationPlacementNestedLevel(StiStyleConditionOperation value)
public final StiStyleConditionOperation getOperationComponentType()
public final void setOperationComponentType(StiStyleConditionOperation value)
public final StiStyleConditionOperation getOperationLocation()
public final void setOperationLocation(StiStyleConditionOperation value)
public final StiStyleConditionOperation getOperationComponentName()
public final void setOperationComponentName(StiStyleConditionOperation value)
public StiEnumSet<StiStyleComponentPlacement> getPlacement()
public void setPlacement(StiEnumSet<StiStyleComponentPlacement> placement)
placement - the placement to setpublic final int getPlacementNestedLevel()
public final void setPlacementNestedLevel(int value)
public final StiEnumSet<StiStyleComponentType> getComponentType()
public final void setComponentType(StiEnumSet<StiStyleComponentType> value)
public final StiEnumSet<StiStyleLocation> getLocation()
public final void setLocation(StiEnumSet<StiStyleLocation> value)
public final java.lang.String getComponentName()
public final void setComponentName(java.lang.String value)
public final void FromElements(StiStyleConditionElement[] elements)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.