org.jdesktop.swingx.editors
Class PainterPropertyEditor.LinearGradientPaintDelegate
java.lang.Object
java.beans.PersistenceDelegate
java.beans.DefaultPersistenceDelegate
org.jdesktop.swingx.editors.PainterPropertyEditor.LinearGradientPaintDelegate
- Enclosing class:
- PainterPropertyEditor
public static final class PainterPropertyEditor.LinearGradientPaintDelegate
- extends DefaultPersistenceDelegate
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PainterPropertyEditor.LinearGradientPaintDelegate
public PainterPropertyEditor.LinearGradientPaintDelegate()
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[])