public interface Extension
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener such that it will be notified of any
 change made to the value originally set upon this Extension. 
 | 
java.awt.Component | 
getCustomEditor()
Get a custom editor instance for use by the Property Inspector Window when
 editing a property whose value is an instance of an implementation class
 represented by this Extension, or when the user has selected a tag
 provided by this Extension. 
 | 
java.lang.String | 
getDisplayString()
Get a possibly abbreviated string representation of the value for display
 in the PropertyEditor when the value of a given property is an inline
 expression resulting in an instance of one of the implementation classes
 represented by this Extension. 
 | 
java.lang.Class[] | 
getImplementationClasses()
Get the one or more concrete implementation classes being represented by
 this Extension. 
 | 
java.lang.String | 
getInitializer()
Deprecated. 
 
No longer used.  Should always return null. 
 | 
java.lang.String | 
getJavaInitializationString()
Get the java source code to be generated verbatim as the argument of the
 property setting. 
 | 
java.lang.String[] | 
getTags()
Get an array of Strings to be presented to the user as selectable values
 from the Property Inspector Window. 
 | 
java.lang.Object | 
getValue()
Get the value to be set upon the property. 
 | 
boolean | 
isInline()
Deprecated. 
 
No longer used.  Should always return true. 
 | 
void | 
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a PropertyChangeListener from this Extension. 
 | 
void | 
setSelectedTag(java.lang.String tag)
Set the tag selected by the user via the InspectorWindow. 
 | 
void | 
setValue(java.lang.Object value)
Receive the current value of the property. 
 | 
boolean | 
supportsCustomEditor()
Determine whether or not a custom editor is available to the Property
 Inspector Window for custom editing when the property value is currently
 set to an inline instance of an implementation class represented by this
 Extension, or when the user has selected a tag provided by this Extension. 
 | 
boolean isInline()
getInitializer(), 
getJavaInitializationString()java.lang.String getInitializer()
isInline()java.lang.String getJavaInitializationString()
isInline()java.lang.String getDisplayString()
isInline()java.lang.String[] getTags()
getImplementationClasses()void setSelectedTag(java.lang.String tag)
tag - the selected tag.getTags()boolean supportsCustomEditor()
getTags(), 
isInline(), 
setSelectedTag(java.lang.String), 
setValue(java.lang.Object)java.awt.Component getCustomEditor()
getTags(), 
setSelectedTag(java.lang.String), 
setValue(java.lang.Object)java.lang.Object getValue()
getImplementationClasses()void setValue(java.lang.Object value)
value - the current value of the property.getImplementationClasses()java.lang.Class[] getImplementationClasses()
void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - the listener to add.void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - this listener to remove.