net.ontopia.topicmaps.viz
Class ApplicationContext

java.lang.Object
  extended by net.ontopia.topicmaps.viz.ApplicationContext
All Implemented Interfaces:
ApplicationContextIF
Direct Known Subclasses:
AppletContext, DesktopContext

public abstract class ApplicationContext
extends java.lang.Object
implements ApplicationContextIF

EXPERIMENTAL: Common methods for all application contexts.


Constructor Summary
ApplicationContext()
           
 
Method Summary
 VizTopicMapConfigurationManager getTmConfig()
          Get the Configuration Manager
 TopicMapView getView()
          Get the view attached to this context
 VizPanel getVizPanel()
          Get the Panel
 void setTmConfig(VizTopicMapConfigurationManager tmConfig)
          Set the Configuration Manager
 void setView(TopicMapView view)
          Set the view for this context
 void setVizPanel(VizPanel vpanel)
          Set the Panel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.ontopia.topicmaps.viz.ApplicationContextIF
focusNode, getAssocFrame, getDefaultLocality, getDefaultScopingTopic, getEnabledItemIds, getMaxLocality, getStartTopic, getTopicForLocator, getTopicFrame, goToTopic, isApplet, loadTopic, openPropertiesURL, setScopingTopic, setStartTopic
 

Constructor Detail

ApplicationContext

public ApplicationContext()
Method Detail

getView

public TopicMapView getView()
Get the view attached to this context

Returns:
Returns the view.

setView

public void setView(TopicMapView view)
Set the view for this context

Specified by:
setView in interface ApplicationContextIF
Parameters:
view - The view to set.

getTmConfig

public VizTopicMapConfigurationManager getTmConfig()
Get the Configuration Manager

Returns:
Returns the tmConfig.

setTmConfig

public void setTmConfig(VizTopicMapConfigurationManager tmConfig)
Set the Configuration Manager

Specified by:
setTmConfig in interface ApplicationContextIF
Parameters:
tmConfig - The tmConfig to set.

getVizPanel

public VizPanel getVizPanel()
Get the Panel

Returns:
Returns the vpanel.

setVizPanel

public void setVizPanel(VizPanel vpanel)
Set the Panel

Specified by:
setVizPanel in interface ApplicationContextIF
Parameters:
vpanel - The vpanel to set.


Copyright © 2000-2012 Ontopia.