Java Doc for LayerDecorator.java in  » GIS » udig-1.1 » net » refractions » udig » project » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » udig 1.1 » net.refractions.udig.project.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.refractions.udig.project.internal.LayerDecorator

All known Subclasses:   net.refractions.udig.style.internal.StyleLayer,  net.refractions.udig.project.internal.render.SelectionLayer,
LayerDecorator
public class LayerDecorator implements Layer,InternalEObject(Code)
Wraps a layer and delegates all the method calls to that layer. See the gang of four decorator pattern.
author:
   Jesse
since:
   1.0.0


Field Summary
final protected  Layerlayer
    
 CopyOnWriteArraySet<ILayerListener>listeners
     Listeners to this layer.
 ILayerListenerwatcher
    

Constructor Summary
public  LayerDecorator(Layer layer)
     Construct LayerDecorator.

Method Summary
public synchronized  voidaddListener(ILayerListener listener)
    
public  booleancanAdaptTo(Class<T> adapter)
    
public  voidchanged(IResolveChangeEvent event)
    
public  intcompareTo(ILayer other)
    
public  FiltercreateBBoxFilter(Envelope boundingBox, IProgressMonitor monitor)
    
public  EListeAdapters()
    
public  TreeIteratoreAllContents()
    
public  inteBaseStructuralFeatureID(int derivedFeatureID, Class baseClass)
    
public  NotificationChaineBasicRemoveFromContainer(NotificationChain notifications)
    
public  NotificationChaineBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID, NotificationChain notifications)
    
public  EClasseClass()
    
public  EObjecteContainer()
    
public  inteContainerFeatureID()
    
public  EStructuralFeatureeContainingFeature()
    
public  EReferenceeContainmentFeature()
    
public  EListeContents()
    
public  EListeCrossReferences()
    
public  booleaneDeliver()
    
public  inteDerivedStructuralFeatureID(int baseFeatureID, Class baseClass)
    
public  InternaleDirectResource()
    
public  ObjecteGet(EStructuralFeature feature)
    
public  ObjecteGet(EStructuralFeature feature, boolean resolve)
    
public  ObjecteGet(EStructuralFeature arg0, boolean arg1, boolean arg2)
    
public  ObjecteGet(int arg0, boolean arg1, boolean arg2)
    
public  InternalEObjecteInternalContainer()
    
public  InternaleInternalResource()
    
public  NotificationChaineInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain notifications)
    
public  NotificationChaineInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain notifications)
    
public  booleaneIsProxy()
    
public  booleaneIsSet(EStructuralFeature feature)
    
public  booleaneIsSet(int arg0)
    
public  booleaneNotificationRequired()
    
public  voideNotify(Notification notification)
    
public  EObjecteObjectForURIFragmentSegment(String uriFragmentSegment)
    
public  URIeProxyURI()
    
public  EObjecteResolveProxy(InternalEObject proxy)
    
public  ResourceeResource()
    
public  voideSet(EStructuralFeature feature, Object newValue)
    
public  voideSet(int arg0, Object arg1)
    
public  voideSetClass(EClass eClass)
    
public  voideSetDeliver(boolean deliver)
    
public  voideSetProxyURI(URI uri)
    
public  NotificationChaineSetResource(Internal resource, NotificationChain notifications)
    
public  voideSetStore(EStore store)
    
public  SettingeSetting(EStructuralFeature feature)
    
public  EStoreeStore()
    
public  StringeURIFragmentSegment(EStructuralFeature eFeature, EObject eObject)
    
public  voideUnset(EStructuralFeature feature)
    
public  voideUnset(int arg0)
    
public  IGeoResourcefindGeoResource(Class<T> clazz)
    
protected synchronized  voidfireLayerChange(LayerEvent event)
    
public  ObjectgetAdapter(Class adapter)
    
public  TgetAdapter(Class<T> adapter, IProgressMonitor monitor)
    
public  IBlackboardgetBlackboard()
    
public  ReferencedEnvelopegetBounds(IProgressMonitor monitor, CoordinateReferenceSystem crs)
    
public  CoordinateReferenceSystemgetCRS(IProgressMonitor monitor)
    
public  CoordinateReferenceSystemgetCRS()
    
public  CatalogRefgetCatalogRef()
    
public  ColourSchemegetColourScheme()
    
public  ContextModelgetContextModel()
    
public  ColorgetDefaultColor()
    
public  List<FeatureEvent>getFeatureChanges()
    
public  FiltergetFilter()
    
public  IGeoResourcegetGeoResource()
    
public  IGeoResourcegetGeoResource(Class<T> clazz)
    
public  List<IGeoResource>getGeoResources()
    
public  ImageDescriptorgetGlyph()
    
public  URLgetID()
    
public  IMapgetMap()
    
public  MapgetMapInternal()
    
public  doublegetMaxScaleDenominator()
    
public  doublegetMinScaleDenominator()
    
public  StringgetName()
    
public  IBlackboardgetProperties()
    
public  QuerygetQuery(boolean selection)
    
public  EgetResource(Class<E> resourceType, IProgressMonitor monitor)
    
public  FeatureTypegetSchema()
    
public  intgetStatus()
    
public  StringgetStatusMessage()
    
public  StyleBlackboardgetStyleBlackboard()
    
public  LayergetWrappedLayer()
    
public  intgetZorder()
    
public  booleanhasResource(Class<T> resourceType)
    
public  booleanisApplicable(String toolsetID)
    
public  booleanisSelectable()
    
public  booleanisType(Class<T> resourceType)
    
public  booleanisVisible()
    
public  MathTransformlayerToMapTransform()
    
public  MathTransformmapToLayerTransform()
    
public  voidrefresh(Envelope bounds)
    
public synchronized  voidremoveListener(ILayerListener listener)
    
public  voidsetApplicable(String toolsetID, boolean isApplicable)
    
public  voidsetBounds(ReferencedEnvelope bounds)
    
public  voidsetCRS(CoordinateReferenceSystem value)
    
public  voidsetCatalogRef(CatalogRef value)
    
public  voidsetColourScheme(ColourScheme value)
    
public  voidsetContextModel(ContextModel value)
    
public  voidsetDefaultColor(Color value)
    
public  voidsetFilter(Filter value)
    
public  voidsetGeoResource(IGeoResource value)
    
public  voidsetGlyph(ImageDescriptor value)
    
public  voidsetID(URL value)
    
public  voidsetMaxScaleDenominator(double value)
    
public  voidsetMinScaleDenominator(double value)
    
public  voidsetName(String value)
    
public  voidsetSelectable(boolean value)
    
public  voidsetStatus(int value)
    
public  voidsetStatusMessage(String message)
    
public  voidsetStyleBlackboard(StyleBlackboard value)
    
public  voidsetVisible(boolean value)
    
public  voidsetZorder(int value)
    

Field Detail
layer
final protected Layer layer(Code)



listeners
CopyOnWriteArraySet<ILayerListener> listeners(Code)
Listeners to this layer.

Note this will need to be hooked into the usual EMF adapater mechasim.




watcher
ILayerListener watcher(Code)




Constructor Detail
LayerDecorator
public LayerDecorator(Layer layer)(Code)
Construct LayerDecorator.
Parameters:
  layer -




Method Detail
addListener
public synchronized void addListener(ILayerListener listener)(Code)



canAdaptTo
public boolean canAdaptTo(Class<T> adapter)(Code)

See Also:   net.refractions.udig.core.IBlockingAdaptable.canAdaptTo(java.lang.Class)



changed
public void changed(IResolveChangeEvent event)(Code)



compareTo
public int compareTo(ILayer other)(Code)



createBBoxFilter
public Filter createBBoxFilter(Envelope boundingBox, IProgressMonitor monitor)(Code)



eAdapters
public EList eAdapters()(Code)



eAllContents
public TreeIterator eAllContents()(Code)



eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eBaseStructuralFeatureID(intjava.lang.Class)



eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain notifications)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain)



eBasicSetContainer
public NotificationChain eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID, NotificationChain notifications)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eBasicSetContainer(org.eclipse.emf.ecore.InternalEObjectintorg.eclipse.emf.common.notify.NotificationChain)



eClass
public EClass eClass()(Code)



eContainer
public EObject eContainer()(Code)



eContainerFeatureID
public int eContainerFeatureID()(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eContainerFeatureID



eContainingFeature
public EStructuralFeature eContainingFeature()(Code)



eContainmentFeature
public EReference eContainmentFeature()(Code)



eContents
public EList eContents()(Code)



eCrossReferences
public EList eCrossReferences()(Code)



eDeliver
public boolean eDeliver()(Code)



eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eDerivedStructuralFeatureID(intjava.lang.Class)



eDirectResource
public Internal eDirectResource()(Code)



eGet
public Object eGet(EStructuralFeature feature)(Code)



eGet
public Object eGet(EStructuralFeature feature, boolean resolve)(Code)



eGet
public Object eGet(EStructuralFeature arg0, boolean arg1, boolean arg2)(Code)



eGet
public Object eGet(int arg0, boolean arg1, boolean arg2)(Code)



eInternalContainer
public InternalEObject eInternalContainer()(Code)



eInternalResource
public Internal eInternalResource()(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eInternalResource



eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain notifications)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eInverseAdd(org.eclipse.emf.ecore.InternalEObjectintjava.lang.Classorg.eclipse.emf.common.notify.NotificationChain)



eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain notifications)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eInverseRemove(org.eclipse.emf.ecore.InternalEObjectintjava.lang.Classorg.eclipse.emf.common.notify.NotificationChain)



eIsProxy
public boolean eIsProxy()(Code)



eIsSet
public boolean eIsSet(EStructuralFeature feature)(Code)



eIsSet
public boolean eIsSet(int arg0)(Code)



eNotificationRequired
public boolean eNotificationRequired()(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eNotificationRequired



eNotify
public void eNotify(Notification notification)(Code)



eObjectForURIFragmentSegment
public EObject eObjectForURIFragmentSegment(String uriFragmentSegment)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eObjectForURIFragmentSegment(java.lang.String)



eProxyURI
public URI eProxyURI()(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eProxyURI



eResolveProxy
public EObject eResolveProxy(InternalEObject proxy)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eResolveProxy(org.eclipse.emf.ecore.InternalEObject)



eResource
public Resource eResource()(Code)



eSet
public void eSet(EStructuralFeature feature, Object newValue)(Code)



eSet
public void eSet(int arg0, Object arg1)(Code)



eSetClass
public void eSetClass(EClass eClass)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eSetClass(org.eclipse.emf.ecore.EClass)



eSetDeliver
public void eSetDeliver(boolean deliver)(Code)



eSetProxyURI
public void eSetProxyURI(URI uri)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eSetProxyURI(org.eclipse.emf.common.util.URI)



eSetResource
public NotificationChain eSetResource(Internal resource, NotificationChain notifications)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eSetResource(org.eclipse.emf.ecore.resource.Resource.Internalorg.eclipse.emf.common.notify.NotificationChain)



eSetStore
public void eSetStore(EStore store)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eSetStore(org.eclipse.emf.ecore.InternalEObject.EStore)



eSetting
public Setting eSetting(EStructuralFeature feature)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eSetting(org.eclipse.emf.ecore.EStructuralFeature)



eStore
public EStore eStore()(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eStore



eURIFragmentSegment
public String eURIFragmentSegment(EStructuralFeature eFeature, EObject eObject)(Code)

See Also:   org.eclipse.emf.ecore.InternalEObject.eURIFragmentSegment(org.eclipse.emf.ecore.EStructuralFeatureorg.eclipse.emf.ecore.EObject)



eUnset
public void eUnset(EStructuralFeature feature)(Code)



eUnset
public void eUnset(int arg0)(Code)



findGeoResource
public IGeoResource findGeoResource(Class<T> clazz)(Code)



fireLayerChange
protected synchronized void fireLayerChange(LayerEvent event)(Code)



getAdapter
public Object getAdapter(Class adapter)(Code)

See Also:   org.eclipse.core.runtime.IAdaptable.getAdapter(java.lang.Class)



getAdapter
public T getAdapter(Class<T> adapter, IProgressMonitor monitor) throws IOException(Code)

See Also:   net.refractions.udig.core.IBlockingAdaptable.getAdapter(java.lang.Classorg.eclipse.core.runtime.IProgressMonitor)



getBlackboard
public IBlackboard getBlackboard()(Code)



getBounds
public ReferencedEnvelope getBounds(IProgressMonitor monitor, CoordinateReferenceSystem crs) throws IOException(Code)



getCRS
public CoordinateReferenceSystem getCRS(IProgressMonitor monitor)(Code)



getCRS
public CoordinateReferenceSystem getCRS()(Code)



getCatalogRef
public CatalogRef getCatalogRef()(Code)



getColourScheme
public ColourScheme getColourScheme()(Code)

See Also:   net.refractions.udig.project.internal.Layer.getColourScheme



getContextModel
public ContextModel getContextModel()(Code)



getDefaultColor
public Color getDefaultColor()(Code)

See Also:   net.refractions.udig.project.internal.Layer.getDefaultColor



getFeatureChanges
public List<FeatureEvent> getFeatureChanges()(Code)



getFilter
public Filter getFilter()(Code)



getGeoResource
public IGeoResource getGeoResource()(Code)

See Also:   net.refractions.udig.project.ILayer.getGeoResource



getGeoResource
public IGeoResource getGeoResource(Class<T> clazz)(Code)

See Also:   net.refractions.udig.project.ILayer.getGeoResource(java.lang.Class)



getGeoResources
public List<IGeoResource> getGeoResources()(Code)



getGlyph
public ImageDescriptor getGlyph()(Code)



getID
public URL getID()(Code)



getMap
public IMap getMap()(Code)

See Also:   net.refractions.udig.project.ILayer.getMap



getMapInternal
public Map getMapInternal()(Code)

See Also:   net.refractions.udig.project.internal.Layer.getMap



getMaxScaleDenominator
public double getMaxScaleDenominator()(Code)



getMinScaleDenominator
public double getMinScaleDenominator()(Code)



getName
public String getName()(Code)



getProperties
public IBlackboard getProperties()(Code)



getQuery
public Query getQuery(boolean selection)(Code)



getResource
public E getResource(Class<E> resourceType, IProgressMonitor monitor) throws IOException(Code)

See Also:   net.refractions.udig.project.ILayer.getGeoResource(java.lang.Class)



getSchema
public FeatureType getSchema()(Code)



getStatus
public int getStatus()(Code)



getStatusMessage
public String getStatusMessage()(Code)

See Also:   net.refractions.udig.project.ILayer.getStatusMessage



getStyleBlackboard
public StyleBlackboard getStyleBlackboard()(Code)



getWrappedLayer
public Layer getWrappedLayer()(Code)
The decorated layer the decorated layer



getZorder
public int getZorder()(Code)



hasResource
public boolean hasResource(Class<T> resourceType)(Code)



isApplicable
public boolean isApplicable(String toolsetID)(Code)



isSelectable
public boolean isSelectable()(Code)



isType
public boolean isType(Class<T> resourceType)(Code)



isVisible
public boolean isVisible()(Code)



layerToMapTransform
public MathTransform layerToMapTransform() throws IOException(Code)



mapToLayerTransform
public MathTransform mapToLayerTransform() throws IOException(Code)

See Also:   net.refractions.udig.project.ILayer.mapToLayerTransform



refresh
public void refresh(Envelope bounds)(Code)



removeListener
public synchronized void removeListener(ILayerListener listener)(Code)



setApplicable
public void setApplicable(String toolsetID, boolean isApplicable)(Code)



setBounds
public void setBounds(ReferencedEnvelope bounds)(Code)



setCRS
public void setCRS(CoordinateReferenceSystem value)(Code)



setCatalogRef
public void setCatalogRef(CatalogRef value)(Code)



setColourScheme
public void setColourScheme(ColourScheme value)(Code)

See Also:   net.refractions.udig.project.internal.Layer.setColourScheme(net.refractions.udig.ui.palette.ColourScheme)



setContextModel
public void setContextModel(ContextModel value)(Code)



setDefaultColor
public void setDefaultColor(Color value)(Code)

See Also:   net.refractions.udig.project.internal.Layer.setDefaultColor(java.awt.Color)



setFilter
public void setFilter(Filter value)(Code)



setGeoResource
public void setGeoResource(IGeoResource value)(Code)

See Also:   net.refractions.udig.project.internal.Layer.setGeoResource(net.refractions.udig.catalog.IGeoResource)



setGlyph
public void setGlyph(ImageDescriptor value)(Code)



setID
public void setID(URL value)(Code)



setMaxScaleDenominator
public void setMaxScaleDenominator(double value)(Code)



setMinScaleDenominator
public void setMinScaleDenominator(double value)(Code)



setName
public void setName(String value)(Code)



setSelectable
public void setSelectable(boolean value)(Code)



setStatus
public void setStatus(int value)(Code)



setStatusMessage
public void setStatusMessage(String message)(Code)

See Also:   net.refractions.udig.project.internal.Layer.setStatusMessage(java.lang.String)



setStyleBlackboard
public void setStyleBlackboard(StyleBlackboard value)(Code)



setVisible
public void setVisible(boolean value)(Code)



setZorder
public void setZorder(int value)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.