gishur.gui2
Class SourceAdapter

java.lang.Object
  |
  +--gishur.gui2.SourcePropertyAdapter
        |
        +--gishur.gui2.SourceAdapter

public class SourceAdapter
extends SourcePropertyAdapter

A SourcePropertyAdapter, that reads the source object itself as property.

Version:
1.0
Author:
Thomas Wolf

Constructor Summary
SourceAdapter()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.String key, java.lang.Object source, PropertyStatusReader prop)
          Returns the source object directly as read property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceAdapter

public SourceAdapter()
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String key,
                                    java.lang.Object source,
                                    PropertyStatusReader prop)
Returns the source object directly as read property
Overrides:
getProperty in class SourcePropertyAdapter
Parameters:
key - the property name
source - the source object to use
prop - the PropertyStatusReader
Returns:
property value