public abstract class RuntimeDescriptor extends Descriptor
Modifier and Type | Field and Description |
---|---|
protected PropertyChangeSupport |
propListeners |
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
Constructor and Description |
---|
RuntimeDescriptor()
Creates a new instance of RuntimeDescriptor
|
RuntimeDescriptor(RuntimeDescriptor other)
Creates a new instance of RuntimeDescriptor
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property listener for this bean
|
void |
addPropertyChangeListener(String n,
PropertyChangeListener l)
Add a property listener for a specific property name
|
protected int |
addValue(String name,
Object value) |
String |
getAttributeValue(String attributeName) |
String |
getAttributeValue(String elementName,
int index,
String attributeName) |
String |
getAttributeValue(String elementName,
String attributeName) |
Object |
getValue(String name) |
protected Object |
getValue(String name,
int index) |
protected Object[] |
getValues(String name) |
void |
removePropertyChangeListener(PropertyChangeListener l)
removes a property listener for this bean
|
void |
removePropertyChangeListener(String n,
PropertyChangeListener l)
Remover a property listener for specific property name
|
protected void |
removeValue(String name,
int index) |
protected int |
removeValue(String name,
Object value) |
void |
setAttributeValue(String elementName,
int index,
String attributeName,
Object value) |
void |
setAttributeValue(String attributeName,
String value) |
void |
setAttributeValue(String elementName,
String attributeName,
Object value) |
protected void |
setValue(String name,
int index,
Object value)
indexed property support
|
void |
setValue(String name,
Object value)
Sets a property value
|
protected int |
size(String name) |
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
protected PropertyChangeSupport propListeners
public RuntimeDescriptor(RuntimeDescriptor other)
public RuntimeDescriptor()
public void addPropertyChangeListener(PropertyChangeListener l)
the
- property listenerpublic void removePropertyChangeListener(PropertyChangeListener l)
the
- property listener to removepublic void addPropertyChangeListener(String n, PropertyChangeListener l)
the
- property namethe
- property listenerpublic void removePropertyChangeListener(String n, PropertyChangeListener l)
the
- property namethe
- property listenerpublic void setValue(String name, Object value)
the
- property namethe
- property valueprotected void removeValue(String name, int index)
protected int size(String name)
public void setAttributeValue(String elementName, String attributeName, Object value)
public void setAttributeValue(String elementName, int index, String attributeName, Object value)
Copyright © 2019. All rights reserved.