JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
org.openjump.swing.factory.component
ComponentFactory
Contents
Description
Method Summary
Method Details
createComponent()
getName()
getIcon()
getToolTip()
Hide sidebar
Show sidebar
Interface ComponentFactory<
T extends
Component
>
public interface
ComponentFactory<T extends
Component
>
The ComponentFactory is used to create instances of the
Component
type T.
Author:
Paul Austin
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
T
createComponent
()
Create an instance of the component.
Icon
getIcon
()
Get the icon for the component.
String
getName
()
Get the display name of the component.
String
getToolTip
()
Get the tool-tip for the component.
Method Details
createComponent
T
createComponent
()
Create an instance of the component.
Returns:
The new component instance.
getName
String
getName
()
Get the display name of the component. Used in the UI as a Frame or menu title.
Returns:
The name.
getIcon
Icon
getIcon
()
Get the icon for the component.
Returns:
The icon.
getToolTip
String
getToolTip
()
Get the tool-tip for the component.
Returns:
The tool-tip.