public class SuperAreaOperator
extends org.fit.layout.impl.BaseOperator
| Modifier and Type | Field and Description |
|---|---|
protected int |
depthLimit
Recursion depth limit while detecting the sub-areas
|
protected String[] |
paramNames |
protected org.fit.layout.api.ParametrizedOperation.ValueType[] |
paramTypes |
| Constructor and Description |
|---|
SuperAreaOperator()
Creates the deparator with default parameter values.
|
SuperAreaOperator(int depthLimit)
Creates the operator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.fit.layout.model.AreaTree atree) |
void |
apply(org.fit.layout.model.AreaTree atree,
org.fit.layout.model.Area root) |
protected GroupAnalyzer |
createGroupAnalyzer(AreaImpl root) |
void |
findSuperAreas(AreaImpl root,
int passlimit)
Creates syntetic super areas by grouping the subareas of the given area.
|
int |
getDepthLimit() |
String |
getDescription() |
String |
getId() |
String |
getName() |
String[] |
getParamNames() |
org.fit.layout.api.ParametrizedOperation.ValueType[] |
getParamTypes() |
void |
setDepthLimit(int depthLimit) |
getParam, getParamRange, setParamprotected int depthLimit
protected final String[] paramNames
protected final org.fit.layout.api.ParametrizedOperation.ValueType[] paramTypes
public SuperAreaOperator()
public SuperAreaOperator(int depthLimit)
depthLimit - Recursion depth limit while detecting the sub-areaspublic String getId()
public String getName()
public String getDescription()
public String[] getParamNames()
public org.fit.layout.api.ParametrizedOperation.ValueType[] getParamTypes()
public int getDepthLimit()
public void setDepthLimit(int depthLimit)
public void apply(org.fit.layout.model.AreaTree atree)
public void apply(org.fit.layout.model.AreaTree atree,
org.fit.layout.model.Area root)
protected GroupAnalyzer createGroupAnalyzer(AreaImpl root)
public void findSuperAreas(AreaImpl root, int passlimit)
the - root area to be processedpasslimit - the maximal number of passes while some changes occurCopyright © 2016. All rights reserved.