Package | Description |
---|---|
org.netbeans.api.io | |
org.netbeans.spi.io | |
org.netbeans.spi.io.support |
Modifier and Type | Method and Description |
---|---|
static Hyperlink |
Hyperlink.Intent intent)
Create a new hyperlink for specified
Intent , which will be
executed when the line is clicked. |
static Hyperlink |
Hyperlink.Intent intent,
boolean important)
Create a new hyperlink for specified
Intent , which will be
executed when the line is clicked. |
static Hyperlink |
Hyperlink.from(Runnable runnable)
Create a new hyperlink for specified
Runnable , which will be
invoked when the line is clicked. |
static Hyperlink |
Hyperlink.from(Runnable runnable,
boolean important)
Create a new hyperlink for specified
Runnable , which will be
invoked when the line is clicked. |
Modifier and Type | Method and Description |
---|---|
abstract void |
OutputWriter.print(String s,
Hyperlink link) |
abstract void |
OutputWriter.print(String s,
Hyperlink link,
OutputColor color) |
abstract void |
OutputWriter.println(String s,
Hyperlink link) |
abstract void |
OutputWriter.println(String s,
Hyperlink link,
OutputColor color) |
Modifier and Type | Method and Description |
---|---|
void |
InputOutputProvider.print(IO io,
WRITER writer,
String text,
Hyperlink link,
OutputColor color,
boolean printLineEnd)
Print enhanced text.
|
Modifier and Type | Method and Description |
---|---|
static Intent |
Hyperlinks.getIntent(Hyperlink hyperlink)
Get intent associated with a hyperlink of type
HyperlinkType.FROM_INTENT . |
static Runnable |
Hyperlinks.getRunnable(Hyperlink hyperlink)
Get runnable associated with a hyperlink of type
HyperlinkType.FROM_RUNNABLE . |
static HyperlinkType |
Hyperlinks.getType(Hyperlink hyperlink)
Get hyperlink type.
|
static void |
Hyperlinks.invoke(Hyperlink hyperlink)
Invoke appropriate action for the hyperlink.
|
static boolean |
Hyperlinks.isImportant(Hyperlink hyperlink)
Check whether a hyperlink is important.
|