com.togethersoft.openapi.ide.inspector.util
Class DescriptionComponent

java.lang.Object
  |
  +--java.beans.FeatureDescriptor
        |
        +--com.togethersoft.openapi.ide.inspector.IdeInspectorComponent
              |
              +--com.togethersoft.openapi.ide.inspector.util.DescriptionComponent

public class DescriptionComponent
extends IdeInspectorComponent
implements UIComponentService

This class represents inspector component intended to edit javadoc for the selected RwiElement. This component appears as a "Description" tab in the inspector.

Author:
TogetherSoft

Field Summary
 final static StringNAME
           This property presents tab title for this inspector component.

Constructor Summary
DescriptionComponent(RwiElement element)
           Constructs DescriptionComponent for the specified RwiElement.

Method Summary
 ComponentgetUIComponent()
           Returns Swing component which represents this inspector component.
 voidupdate()
           Updates view of this component.

Methods inherited from class com.togethersoft.openapi.ide.inspector.IdeInspectorComponent
getService, setService

Methods inherited from class java.beans.FeatureDescriptor
getName, setName, getDisplayName, setDisplayName, isExpert, setExpert, isHidden, setHidden, isPreferred, setPreferred, getShortDescription, setShortDescription, setValue, getValue, attributeNames

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Field Detail

NAME

public final static String NAME
This property presents tab title for this inspector component.
Constructor Detail

DescriptionComponent

public DescriptionComponent(RwiElement element)
Constructs DescriptionComponent for the specified RwiElement.
Parameters:
element - Selected RwiElement
Method Detail

getUIComponent

public Component getUIComponent()
Returns Swing component which represents this inspector component.
Returns: Swing component which represents this inspector component

update

public void update()
Updates view of this component. Called whenever description is changed (i.e. in the text editor).

Association Links

to Class java.lang.String

This property presents tab title for this inspector component.

to Class com.togethersoft.openapi.rwi.RwiElement

to Class javax.swing.JScrollPane

to Class javax.swing.JTextArea