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 transcript.
  • 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()
    • setSearchTiers

      public void setSearchTiers(String[] tiers)
    • setSearchTiers

      public void setSearchTiers(List<String> tiers)
    • setSpeakers

      public void setSpeakers(List<Participant> speakers)
    • getCurrentLocation

      public TranscriptElementLocation getCurrentLocation()
    • setCurrentLocation

      public void setCurrentLocation(TranscriptElementLocation 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 TranscriptElementRange getMatchedRange()
    • isIncludeComments

      public boolean isIncludeComments()
    • setIncludeComments

      public void setIncludeComments(boolean includeComments)
    • isIncludeGems

      public boolean isIncludeGems()
    • setIncludeGems

      public void setIncludeGems(boolean includeGems)
    • findNext

      public TranscriptElementRange 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 TranscriptElementRange 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