IJPUtils

ij_plugins.javacv.util.IJPUtils$
object IJPUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def createHTMLMessageComponent(message: String, title: String): JComponent

Create pane for displaying a message that may contain HTML formatting, including links.

Create pane for displaying a message that may contain HTML formatting, including links.

Attributes

message

the message.

title

used in error dialogs.

Returns:

component containing the message.

def createInfoPanel(title: String, message: String): Panel

Create simple info panel for a plugin dialog. Intended to be displayed at the top.

Create simple info panel for a plugin dialog. Intended to be displayed at the top.

Attributes

message

message that can contain HTML formatting.

title

title displayed in bold font larger than default.

Returns:

a panel containing the message with a title and a default icon.

def loadIcon(aClass: Class[_], path: String): ImageIcon

Load icon as a resource for given class without throwing exceptions.

Load icon as a resource for given class without throwing exceptions.

Attributes

aClass

Class requesting resource.

path

Icon file path.

Returns:

Icon or null if loading failed.