Module org.icepdf.ri.viewer
Interface SearchHitComponentFactory
-
- All Known Implementing Classes:
SearchHitComponentFactoryImpl
public interface SearchHitComponentFactoryClass managing the creation of SearchHitComponents
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchHitComponentcreateComponent(String text, Rectangle2D.Double bounds, Page page, Controller controller)Creates a component with the given parametersSearchHitComponentcreateComponent(WordText wordText, Page page, Controller controller)Creates a component with the given parameters
-
-
-
Method Detail
-
createComponent
SearchHitComponent createComponent(String text, Rectangle2D.Double bounds, Page page, Controller controller)
Creates a component with the given parameters- Parameters:
text- The text highlightedbounds- The bounds of the highlightpage- The pagecontroller- The document controller- Returns:
- The created component
-
createComponent
SearchHitComponent createComponent(WordText wordText, Page page, Controller controller)
Creates a component with the given parameters- Parameters:
wordText- The WordText objectpage- The pagecontroller- The document controller- Returns:
- The created component
-
-