|
org.netbeans.core/2 3.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.netbeans.beaninfo.editors.ObjectEditor
public final class ObjectEditor
Defines editor for choosing of any object using lookup.
| Field Summary |
|---|
| Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor |
|---|
PROP_VALUE_VALID, PROPERTY_HELP_ID |
| Constructor Summary | |
|---|---|
ObjectEditor()
Creates new ObjectEditor |
|
| Method Summary | |
|---|---|
void |
attachEnv(PropertyEnv env)
This method is called by the IDE to pass the environment to the property editor. |
String |
getAsText()
|
Component |
getCustomEditor()
|
String[] |
getTags()
List of all display names for items. |
protected Lookup |
lookup()
A lookup to work on. |
void |
setAsText(String str)
Searches between items whether there is one with the same display name. |
boolean |
supportsCustomEditor()
Yes we have custom editor. |
protected Lookup.Template<Object> |
template()
A template to use. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.beans.PropertyEditor |
|---|
addPropertyChangeListener, getJavaInitializationString, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue |
| Constructor Detail |
|---|
public ObjectEditor()
| Method Detail |
|---|
public void attachEnv(PropertyEnv env)
attachEnv in interface ExPropertyEditorprotected Lookup lookup()
protected Lookup.Template<Object> template()
public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport
public void setAsText(String str)
throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportstr - item name
IllegalArgumentExceptionpublic String[] getTags()
getTags in interface PropertyEditorgetTags in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupport
|
org.netbeans.core/2 3.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||