ro.sync.exml.workspace.api.standalone
Class ViewInfo
java.lang.Object
ro.sync.exml.workspace.api.standalone.ViewInfo
public class ViewInfo
- extends Object
Information about a view.
*********************************
EXPERIMENTAL - Subject to change
*********************************
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
- Since:
- 11.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewInfo
public ViewInfo(String viewID,
JComponent component,
String title,
Icon icon)
- Constructor
- Parameters:
viewID
- The unique view IDcomponent
- The component which will be placed insidetitle
- Title for the viewicon
- The view's icon
getViewID
public String getViewID()
- Returns:
- Returns the viewID.
getComponent
public JComponent getComponent()
- Returns:
- Returns the component.
getTitle
public String getTitle()
- Returns:
- Returns the title.
setComponent
public void setComponent(JComponent component)
- Parameters:
component
- The component to set.
setTitle
public void setTitle(String title)
- Parameters:
title
- The title to set.
getIcon
public Icon getIcon()
- Returns:
- Returns the icon.
setIcon
public void setIcon(Icon icon)
- Parameters:
icon
- The icon to set.
© Copyright SyncRO Soft SRL 2002 - 2010.