Protege 4.1.0

org.protege.editor.core.ui.util
Class ComponentFactory

java.lang.Object
  extended by org.protege.editor.core.ui.util.ComponentFactory

public class ComponentFactory
extends Object

Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: Mar 22, 2006

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Constructor Summary
ComponentFactory()
           
 
Method Summary
static JComponent createExceptionComponent(String message, Throwable exception, org.eclipse.core.runtime.IExtension extension)
           
static JEditorPane createHTMLPane(HyperlinkListener hyperlinkListener)
          Creates a JEditorPane suitable for showing HTML content
static JScrollPane createScrollPane(JComponent content)
           
static JTextField createTextField()
           
static Border createTitledBorder(String title)
           
static JToolBar createViewToolBar()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentFactory

public ComponentFactory()
Method Detail

createExceptionComponent

public static JComponent createExceptionComponent(String message,
                                                  Throwable exception,
                                                  org.eclipse.core.runtime.IExtension extension)

createScrollPane

public static JScrollPane createScrollPane(JComponent content)

createViewToolBar

public static JToolBar createViewToolBar()

createTextField

public static JTextField createTextField()

createHTMLPane

public static JEditorPane createHTMLPane(HyperlinkListener hyperlinkListener)
Creates a JEditorPane suitable for showing HTML content

Parameters:
hyperlinkListener - an optional hyperlink listener

createTitledBorder

public static Border createTitledBorder(String title)

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research