We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.spreadsheet.
Interface Spreadsheet.HyperlinkCellClickHandler
-
All Superinterfaces:
All Known Implementing Classes:
Enclosing class:
public static interface Spreadsheet.HyperlinkCellClickHandler extends Serializable
An interface for handling clicks on cells that contain a hyperlink.
Implement this interface and set it with
Spreadsheet.setHyperlinkCellClickHandler(HyperlinkCellClickHandler)
to customize the default behavior.
-
-
Method Summary
All Methods Modifier and Type Method Description String
getHyperlinkFunctionTarget(org.apache.poi.ss.usermodel.Cell cell)
void
onHyperLinkCellClick(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.usermodel.Hyperlink hyperlink)
Called when a hyperlink cell has been clicked.
-
-
-
Method Detail
-
onHyperLinkCellClick
void onHyperLinkCellClick(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.usermodel.Hyperlink hyperlink)
Called when a hyperlink cell has been clicked. Assumes the implementation knows which spreadsheet is in use if needed, and how to navigate or perform some other action.
Parameters:
cell
- The cell that contains the hyperlinkhyperlink
- The actual hyperlink
-
getHyperlinkFunctionTarget
String getHyperlinkFunctionTarget(org.apache.poi.ss.usermodel.Cell cell)
Returns:
link target for use as a tooltip
-
-