|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
edu.umd.cfar.lamp.apploader.misc.FlattenedList
edu.umd.cfar.lamp.apploader.propertysheets.DescriberBasedProperties
A set of properties for an object that are specified in the preferences.
| Field Summary |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
DescriberBasedProperties()
Creates a new, empty set of properties. |
|
DescriberBasedProperties(java.util.List inside)
Create a new AllProperties list that uses the given child InstancePropertyLists. |
|
| Method Summary | |
void |
addChangeListener(javax.swing.event.ChangeListener l)
Adds a listener for changes to the watched properties. |
void |
addListenersFor(com.hp.hpl.jena.rdf.model.Resource describer)
Gets all the listeners types associated with the given resource and adds instances of them (through dynamic proxying) to the current instance object. |
void |
clear()
Removes all properties, and listeners for changes to those properties. |
abstract java.util.Collection |
getAllDescribers()
Gets all property describers. |
javax.swing.event.ChangeListener[] |
getChangeListeners()
Gets all current change listeners. |
void |
getExplicitPropertiesFor(com.hp.hpl.jena.rdf.model.Resource describer)
Gets all the explicit properties associated with the given resource and adds them to this. |
void |
getExtendedPropertiesFor(com.hp.hpl.jena.rdf.model.Resource describer)
Gets all the extended properties associated with the given resource and the current instance object and adds them to this. |
java.lang.Object |
getObject()
Gets the current instance object. |
PrefsManager |
getPrefs()
Gets the application preferences associated with this properties object. |
protected void |
justSetObject(java.lang.Object o)
Sets the instance object, but assumes that it has all the old properties as the last one and doesn't refresh or reset anything. |
protected void |
parsePropertyDescriber(com.hp.hpl.jena.rdf.model.Resource describer)
Sets up the describer-based properties using the current instance object and the passed props:Describer |
void |
refresh()
Refreshes the extended attributes, but nothing else. |
protected void |
refreshChildren()
Refreshes all of the child property lists (extended properties). |
void |
removeChangeListener(javax.swing.event.ChangeListener l)
Removes a listener for changes to the watched properties. |
void |
reset()
A harsher form of refresh, this also changes the extensions and resets the listeners. |
protected void |
resetChildren()
Resets all of the child property lists (extended properties). |
void |
setObject(java.lang.Object o)
Sets the object and resets the list of properties. |
void |
setPrefs(PrefsManager manager)
Sets the application preferences associated with this properties object. |
| Methods inherited from class edu.umd.cfar.lamp.apploader.misc.FlattenedList |
get, getInnerList, isEmpty, iterator, setInnerList, size |
| Methods inherited from class java.util.AbstractList |
add, add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Constructor Detail |
public DescriberBasedProperties()
public DescriberBasedProperties(java.util.List inside)
InstancePropertyLists.
inside - The property lists to aggregate| Method Detail |
public void clear()
clear in interface java.util.Listclear in class FlattenedListList.clear()public void reset()
protected void resetChildren()
protected void refreshChildren()
protected void justSetObject(java.lang.Object o)
o - The new instance object.public void setObject(java.lang.Object o)
setObject in interface InstancePropertyListo - the object to set topublic java.lang.Object getObject()
getObject in interface InstancePropertyListpublic void getExplicitPropertiesFor(com.hp.hpl.jena.rdf.model.Resource describer)
this.
describer - RDF resource that is a props:Describerpublic void getExtendedPropertiesFor(com.hp.hpl.jena.rdf.model.Resource describer)
this.
describer - RDF resource that is a props:Describerpublic void addListenersFor(com.hp.hpl.jena.rdf.model.Resource describer)
describer - RDF resource that is a props:Describerprotected void parsePropertyDescriber(com.hp.hpl.jena.rdf.model.Resource describer)
describer - a resource that is a props:Describerpublic abstract java.util.Collection getAllDescribers()
public void addChangeListener(javax.swing.event.ChangeListener l)
l - the listener to addpublic void removeChangeListener(javax.swing.event.ChangeListener l)
l - the listener to removepublic javax.swing.event.ChangeListener[] getChangeListeners()
public PrefsManager getPrefs()
public void setPrefs(PrefsManager manager)
manager - The application preferencespublic void refresh()
refresh in interface InstancePropertyList
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||