org.jdesktop.swingx.editors
Class PainterPropertyEditor.LinearGradientPaintDelegate

java.lang.Object
  extended by java.beans.PersistenceDelegate
      extended by java.beans.DefaultPersistenceDelegate
          extended by org.jdesktop.swingx.editors.PainterPropertyEditor.LinearGradientPaintDelegate
Enclosing class:
PainterPropertyEditor

public static final class PainterPropertyEditor.LinearGradientPaintDelegate
extends DefaultPersistenceDelegate


Constructor Summary
PainterPropertyEditor.LinearGradientPaintDelegate()
           
 
Method Summary
protected  Expression instantiate(Object oldInstance, Encoder out)
          This default implementation of the instantiate method returns an expression containing the predefined method name "new" which denotes a call to a constructor with the arguments as specified in the DefaultPersistenceDelegate's constructor.
 
Methods inherited from class java.beans.DefaultPersistenceDelegate
initialize, mutatesTo
 
Methods inherited from class java.beans.PersistenceDelegate
writeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PainterPropertyEditor.LinearGradientPaintDelegate

public PainterPropertyEditor.LinearGradientPaintDelegate()
Method Detail

instantiate

protected Expression instantiate(Object oldInstance,
                                 Encoder out)
Description copied from class: java.beans.DefaultPersistenceDelegate
This default implementation of the instantiate method returns an expression containing the predefined method name "new" which denotes a call to a constructor with the arguments as specified in the DefaultPersistenceDelegate's constructor.

Overrides:
instantiate in class DefaultPersistenceDelegate
Parameters:
oldInstance - The instance to be instantiated.
out - The code output stream.
Returns:
An expression whose value is oldInstance.
See Also:
DefaultPersistenceDelegate.DefaultPersistenceDelegate(String[])