|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.exml.workspace.api.standalone.ViewInfo
public class ViewInfo
Information about a view.
Constructor Summary | |
---|---|
ViewInfo(java.lang.String viewID,
javax.swing.JComponent component,
java.lang.String title,
javax.swing.Icon icon)
Constructor |
Method Summary | |
---|---|
javax.swing.JComponent |
getComponent()
Get the current component this view will display |
javax.swing.Icon |
getIcon()
Get the current view icon |
java.lang.String |
getTitle()
Get the view title |
java.lang.String |
getViewID()
Gets the ID of the view. |
boolean |
isCustomized()
Check if the view information has been customized. |
void |
setComponent(javax.swing.JComponent component)
Set a new component to be displayed in the view |
void |
setIcon(javax.swing.Icon icon)
Set the current view icon |
void |
setTitle(java.lang.String title)
Set a new view title. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewInfo(java.lang.String viewID, javax.swing.JComponent component, java.lang.String title, javax.swing.Icon icon)
viewID
- The unique view IDcomponent
- The component which will be placed insidetitle
- Title for the viewicon
- The view's iconMethod Detail |
---|
public java.lang.String getViewID()
public javax.swing.JComponent getComponent()
public java.lang.String getTitle()
public void setComponent(javax.swing.JComponent component)
component
- The component to set.public void setTitle(java.lang.String title)
title
- The title to set.public javax.swing.Icon getIcon()
public void setIcon(javax.swing.Icon icon)
icon
- The icon to set.public boolean isCustomized()
true
if the view information has been customized.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |