com.tensegrity.gui.swing.graph
Class RendererConfigurationUtil

java.lang.Object
  extended bycom.tensegrity.gui.swing.graph.RendererConfigurationUtil

Deprecated. Use RendererConfigurationUtil instead!

public final class RendererConfigurationUtil
extends java.lang.Object

This class contains simple utility method for obtaining a memento object of type AttributeSet from an object of type RendererConfiguration and for applying such memento objects back to existing RendererConfiguration objects.

Version:
$Id: RendererConfigurationUtil.java,v 1.3 2004/09/22 09:46:55 BurkhardWick Exp $
Author:
StepanRutz
See Also:
RendererConfiguration, AttributeSet

Method Summary
static void rendererApplyMemento2Renderer(AttributeSet attributeset, RendererConfiguration configuration)
          Deprecated. This method applies the settings stored in the given AttributeSet to the given RendererConfiguration.
static AttributeSet rendererGetMemento(RendererConfiguration configuration)
          Deprecated. This method read the settings stored in the given RendererConfiguration and returns a memento-like AttributeSet with copied values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rendererApplyMemento2Renderer

public static final void rendererApplyMemento2Renderer(AttributeSet attributeset,
                                                       RendererConfiguration configuration)
Deprecated. 
This method applies the settings stored in the given AttributeSet to the given RendererConfiguration.

Parameters:
attributeset - the AttributeSet supplying the values to set.
configuration - the RendererConfiguration to set.

rendererGetMemento

public static AttributeSet rendererGetMemento(RendererConfiguration configuration)
Deprecated. 
This method read the settings stored in the given RendererConfiguration and returns a memento-like AttributeSet with copied values.

Parameters:
configuration - the RendererConfiguration to convert into a memento AttributeSet
Returns:
the generated memento-like AttributeSet that holds the settings copied from the RendererConfiguration.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.