org.favabeans.base
Class DefaultFacet

java.lang.Object
  |
  +--org.favabeans.base.DefaultFacet
All Implemented Interfaces:
Facet, Faceted
Direct Known Subclasses:
BeanProperties, DefaultChange, DefaultDataTransfer, DefaultDnDTargetContainer, DefaultPrototype, Defaults.ActionsOfJComponent, Defaults.DirectoryDnDTarget, DefaultViewPrototypes, MethodActions, SimpleProperties

public class DefaultFacet
extends Object
implements Facet, Faceted


Constructor Summary
protected DefaultFacet(Object primaryObject)
           
 
Method Summary
protected  void finalize()
           
 Facet getFacet(Type type)
          Obtain a Facet of the requested Type for this object.
 Object getPrimaryObject()
          Obtain the primary object of this Facet.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFacet

protected DefaultFacet(Object primaryObject)
Method Detail

getPrimaryObject

public Object getPrimaryObject()
Description copied from interface: Facet
Obtain the primary object of this Facet. The primary object is that object of which this Facet is an alternative representation. The primary object may or may not know that it is being represented by this Facet.
Specified by:
getPrimaryObject in interface Facet
Following copied from interface: org.favabeans.base.Facet
Returns:
the primary object.

finalize

protected void finalize()
Overrides:
finalize in class Object

getFacet

public Facet getFacet(Type type)
Description copied from interface: Faceted
Obtain a Facet of the requested Type for this object.
Specified by:
getFacet in interface Faceted
Following copied from interface: org.favabeans.base.Faceted
Parameters:
type - the Type of Facet requested for this object.
Returns:
a Facet, or null if none can be created as requested.


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