public class SortByPositionOperator extends BaseOperator
ParametrizedOperation.ValueType
Modifier and Type | Field and Description |
---|---|
protected boolean |
columnFirst |
protected java.lang.String[] |
paramNames |
protected ParametrizedOperation.ValueType[] |
paramTypes |
Constructor and Description |
---|
SortByPositionOperator() |
SortByPositionOperator(boolean columnFirst) |
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.
|
boolean |
getColumnFirst() |
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 |
recursivelySortChildAreas(Area root,
boolean columnFirst) |
void |
setColumnFirst(boolean columnFirst) |
toString
getParam, getParamRange, setParam
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParam, getParamRange, setParam
protected boolean columnFirst
protected final java.lang.String[] paramNames
protected final ParametrizedOperation.ValueType[] paramTypes
public SortByPositionOperator()
public SortByPositionOperator(boolean columnFirst)
public java.lang.String getId()
Service
public java.lang.String getName()
Service
public java.lang.String getDescription()
Service
public java.lang.String[] getParamNames()
ParametrizedOperation
public ParametrizedOperation.ValueType[] getParamTypes()
ParametrizedOperation
public boolean getColumnFirst()
public void setColumnFirst(boolean columnFirst)
public void apply(AreaTree atree)
AreaTreeOperator
atree
- the area tree to be modified.public void apply(AreaTree atree, Area root)
AreaTreeOperator
atree
- the area tree to be modified.root
- the root node of the affected subtree.protected void recursivelySortChildAreas(Area root, boolean columnFirst)