Modifier and Type | Method and Description |
---|---|
ToolTipUI |
createToolTip(String toolTipText,
ToolTipUI.Expandable expandable,
ToolTipUI.Pinnable pinnable)
Create a tooltip with additional actions.
|
JComponent |
createViewComponent(String icon,
String name,
String helpID,
String propertiesHelpID)
Create
JComponent view from models registered under 'name' path. |
ViewLifecycle |
createViewLifecycle(String name,
String propertiesHelpID)
Create a support for a custom view based on models registered under 'name' path.
|
TopComponent |
createViewTC(String icon,
String name,
String helpID,
String propertiesHelpID,
String displayName,
String toolTip)
Create
TopComponent view from models registered under 'name' path. |
static ViewFactory |
getDefault()
Get the default implementation of view factory.
|
public static ViewFactory getDefault()
public TopComponent createViewTC(String icon, String name, String helpID, String propertiesHelpID, String displayName, String toolTip)
TopComponent
view from models registered under 'name' path.icon
- The icon resource of the TopComponentname
- Name of the view, under which are the models registeredhelpID
- The helpID of the created TopComponentpropertiesHelpID
- The helpID of properties displayed in the viewdisplayName
- Display name of the viewtoolTip
- Tooltip of the viewpublic JComponent createViewComponent(String icon, String name, String helpID, String propertiesHelpID)
JComponent
view from models registered under 'name' path.icon
- The icon resource, possibly used by the button toolbar in the viewname
- Name of the view, under which are the models registeredhelpID
- The helpID of the created TopComponentpropertiesHelpID
- The helpID of properties displayed in the viewpublic ViewLifecycle createViewLifecycle(String name, String propertiesHelpID)
name
- Name of the view, under which are the models registeredpropertiesHelpID
- The helpID of properties displayed in the viewpublic ToolTipUI createToolTip(String toolTipText, ToolTipUI.Expandable expandable, ToolTipUI.Pinnable pinnable)
toolTipText
- The text to display as a tooltipexpandable
- Description of an expanded tooltip,
or null
when the tooltip is not expandablepinnable
- Description of a pin watch created from this tooltip,
or null
when the tooltip is not pinnable