|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.viz.ApplicationContext net.ontopia.topicmaps.viz.AppletContext
public class AppletContext
EXPERIMENTAL: Application context for the Vizlet.
Constructor Summary | |
---|---|
AppletContext(Vizlet aVizlet)
|
Method Summary | |
---|---|
void |
focusNode(TMAbstractNode aNode)
Set the node as the focus of the map |
TypesConfigFrame |
getAssocFrame()
Display the configuration frame for associations (edges) |
java.lang.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 |
java.lang.String |
getTmid()
|
java.lang.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(java.lang.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(java.lang.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. |
Methods inherited from class net.ontopia.topicmaps.viz.ApplicationContext |
---|
getTmConfig, getView, getVizPanel, setTmConfig, setView, setVizPanel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppletContext(Vizlet aVizlet)
Method Detail |
---|
public void goToTopicURL(java.lang.String url)
public void goToTopic(TopicIF topic)
ApplicationContextIF
topic
- Topic to set as the central focuspublic void openPropertiesURL(java.lang.String url)
url
- String representing the target urlpublic boolean isApplet()
ApplicationContextIF
public void setStartTopic(TopicIF aTopic)
ApplicationContextIF
aTopic
- Start Topicpublic TopicIF getTopicForLocator(LocatorIF aLocator, TopicMapIF topicmap)
ApplicationContextIF
aLocator
- the subject identifiertopicmap
- the topic map to look up in
public void loadTopic(TopicIF aTopic)
ApplicationContextIF
aTopic
- to read from the storepublic void focusNode(TMAbstractNode aNode)
ApplicationContextIF
aNode
- node to focus onpublic void setScopingTopic(TopicIF aScope)
ApplicationContextIF
aScope
- topic to set scopepublic TopicIF getDefaultScopingTopic(TopicMapIF aTopicmap)
ApplicationContextIF
aTopicmap
- map that contains the topic
public TopicIF getStartTopic(TopicMapIF aTopicmap)
ApplicationContextIF
aTopicmap
- map containing topic
public java.lang.String getConfigurl()
public java.lang.String getTmrap()
public java.lang.String getTmid()
public int getDefaultLocality()
ApplicationContextIF
public int getMaxLocality()
ApplicationContextIF
public ParsedMenuFile getEnabledItemIds()
ApplicationContextIF
public TypesConfigFrame getAssocFrame()
ApplicationContextIF
public TypesConfigFrame getTopicFrame()
ApplicationContextIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |