public class AppletContext extends ApplicationContext
| Constructor and Description |
|---|
AppletContext(Vizlet aVizlet) |
| Modifier and Type | Method and Description |
|---|---|
void |
focusNode(TMAbstractNode aNode)
Set the node as the focus of the map
|
TypesConfigFrame |
getAssocFrame()
Display the configuration frame for associations (edges)
|
String |
getConfigurl() |
int |
getDefaultLocality()
Get the default locality for the application.
|
TopicIF |
getDefaultScopingTopic(TopicMapIF aTopicmap)
Get the default scoping topic
|
ParsedMenuFile |
getEnabledItemIds()
Return the menu of enabled items
|
int |
getMaxLocality()
Returns the maximum number of nodes (locality) to display linked
to the central node.
|
TopicIF |
getStartTopic(TopicMapIF aTopicmap)
Return the start topic defined on the map
|
String |
getTmid() |
String |
getTmrap() |
TopicIF |
getTopicForLocator(LocatorIF aLocator,
TopicMapIF topicmap)
Returns the topic with the given subject identifier, if any.
|
TypesConfigFrame |
getTopicFrame()
Display the configuration frame for topics
|
void |
goToTopic(TopicIF topic)
Set the focus of the map to the specified topic
|
void |
goToTopicURL(String url)
Opens the supplied url string.
|
boolean |
isApplet()
Is this an applet?
|
void |
loadTopic(TopicIF aTopic)
Get a topic from the associated store
|
void |
openPropertiesURL(String url)
Opens the supplied url string in a browser window.
|
void |
setScopingTopic(TopicIF aScope)
Set the scoping topic for the map
|
void |
setStartTopic(TopicIF aTopic)
Assign the starting topic of the map to display.
|
getTmConfig, getView, getVizPanel, setTmConfig, setView, setVizPanelpublic AppletContext(Vizlet aVizlet)
public void goToTopicURL(String url)
public void goToTopic(TopicIF topic)
ApplicationContextIFtopic - Topic to set as the central focuspublic void openPropertiesURL(String url)
url - String representing the target urlpublic boolean isApplet()
ApplicationContextIFpublic void setStartTopic(TopicIF aTopic)
ApplicationContextIFaTopic - Start Topicpublic TopicIF getTopicForLocator(LocatorIF aLocator, TopicMapIF topicmap)
ApplicationContextIFaLocator - the subject identifiertopicmap - the topic map to look up inpublic void loadTopic(TopicIF aTopic)
ApplicationContextIFaTopic - to read from the storepublic void focusNode(TMAbstractNode aNode)
ApplicationContextIFaNode - node to focus onpublic void setScopingTopic(TopicIF aScope)
ApplicationContextIFaScope - topic to set scopepublic TopicIF getDefaultScopingTopic(TopicMapIF aTopicmap)
ApplicationContextIFaTopicmap - map that contains the topicpublic TopicIF getStartTopic(TopicMapIF aTopicmap)
ApplicationContextIFaTopicmap - map containing topicpublic String getConfigurl()
public String getTmrap()
public String getTmid()
public int getDefaultLocality()
ApplicationContextIFpublic int getMaxLocality()
ApplicationContextIFpublic ParsedMenuFile getEnabledItemIds()
ApplicationContextIFpublic TypesConfigFrame getAssocFrame()
ApplicationContextIFpublic TypesConfigFrame getTopicFrame()
ApplicationContextIF