org.kahina.core.visual
Class KahinaViewConfiguration

java.lang.Object
  extended by org.kahina.core.visual.KahinaViewConfiguration
Direct Known Subclasses:
KahinaChartViewConfiguration, KahinaDAGViewConfiguration, KahinaGraphViewConfiguration, KahinaTreeViewConfiguration

public class KahinaViewConfiguration
extends Object

The ancestor class of all view configuration classes.

Implementations of this class serve as stores for those properties of a view component that can be manipulated by the user. Implementations of this class should contain all the data necessary to reconstruct a view exactly as it was when restoring a session. The default implementation contains no properties

This class is usually specialized for any given subclass of KahinaView.


Constructor Summary
KahinaViewConfiguration()
           
 
Method Summary
 Element exportXML(Document dom)
          Default implementation creates an empty element without type specification
static KahinaViewConfiguration importXML(Element e)
          Default implementation creates an empty KahinaViewConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KahinaViewConfiguration

public KahinaViewConfiguration()
Method Detail

importXML

public static KahinaViewConfiguration importXML(Element e)
Default implementation creates an empty KahinaViewConfiguration

Parameters:
e - the DOM node the configuration is to be read from
Returns:
the configuration encoded in the DOM node

exportXML

public Element exportXML(Document dom)
Default implementation creates an empty element without type specification