Module org.icepdf.ri.viewer
Class SearchHitComponentFactoryImpl
- java.lang.Object
-
- org.icepdf.ri.common.utility.search.SearchHitComponentFactoryImpl
-
- All Implemented Interfaces:
SearchHitComponentFactory
public class SearchHitComponentFactoryImpl extends Object implements SearchHitComponentFactory
-
-
Constructor Summary
Constructors Constructor Description SearchHitComponentFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public SearchHitComponent createComponent(String text, Rectangle2D.Double bounds, Page page, Controller controller)
Description copied from interface:SearchHitComponentFactoryCreates a component with the given parameters- Specified by:
createComponentin interfaceSearchHitComponentFactory- Parameters:
text- The text highlightedbounds- The bounds of the highlightpage- The pagecontroller- The document controller- Returns:
- The created component
-
createComponent
public SearchHitComponent createComponent(WordText wordText, Page page, Controller controller)
Description copied from interface:SearchHitComponentFactoryCreates a component with the given parameters- Specified by:
createComponentin interfaceSearchHitComponentFactory- Parameters:
wordText- The WordText objectpage- The pagecontroller- The document controller- Returns:
- The created component
-
-