|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.viz.VizDesktop
public class VizDesktop
INTERNAL: The top-level class for the VizDesktop. Can be run from the command-line to produce the desktop UI.
Nested Class Summary | |
---|---|
protected class |
VizDesktop.DynamicMenuListener
|
protected class |
VizDesktop.ScopeActionListener
INTERNAL. |
Constructor Summary | |
---|---|
VizDesktop(java.lang.String[] args)
|
Method Summary | |
---|---|
protected void |
addRDBMSImportMenuItem(javax.swing.JMenu containingMenu)
|
void |
configureFilterMenus()
Set up the menus to control the filters |
TypesConfigFrame |
getAssocFrame()
|
java.lang.String |
getConfigURL()
Get the URL of the config file |
ApplicationContextIF |
getContext()
Get the appropriate ApplicationContextIF for this front end. |
java.lang.String |
getCurrentConfigDir()
|
java.lang.String |
getCurrentRDBMSDir()
|
TopicMapIF |
getCurrentTopicMap()
|
java.lang.String |
getCurrentTopicMapDirectory()
|
boolean |
getDefaultControlsVisible()
Are the controls to this front end visible by default? |
TypesConfigFrame |
getTopicFrame()
|
TopicMapIF |
getTopicMap()
Return the topic map that this front end is displaying |
TypesConfigFrame |
getTypesConfigFrame(VizController controller,
boolean isTopicConfig)
Returns the configuration frame that can be used to set colors for either Topics or Associations |
java.awt.Component |
getVpanel()
|
java.lang.String |
getWallpaper()
Get the url of the wallpaper for the background. |
void |
loadTopicMap(TopicMapReferenceIF tmReference,
java.lang.String configFilePath)
|
static void |
main(java.lang.String[] argv)
Simple main to allow stand-alone startup. |
boolean |
mapPreLoaded()
Return true if this front end loads the topic map before generating any display, false if the display is generated before the map is loaded. |
protected void |
menuOpenAssociationConfig()
|
protected void |
menuOpenTopicConfig()
|
protected void |
resetClearStartMenu()
|
protected void |
resetMapViewMenu()
|
protected void |
resetStartTopicMenu()
|
protected void |
scopingTopicChanged(TopicIF scope)
|
void |
setCurrentConfigDir(java.lang.String dir)
|
void |
setCurrentRDBMSDir(java.lang.String dir)
|
void |
setCurrentTopicMapDirectory(java.lang.String currentTMDir)
|
void |
setNewTypeColor(TopicIF type,
java.awt.Color c)
Called from the color configuration menu when the color for a topic or association type is changed. |
void |
setScopingTopic(TopicIF topic)
|
protected static void |
usage()
|
boolean |
useGeneralConfig()
Does this front end use the general configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VizDesktop(java.lang.String[] args)
Method Detail |
---|
public static void main(java.lang.String[] argv)
protected static void usage()
public TypesConfigFrame getTopicFrame()
public TypesConfigFrame getAssocFrame()
protected void resetMapViewMenu()
protected void addRDBMSImportMenuItem(javax.swing.JMenu containingMenu)
protected void resetClearStartMenu()
protected void scopingTopicChanged(TopicIF scope)
public void setScopingTopic(TopicIF topic)
public void configureFilterMenus()
VizFrontEndIF
configureFilterMenus
in interface VizFrontEndIF
public void loadTopicMap(TopicMapReferenceIF tmReference, java.lang.String configFilePath) throws java.io.IOException
java.io.IOException
public void setNewTypeColor(TopicIF type, java.awt.Color c)
setNewTypeColor
in interface VizFrontEndIF
protected void menuOpenAssociationConfig()
protected void menuOpenTopicConfig()
public java.lang.String getCurrentTopicMapDirectory()
public void setCurrentTopicMapDirectory(java.lang.String currentTMDir)
public java.lang.String getCurrentRDBMSDir()
public void setCurrentRDBMSDir(java.lang.String dir)
public java.lang.String getCurrentConfigDir()
public void setCurrentConfigDir(java.lang.String dir)
public TopicMapIF getCurrentTopicMap()
protected void resetStartTopicMenu()
public java.awt.Component getVpanel()
public ApplicationContextIF getContext()
VizFrontEndIF
getContext
in interface VizFrontEndIF
public boolean getDefaultControlsVisible()
VizFrontEndIF
getDefaultControlsVisible
in interface VizFrontEndIF
public TypesConfigFrame getTypesConfigFrame(VizController controller, boolean isTopicConfig)
VizFrontEndIF
getTypesConfigFrame
in interface VizFrontEndIF
isTopicConfig
- - is this a Topic or Association configuration frame
public boolean mapPreLoaded()
VizFrontEndIF
mapPreLoaded
in interface VizFrontEndIF
public TopicMapIF getTopicMap()
VizFrontEndIF
getTopicMap
in interface VizFrontEndIF
public java.lang.String getWallpaper()
VizFrontEndIF
getWallpaper
in interface VizFrontEndIF
public java.lang.String getConfigURL()
VizFrontEndIF
getConfigURL
in interface VizFrontEndIF
public boolean useGeneralConfig()
VizFrontEndIF
useGeneralConfig
in interface VizFrontEndIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |