|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.graph.RendererConfigurationUtil
RendererConfigurationUtil instead!
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.
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 |
public static final void rendererApplyMemento2Renderer(AttributeSet attributeset,
RendererConfiguration configuration)
AttributeSet to the given RendererConfiguration.
attributeset - the AttributeSet supplying the values to set.configuration - the RendererConfiguration to set.public static AttributeSet rendererGetMemento(RendererConfiguration configuration)
RendererConfiguration and returns a
memento-like AttributeSet with copied values.
configuration - the RendererConfiguration to convert
into a memento AttributeSet
AttributeSet that holds
the settings copied from the RendererConfiguration.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||