com.guiseframework.model.rdf
Class RDFResourceTreeNodeModel

java.lang.Object
  extended by com.globalmentor.beans.BoundPropertyObject
      extended by com.guiseframework.model.AbstractModel
          extended by com.guiseframework.model.AbstractValueModel<V>
              extended by com.guiseframework.model.DefaultValueModel<V>
                  extended by com.guiseframework.model.DefaultTreeNodeModel<V>
                      extended by com.guiseframework.model.DynamicTreeNodeModel<V>
                          extended by com.guiseframework.model.rdf.AbstractRDFResourceTreeNodeModel<com.globalmentor.rdf.RDFResource>
                              extended by com.guiseframework.model.rdf.RDFResourceTreeNodeModel
All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, ActionListenable, ActionModel, Model, RDFObjectTreeNodeModel<com.globalmentor.rdf.RDFResource>, Selectable, TreeNodeModel<com.globalmentor.rdf.RDFResource>, Valued<com.globalmentor.rdf.RDFResource>, ValueModel<com.globalmentor.rdf.RDFResource>, java.lang.Iterable<TreeNodeModel<?>>

public class RDFResourceTreeNodeModel
extends AbstractRDFResourceTreeNodeModel<com.globalmentor.rdf.RDFResource>

A tree node model that represents an RDF resource.

Any properties will be dynamically loaded

This class has special support for RDF lists, the contents of which are by default displayed as children of the given resource.

Author:
Garret Wilson

Field Summary
 
Fields inherited from class com.guiseframework.model.rdf.AbstractRDFResourceTreeNodeModel
RESOURCE_CHILDREN_INCLUDED_PROPERTY, RESOURCE_PROPERTIES_INCLUDED_PROPERTY
 
Fields inherited from class com.globalmentor.beans.BoundPropertyObject
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS
 
Fields inherited from interface com.guiseframework.model.TreeNodeModel
EXPANDED_PROPERTY
 
Fields inherited from interface com.guiseframework.model.ValueModel
VALIDATOR_PROPERTY, VALUE_PROPERTY
 
Fields inherited from interface com.guiseframework.model.Model
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE
 
Fields inherited from interface com.guiseframework.model.Selectable
SELECTED_PROPERTY
 
Constructor Summary
RDFResourceTreeNodeModel()
          Default constructor with no initial value.
RDFResourceTreeNodeModel(com.globalmentor.rdf.RDFResource initialValue)
          Initial value constructor.
RDFResourceTreeNodeModel(com.globalmentor.rdf.RDFResource rdfProperty, com.globalmentor.rdf.RDFResource initialValue)
          Property and initial value constructor.
 
Method Summary
 
Methods inherited from class com.guiseframework.model.rdf.AbstractRDFResourceTreeNodeModel
createRDFLiteralTreeNode, createRDFResourceTreeNode, determineChildren, determineLeaf, getProperty, isResourceChildrenIncluded, isResourcePropertiesIncluded, setResourceChildrenIncluded, setResourcePropertiesIncluded
 
Methods inherited from class com.guiseframework.model.DynamicTreeNodeModel
clear, isLeaf, setExpanded
 
Methods inherited from class com.guiseframework.model.DefaultTreeNodeModel
add, addActionListener, fireActionPerformed, fireActionPerformed, getActionListeners, getChildren, getDepth, getParent, getTreeNodeList, hasChild, hasChildren, isExpanded, isSelected, iterator, performAction, performAction, remove, removeActionListener, setAllExpanded, setChildren, setParent, setSelected
 
Methods inherited from class com.guiseframework.model.DefaultValueModel
clearValue, getDefaultValue, getValue, resetValue, setValue
 
Methods inherited from class com.guiseframework.model.AbstractValueModel
createPropertyVetoException, getValidator, getValueClass, isValidValue, setValidator, validateValue
 
Methods inherited from class com.guiseframework.model.AbstractModel
getEventListenerManager, getPlainText
 
Methods inherited from class com.globalmentor.beans.BoundPropertyObject
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.guiseframework.model.TreeNodeModel
add, clear, getDepth, getParent, hasChild, hasChildren, isExpanded, isLeaf, remove, setAllExpanded, setExpanded, setParent
 
Methods inherited from interface com.guiseframework.model.ActionModel
getActionListeners, performAction, performAction
 
Methods inherited from interface com.guiseframework.event.ActionListenable
addActionListener, removeActionListener
 
Methods inherited from interface com.guiseframework.model.ValueModel
clearValue, getDefaultValue, getValidator, getValue, getValueClass, isValidValue, resetValue, setValidator, setValue, validateValue
 
Methods inherited from interface com.globalmentor.beans.PropertyBindable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.globalmentor.beans.PropertyConstrainable
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from interface com.guiseframework.model.Selectable
isSelected, setSelected
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

RDFResourceTreeNodeModel

public RDFResourceTreeNodeModel()
Default constructor with no initial value.


RDFResourceTreeNodeModel

public RDFResourceTreeNodeModel(com.globalmentor.rdf.RDFResource initialValue)
Initial value constructor.

Parameters:
initialValue - The initial value, which will not be validated.

RDFResourceTreeNodeModel

public RDFResourceTreeNodeModel(com.globalmentor.rdf.RDFResource rdfProperty,
                                com.globalmentor.rdf.RDFResource initialValue)
Property and initial value constructor.

Parameters:
rdfProperty - The property of which this object is a resource, or null if this object should not be considered the object of any property.
initialValue - The initial value, which will not be validated.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.