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 VizTopicMapConfigurationManagergetTmConfig()Get the Configuration ManagerTopicMapViewgetView()Get the view attached to this contextVizPanelgetVizPanel()Get the PanelvoidsetTmConfig(VizTopicMapConfigurationManager tmConfig)Set the Configuration ManagervoidsetView(TopicMapView view)Set the view for this contextvoidsetVizPanel(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:
setViewin 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:
setTmConfigin 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:
setVizPanelin interfaceApplicationContextIF- Parameters:
vpanel- The vpanel to set.
-
-