public class SortByLinesOperator extends SortByPositionOperator
ParametrizedOperation.ValueType| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
paramNames |
protected ParametrizedOperation.ValueType[] |
paramTypes |
columnFirst| Constructor and Description |
|---|
SortByLinesOperator() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(AreaTree atree)
Applies the operation to the given tree.
|
void |
apply(AreaTree atree,
Area root)
Applies the operation to the given subtree of the tree.
|
java.lang.String |
getDescription()
Obtains a longer description of the service.
|
java.lang.String |
getId()
Obtains a unique ID of the service
|
java.lang.String |
getName()
Obtains a descriptive name of the service that may be presented to the user.
|
java.lang.String[] |
getParamNames()
Obtains a list of available parameter names of the operation.
|
ParametrizedOperation.ValueType[] |
getParamTypes()
Obtains a list of available parameter value types.
|
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, setColumnFirsttoStringgetParam, getParamRange, setParamclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParam, getParamRange, setParamprotected final java.lang.String[] paramNames
protected final ParametrizedOperation.ValueType[] paramTypes
public java.lang.String getId()
ServicegetId in interface ServicegetId in class SortByPositionOperatorpublic java.lang.String getName()
ServicegetName in interface ServicegetName in class SortByPositionOperatorpublic java.lang.String getDescription()
ServicegetDescription in interface ServicegetDescription in class SortByPositionOperatorpublic java.lang.String[] getParamNames()
ParametrizedOperationgetParamNames in interface ParametrizedOperationgetParamNames in class SortByPositionOperatorpublic ParametrizedOperation.ValueType[] getParamTypes()
ParametrizedOperationgetParamTypes in interface ParametrizedOperationgetParamTypes in class SortByPositionOperatorpublic void apply(AreaTree atree)
AreaTreeOperatorapply in interface AreaTreeOperatorapply in class SortByPositionOperatoratree - the area tree to be modified.public void apply(AreaTree atree, Area root)
AreaTreeOperatorapply in interface AreaTreeOperatorapply in class SortByPositionOperatoratree - the area tree to be modified.root - the root node of the affected subtree.protected void recursiveSortLines(AreaImpl root)
protected void sortChildLines(AreaImpl root)