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
- Since: Together 4.0
| Method Summary |
Component | getUIComponent() Returns Swing component which represents this inspector component. |
private void | setValue(String propertyValue) |
private void | storeValue() |
void | update() Updates view of this component. |
| 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 |
FONT
private final static Font FONT
FONT1
private final static Font FONT1
isAnyKeyPressed
private boolean isAnyKeyPressed
myEditorPane
private JTextArea myEditorPane
myName
private String myName
myOldValue
private String myOldValue
myPropertyName
private String myPropertyName
myPropertyNameService
private ModelPropertyNamesServiceImpl myPropertyNameService
myRwiPropertyMap
private RwiPropertyMap myRwiPropertyMap
myScrollPane
private JScrollPane myScrollPane
DescriptionComponent
public DescriptionComponent(RwiElement element)
- Constructs
DescriptionComponent for the specified RwiElement.- Parameters:
- element Selected
RwiElement
DescriptionComponent
public DescriptionComponent(RwiPropertyMap propertyMap, String name, String propertyName)
DescriptionComponent
public DescriptionComponent(RwiElement element, String name, String propertyName)
- Constructs
DescriptionComponent for the specified RwiElement
with specified name of component and custom property.- Parameters:
- element Selected
RwiElement- name Name of component
- propertyName Name of property for displaying in component
- Since:
- Together 5.0
- See Also:
RwiProperty
getUIComponent
public Component getUIComponent()
- Returns Swing component which represents this inspector component.
- Returns: Swing component which represents this inspector component
setValue
private void setValue(String propertyValue)
storeValue
private void storeValue()
update
public void update()
- Updates view of this component. Called whenever description is changed (i.e. in the text editor).
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class com.togethersoft.openapi.rwi.RwiPropertyMap
to Class javax.swing.JScrollPane
to Class javax.swing.JTextArea
to Class com.togethersoft.openapi.ide.inspector.util.DescriptionComponent.ModelPropertyNamesServiceImpl
to Class java.awt.Font
to Class java.awt.Font