org.favabeans.demo.defaults
Class Defaults.PropertiesOfDataSource

java.lang.Object
  |
  +--org.favabeans.base.DefaultFacet
        |
        +--org.favabeans.base.BeanProperties
              |
              +--org.favabeans.demo.defaults.Defaults.PropertiesOfDataSource
All Implemented Interfaces:
Facet, Faceted, Properties
Enclosing class:
Defaults

public static class Defaults.PropertiesOfDataSource
extends BeanProperties


Constructor Summary
Defaults.PropertiesOfDataSource(Object primaryObject)
           
 
Method Summary
protected  boolean shouldIncludeBeanProperty(PropertyDescriptor pd)
          Indicate whether a given introspected Bean property should be included in the Properties Facet of the primary object.
 
Methods inherited from class org.favabeans.base.BeanProperties
addPropertyChangeListener, addPropertyChangeListener, buildNonBeanAdditionalProperties, getAdditionalProperties, getDisplayName, getDisplayNameProperty, getExpertProperty, getHiddenProperty, getLargeIcon, getLargeIconProperty, getName, getNameProperty, getPreferredProperty, getShortDescription, getShortDescriptionProperty, getSmallIcon, getSmallIconProperty, isExpert, isHidden, isPreferred, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class org.favabeans.base.DefaultFacet
finalize, getFacet, getPrimaryObject
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.favabeans.base.Facet
getPrimaryObject
 

Constructor Detail

Defaults.PropertiesOfDataSource

public Defaults.PropertiesOfDataSource(Object primaryObject)
Method Detail

shouldIncludeBeanProperty

protected boolean shouldIncludeBeanProperty(PropertyDescriptor pd)
Description copied from class: BeanProperties
Indicate whether a given introspected Bean property should be included in the Properties Facet of the primary object.

This method is for the convenience of subclasses. The default implementation of this method always returns true.

Overrides:
shouldIncludeBeanProperty in class BeanProperties
Following copied from class: org.favabeans.base.BeanProperties
Parameters:
pd - the Bean property descriptor for the given property.
Returns:
true if the property should be included; false otherwise.


Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.