Oxygen XML Editor 11.2 Author API

ro.sync.exml.workspace.api.standalone
Class ViewInfo

java.lang.Object
  extended by 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

Constructor Summary
ViewInfo(String viewID, JComponent component, String title, Icon icon)
          Constructor
 
Method Summary
 JComponent getComponent()
           
 Icon getIcon()
           
 String getTitle()
           
 String getViewID()
           
 void setComponent(JComponent component)
           
 void setIcon(Icon icon)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewInfo

public ViewInfo(String viewID,
                JComponent component,
                String title,
                Icon icon)
Constructor

Parameters:
viewID - The unique view ID
component - The component which will be placed inside
title - Title for the view
icon - The view's icon
Method Detail

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.

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.