Class FindManager

java.lang.Object
ca.phon.app.session.editor.search.FindManager

public class FindManager extends Object
Class to manage find and replace for a session.
  • Constructor Details

    • FindManager

      public FindManager(Session session)
      Constructor
  • Method Details

    • getSession

      public Session getSession()
    • getDirection

      public FindManager.FindDirection getDirection()
    • setDirection

      public void setDirection(FindManager.FindDirection dir)
    • getStatus

      public FindManager.FindStatus getStatus()
    • setStatus

      public void setStatus(FindManager.FindStatus status)
    • getSearchTiers

      public String[] getSearchTiers()
    • setSearchTier

      public void setSearchTier(String[] tiers)
    • setSearchTier

      public void setSearchTier(List<String> tiers)
    • getCurrentLocation

      public SessionLocation getCurrentLocation()
    • setCurrentLocation

      public void setCurrentLocation(SessionLocation location)
    • getAnyExpr

      public FindExpr getAnyExpr()
    • setAnyExpr

      public void setAnyExpr(FindExpr expr)
    • getExprForTier

      public FindExpr getExprForTier(String tierName)
    • setExprForTier

      public void setExprForTier(String tierName, FindExpr expr)
    • getMatchedExpr

      public FindExpr getMatchedExpr()
    • getMatchedRange

      public SessionRange getMatchedRange()
    • findNext

      public SessionRange findNext()
      Search for the next instance of the given expression and return it's location.
      Returns:
      the location of the next instance of the given pattern
      Throws:
      FindException
    • findPrev

      public SessionRange findPrev()
      Search for the next instance of the given expression and return it's location.
      Returns:
      the location of the next instance of the given pattern
      Throws:
      FindException