public class DefaultCompositeFileElementProxy extends BaseCompositeFileElementProxy
CompositeFileElementProxy
 based on a container-style composite element type.
 An observer is attached to the composite elements of this proxy type to fire
 a composite state change event through the registry class when the container
 state is modified.| Constructor and Description | 
|---|
DefaultCompositeFileElementProxy()
Constructs a  
DefaultCompositeFileElementProxy object. | 
DefaultCompositeFileElementProxy(java.lang.Class compositeElementClass)
Deprecated. 
 
replaced by  
DefaultCompositeFileElementProxy(); the element class is supplied in composite-file-element-hook. | 
DefaultCompositeFileElementProxy(java.lang.String viewType,
                                java.lang.Class compositeElementClass)
Deprecated. 
 
replaced by  
DefaultCompositeFileElementProxy(); the view type and element class are supplied in composite-file-element-hook. | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addChildURLs(java.util.Collection compositeFileUrls,
            Element parent)  | 
protected void | 
addLocatableURL(java.util.Collection compositeFileUrls,
               java.lang.Object o)  | 
protected void | 
addParentURL(java.util.Collection compositeFileUrls,
            Element parent)  | 
protected void | 
attachContainerStateObserver(Element element)
Attaches a container state observer to the given element and its children. 
 | 
java.lang.Class | 
getCompositeElementClass()
Deprecated.  
 | 
java.net.URL[] | 
getCompositeFileURLs(Element compositeElement)
Gets the file URLs represented by the given composite element, attaching a
 container state observer to all composite children. 
 | 
protected java.util.Collection | 
getContainerFileURLs(Element compositeElement)
Gets the file URLs represented by the given composite element. 
 | 
java.lang.String | 
getViewType()
Gets the type identifier of views associated with this proxy. 
 | 
protected boolean | 
isContainerStyleRecursive()
Asks whether this proxy behaves recursively with respect to its composite
 elements. 
 | 
public DefaultCompositeFileElementProxy()
DefaultCompositeFileElementProxy object.@Deprecated public DefaultCompositeFileElementProxy(java.lang.Class compositeElementClass)
DefaultCompositeFileElementProxy(); the element class is supplied in composite-file-element-hook.DefaultCompositeFileElementProxy object.compositeElementClass - the class of composite elements for the proxy.@Deprecated
public DefaultCompositeFileElementProxy(java.lang.String viewType,
                                           java.lang.Class compositeElementClass)
DefaultCompositeFileElementProxy(); the view type and element class are supplied in composite-file-element-hook.DefaultCompositeFileElementProxy object.viewType - the type of views associated with this proxy.compositeElementClass - the class of composite elements for the proxy.public java.lang.String getViewType()
null indicates any potential view.getViewType in class BaseCompositeFileElementProxy@Deprecated public java.lang.Class getCompositeElementClass()
getCompositeElementClass in interface CompositeFileElementProxygetCompositeElementClass in class BaseCompositeFileElementProxypublic java.net.URL[] getCompositeFileURLs(Element compositeElement)
compositeElement - the composite element.protected void attachContainerStateObserver(Element element)
element - the element.protected java.util.Collection getContainerFileURLs(Element compositeElement)
Locatable
 interface and the element itself, if also a Locatable.compositeElement - the composite element.protected boolean isContainerStyleRecursive()
true.protected void addParentURL(java.util.Collection compositeFileUrls,
                Element parent)
protected void addChildURLs(java.util.Collection compositeFileUrls,
                Element parent)
protected void addLocatableURL(java.util.Collection compositeFileUrls,
                   java.lang.Object o)