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()
VizFrontEndIF
configureFilterMenus
in interface VizFrontEndIF
public void loadTopicMap(TopicMapReferenceIF tmReference, String configFilePath) throws IOException
IOException
public void setNewTypeColor(TopicIF type, Color c)
setNewTypeColor
in interface VizFrontEndIF
protected 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()
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 framepublic boolean mapPreLoaded()
VizFrontEndIF
mapPreLoaded
in interface VizFrontEndIF
public TopicMapIF getTopicMap()
VizFrontEndIF
getTopicMap
in interface VizFrontEndIF
public String getWallpaper()
VizFrontEndIF
getWallpaper
in interface VizFrontEndIF
public String getConfigURL()
VizFrontEndIF
getConfigURL
in interface VizFrontEndIF
public boolean useGeneralConfig()
VizFrontEndIF
useGeneralConfig
in interface VizFrontEndIF