org.favabeans.views
Class AbstractDropSlotModel

java.lang.Object
  |
  +--org.favabeans.views.AbstractDropSlotModel
All Implemented Interfaces:
DropSlotModel, Faceted
Direct Known Subclasses:
PropertyEditorDropSlotModel, SimpleDropSlotModel

public abstract class AbstractDropSlotModel
extends Object
implements DropSlotModel, Faceted


Constructor Summary
protected AbstractDropSlotModel()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 void addPropertyChangeListener(String propertyName, PropertyChangeListener l)
           
protected  void firePropertyChange(String propertyName, Object oldValue, Object newValue)
           
 Facet getFacet(Type type)
          Obtain a Facet of the requested Type for this object.
abstract  DataFlavor[] getSupportedValueFlavors()
           
abstract  Object getValue()
           
abstract  boolean isValueSettable()
           
abstract  boolean isValueSettable(Object value)
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void removePropertyChangeListener(String propertyName, PropertyChangeListener l)
           
abstract  void setValue(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDropSlotModel

protected AbstractDropSlotModel()
Method Detail

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.

getSupportedValueFlavors

public abstract DataFlavor[] getSupportedValueFlavors()
Specified by:
getSupportedValueFlavors in interface DropSlotModel

getValue

public abstract Object getValue()
Specified by:
getValue in interface DropSlotModel

isValueSettable

public abstract boolean isValueSettable()
Specified by:
isValueSettable in interface DropSlotModel

isValueSettable

public abstract boolean isValueSettable(Object value)
Specified by:
isValueSettable in interface DropSlotModel

setValue

public abstract void setValue(Object value)
                       throws PropertyValueException
Specified by:
setValue in interface DropSlotModel

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Specified by:
addPropertyChangeListener in interface DropSlotModel

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Specified by:
removePropertyChangeListener in interface DropSlotModel

addPropertyChangeListener

public void addPropertyChangeListener(String propertyName,
                                      PropertyChangeListener l)
Specified by:
addPropertyChangeListener in interface DropSlotModel

removePropertyChangeListener

public void removePropertyChangeListener(String propertyName,
                                         PropertyChangeListener l)
Specified by:
removePropertyChangeListener in interface DropSlotModel

firePropertyChange

protected void firePropertyChange(String propertyName,
                                  Object oldValue,
                                  Object newValue)


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