Package net.ontopia.topicmaps.viz
Class ApplicationContext
java.lang.Object
net.ontopia.topicmaps.viz.ApplicationContext
- All Implemented Interfaces:
ApplicationContextIF
- Direct Known Subclasses:
AppletContext,DesktopContext
EXPERIMENTAL: Common methods for all application contexts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the Configuration ManagergetView()Get the view attached to this contextGet the PanelvoidsetTmConfig(VizTopicMapConfigurationManager tmConfig) Set the Configuration ManagervoidsetView(TopicMapView view) Set the view for this contextvoidsetVizPanel(VizPanel vpanel) Set the PanelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ontopia.topicmaps.viz.ApplicationContextIF
focusNode, getAssocFrame, getDefaultLocality, getDefaultScopingTopic, getEnabledItemIds, getMaxLocality, getStartTopic, getTopicForLocator, getTopicFrame, goToTopic, isApplet, loadTopic, openPropertiesURL, setScopingTopic, setStartTopic
-
Constructor Details
-
ApplicationContext
public ApplicationContext()
-
-
Method Details
-
getView
Get the view attached to this context- Returns:
- Returns the view.
-
setView
Set the view for this context- Specified by:
setViewin interfaceApplicationContextIF- Parameters:
view- The view to set.
-
getTmConfig
Get the Configuration Manager- Returns:
- Returns the tmConfig.
-
setTmConfig
Set the Configuration Manager- Specified by:
setTmConfigin interfaceApplicationContextIF- Parameters:
tmConfig- The tmConfig to set.
-
getVizPanel
Get the Panel- Returns:
- Returns the vpanel.
-
setVizPanel
Set the Panel- Specified by:
setVizPanelin interfaceApplicationContextIF- Parameters:
vpanel- The vpanel to set.
-