Package net.ontopia.topicmaps.viz
Class ApplicationContext
- java.lang.Object
-
- net.ontopia.topicmaps.viz.ApplicationContext
-
- All Implemented Interfaces:
ApplicationContextIF
- Direct Known Subclasses:
AppletContext
,DesktopContext
public abstract class ApplicationContext extends Object implements ApplicationContextIF
EXPERIMENTAL: Common methods for all application contexts.
-
-
Constructor Summary
Constructors Constructor Description ApplicationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VizTopicMapConfigurationManager
getTmConfig()
Get the Configuration ManagerTopicMapView
getView()
Get the view attached to this contextVizPanel
getVizPanel()
Get the Panelvoid
setTmConfig(VizTopicMapConfigurationManager tmConfig)
Set the Configuration Managervoid
setView(TopicMapView view)
Set the view for this contextvoid
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
-
-
-
-
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 interfaceApplicationContextIF
- 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 interfaceApplicationContextIF
- 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 interfaceApplicationContextIF
- Parameters:
vpanel
- The vpanel to set.
-
-