Class Linkify.Link
java.lang.Object
com.codename1.util.Linkify.Link
- Enclosing class:
Linkify
A link found in a text.
-
Method Summary
Modifier and TypeMethodDescriptionintgetEnd()Where the link ends in the text, exclusive.intgetStart()Where the link starts in the text.getText()The link as written in the text.intgetType()URL,EMAILorPHONE.getUri()The link as a URIDisplay.executeopens: the address withhttps://added when it has no scheme,mailto:before an email andtel:before the digits of a phone number.voidopen()Opens the link withDisplay.execute.
-
Method Details
-
getStart
public int getStart()Where the link starts in the text. -
getEnd
public int getEnd()Where the link ends in the text, exclusive. -
getType
public int getType()URL,EMAILorPHONE. -
getText
The link as written in the text. -
getUri
The link as a URIDisplay.executeopens: the address withhttps://added when it has no scheme,mailto:before an email andtel:before the digits of a phone number. -
open
public void open()Opens the link withDisplay.execute.
-