Class Orthogonal
java.lang.Object
application.model.rules.misc.naive.ReadingOrder
application.model.rules.misc.naive.Orthogonal
public class Orthogonal extends ReadingOrder
Represents the orthogonal naive reading order
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Orthogonal()Orthogonal(java.lang.String specifier) -
Method Summary
Modifier and Type Method Description java.lang.Objectclone()Clones the naive reading orderjava.util.Comparator<Coordinate>getCoordinateComparator()Gets the coordinate comparatorjava.lang.String[]getRegex()Gets the regex that will identify the naive reading ordervoidsetSpecifier(java.lang.String specifier)Sets the specifier for the naive reading order
-
Constructor Details
-
Orthogonal
public Orthogonal() -
Orthogonal
public Orthogonal(java.lang.String specifier)
-
-
Method Details
-
setSpecifier
public void setSpecifier(java.lang.String specifier)Description copied from class:ReadingOrderSets the specifier for the naive reading order- Specified by:
setSpecifierin classReadingOrder- Parameters:
specifier- The specifier of the naive reading order
-
getRegex
public java.lang.String[] getRegex()Description copied from class:ReadingOrderGets the regex that will identify the naive reading order- Specified by:
getRegexin classReadingOrder- Returns:
- Returns the regexes that match a naive reading order
-
getCoordinateComparator
Description copied from class:ReadingOrderGets the coordinate comparator- Specified by:
getCoordinateComparatorin classReadingOrder- Returns:
- Returns the coordinate comparator
-
clone
public java.lang.Object clone()Description copied from class:ReadingOrderClones the naive reading order- Specified by:
clonein classReadingOrder- Returns:
- Returns the cloned naive reading order
-