public class SortByLinesOperator extends SortByPositionOperator
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
paramNames |
protected org.fit.layout.api.ParametrizedOperation.ValueType[] |
paramTypes |
columnFirst| Constructor and Description |
|---|
SortByLinesOperator() |
| 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) |
String |
getDescription() |
String |
getId() |
String |
getName() |
String[] |
getParamNames() |
org.fit.layout.api.ParametrizedOperation.ValueType[] |
getParamTypes() |
protected void |
recursiveSortLines(AreaImpl root)
Goes through all the areas in the tree and sorts their sub-areas.
|
protected void |
sortChildLines(AreaImpl root)
Goes through the grid of areas and sorts the adjacent visual areas that are not
separated by anything
|
getColumnFirst, recursivelySortChildAreas, setColumnFirstgetParam, getParamRange, setParamprotected final String[] paramNames
protected final org.fit.layout.api.ParametrizedOperation.ValueType[] paramTypes
public String getId()
getId in interface org.fit.layout.api.ServicegetId in class SortByPositionOperatorpublic String getName()
getName in interface org.fit.layout.api.ServicegetName in class SortByPositionOperatorpublic String getDescription()
getDescription in interface org.fit.layout.api.ServicegetDescription in class SortByPositionOperatorpublic String[] getParamNames()
getParamNames in interface org.fit.layout.api.ParametrizedOperationgetParamNames in class SortByPositionOperatorpublic org.fit.layout.api.ParametrizedOperation.ValueType[] getParamTypes()
getParamTypes in interface org.fit.layout.api.ParametrizedOperationgetParamTypes in class SortByPositionOperatorpublic void apply(org.fit.layout.model.AreaTree atree)
apply in interface org.fit.layout.api.AreaTreeOperatorapply in class SortByPositionOperatorpublic void apply(org.fit.layout.model.AreaTree atree,
org.fit.layout.model.Area root)
apply in interface org.fit.layout.api.AreaTreeOperatorapply in class SortByPositionOperatorprotected void recursiveSortLines(AreaImpl root)
protected void sortChildLines(AreaImpl root)
Copyright © 2016. All rights reserved.