public class VizDesktop extends Object implements VizFrontEndIF
| Modifier and Type | Class and Description |
|---|---|
protected class |
VizDesktop.DynamicMenuListener |
protected class |
VizDesktop.ScopeActionListener
INTERNAL.
|
| Constructor and Description |
|---|
VizDesktop(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRDBMSImportMenuItem(JMenu containingMenu) |
void |
configureFilterMenus()
Set up the menus to control the filters
|
TypesConfigFrame |
getAssocFrame() |
String |
getConfigURL()
Get the URL of the config file
|
ApplicationContextIF |
getContext()
Get the appropriate ApplicationContextIF for this front end.
|
String |
getCurrentConfigDir() |
String |
getCurrentRDBMSDir() |
TopicMapIF |
getCurrentTopicMap() |
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
|
Component |
getVpanel() |
String |
getWallpaper()
Get the url of the wallpaper for the background.
|
void |
loadTopicMap(TopicMapReferenceIF tmReference,
String configFilePath) |
static void |
main(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(String dir) |
void |
setCurrentRDBMSDir(String dir) |
void |
setCurrentTopicMapDirectory(String currentTMDir) |
void |
setNewTypeColor(TopicIF type,
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.
|
public VizDesktop(String[] args)
public static void main(String[] argv)
protected static void usage()
public TypesConfigFrame getTopicFrame()
public TypesConfigFrame getAssocFrame()
protected void resetMapViewMenu()
protected void addRDBMSImportMenuItem(JMenu containingMenu)
protected void resetClearStartMenu()
protected void scopingTopicChanged(TopicIF scope)
public void setScopingTopic(TopicIF topic)
public void configureFilterMenus()
VizFrontEndIFconfigureFilterMenus in interface VizFrontEndIFpublic void loadTopicMap(TopicMapReferenceIF tmReference, String configFilePath) throws IOException
IOExceptionpublic void setNewTypeColor(TopicIF type, Color c)
setNewTypeColor in interface VizFrontEndIFprotected void menuOpenAssociationConfig()
protected void menuOpenTopicConfig()
public String getCurrentTopicMapDirectory()
public void setCurrentTopicMapDirectory(String currentTMDir)
public String getCurrentRDBMSDir()
public void setCurrentRDBMSDir(String dir)
public String getCurrentConfigDir()
public void setCurrentConfigDir(String dir)
public TopicMapIF getCurrentTopicMap()
protected void resetStartTopicMenu()
public Component getVpanel()
public ApplicationContextIF getContext()
VizFrontEndIFgetContext in interface VizFrontEndIFpublic boolean getDefaultControlsVisible()
VizFrontEndIFgetDefaultControlsVisible in interface VizFrontEndIFpublic TypesConfigFrame getTypesConfigFrame(VizController controller, boolean isTopicConfig)
VizFrontEndIFgetTypesConfigFrame in interface VizFrontEndIFisTopicConfig - - is this a Topic or Association configuration framepublic boolean mapPreLoaded()
VizFrontEndIFmapPreLoaded in interface VizFrontEndIFpublic TopicMapIF getTopicMap()
VizFrontEndIFgetTopicMap in interface VizFrontEndIFpublic String getWallpaper()
VizFrontEndIFgetWallpaper in interface VizFrontEndIFpublic String getConfigURL()
VizFrontEndIFgetConfigURL in interface VizFrontEndIFpublic boolean useGeneralConfig()
VizFrontEndIFuseGeneralConfig in interface VizFrontEndIF