# com.bea.ide.control
AttributeEditorSimple Interface

public interface AttributeEditorSimple

The interface that a property builder must implement to show a single-pane property editor. The IDE calls getFormatter and getRendererComponent methods to display the value in the property grid. It calls getEditorComponent, okPressed, and getNewAttributeValue to show a popup editor.

All Known Subinterfaces
  `AttributeEditorWizard`

## Method Summary

`public `Component`` | `getEditorComponent`() Creates the custom editor that will be shown to the user to edit the attribute.
`public `JFormattedTextField.AbstractFormatter`` | `getFormatter`() Get the formatter to show this attribute as text.
`public `String`` | `getNewAttributeValue`() Gets the value of the attribute from the custom editor.
`public `Issue`[]` | `onFinish`() Called when the user presses OK/Finish.

## Method Detail

### getEditorComponent() Method

    public Component getEditorComponent()

Creates the custom editor that will be shown to the user to edit the attribute.

#### Returns

The java.awt.Component for the IDE to display (usually in a dialog).

### getFormatter() Method

    public JFormattedTextField.AbstractFormatter getFormatter()

Get the formatter to show this attribute as text.

#### Returns

The formatter to use in the property grid's display for the attribute. May be null, in which case no formatter will be used.

### getNewAttributeValue() Method

    public String getNewAttributeValue()

Gets the value of the attribute from the custom editor.

#### Returns

the new attribute value.

### onFinish() Method

    public Issue[] onFinish()

Called when the user presses OK/Finish.

#### Returns

An array of `Issue``` objects that describe the problems with the user's entry; null if getNewAttributeValue() will return a valid value.