Class Vizlet

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, VizFrontEndIF

public class Vizlet extends JApplet implements VizFrontEndIF
PUBLIC: Visualization applet. To learn how to use this applet, consult the The Vizigator User's Guide.
See Also:
  • Constructor Details

    • Vizlet

      public Vizlet()
  • Method Details

    • getAppletInfo

      public String getAppletInfo()
      Overrides:
      getAppletInfo in class Applet
    • init

      public void init()
      Overrides:
      init in class Applet
    • getDefaultControlsVisible

      public boolean getDefaultControlsVisible()
      Description copied from interface: VizFrontEndIF
      Are the controls to this front end visible by default?
      Specified by:
      getDefaultControlsVisible in interface VizFrontEndIF
      Returns:
      true if the controls should be visible by default, false otherwise.
    • getDefaultLocality

      public int getDefaultLocality()
    • resolve

      public String resolve(String base) throws MalformedURLException
      INTERNAL: Resolves the URI relative to the applet's codebase URI.
      Throws:
      MalformedURLException
    • getResolvedParameter

      public String getResolvedParameter(String param)
    • getMaxLocality

      public int getMaxLocality()
    • getEnabledItemIds

      public ParsedMenuFile getEnabledItemIds()
      Process the menu file and get the enabled item ids from it.
    • getTopicMap

      public TopicMapIF getTopicMap()
      Description copied from interface: VizFrontEndIF
      Return the topic map that this front end is displaying
      Specified by:
      getTopicMap in interface VizFrontEndIF
      Returns:
      current topic map
    • mapPreLoaded

      public boolean mapPreLoaded()
      Description copied from interface: VizFrontEndIF
      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. In general, front ends that do not allow for the map to be changed (servlets, etc) will pass in a single map, while the desktop application allows you to load and change the map.
      Specified by:
      mapPreLoaded in interface VizFrontEndIF
      Returns:
      true if the map is loaded before the display is initialized, false otherwise
    • setNewTypeColor

      public void setNewTypeColor(TopicIF type, Color c)
      Description copied from interface: VizFrontEndIF
      set the color on a specific topic type
      Specified by:
      setNewTypeColor in interface VizFrontEndIF
    • configureFilterMenus

      public void configureFilterMenus()
      Description copied from interface: VizFrontEndIF
      Set up the menus to control the filters
      Specified by:
      configureFilterMenus in interface VizFrontEndIF
    • useGeneralConfig

      public boolean useGeneralConfig()
      Description copied from interface: VizFrontEndIF
      Does this front end use the general configuration. Some front ends (desktop) use the VizGeneralConfigurationManager, while others exclusively use the VizTopicMapConfigurationManager.
      Specified by:
      useGeneralConfig in interface VizFrontEndIF
      Returns:
      true if VizGeneralConfigurationManager is supported, false otherwise
    • getWallpaper

      public String getWallpaper()
      Description copied from interface: VizFrontEndIF
      Get the url of the wallpaper for the background.
      Specified by:
      getWallpaper in interface VizFrontEndIF
      Returns:
      URL of the wallpaper file, null if no wallpaper
    • getConfigURL

      public String getConfigURL()
      Description copied from interface: VizFrontEndIF
      Get the URL of the config file
      Specified by:
      getConfigURL in interface VizFrontEndIF
      Returns:
      URL of the config file, null if the default is to be used
    • getTypesConfigFrame

      public TypesConfigFrame getTypesConfigFrame(VizController controller, boolean isTopicConfig)
      Description copied from interface: VizFrontEndIF
      Returns the configuration frame that can be used to set colors for either Topics or Associations
      Specified by:
      getTypesConfigFrame in interface VizFrontEndIF
      isTopicConfig - - is this a Topic or Association configuration frame
      Returns:
      configuration frame - if True return TopicConfigurationFrame, else return AssociationConfigFrame
    • getContext

      public ApplicationContextIF getContext()
      Description copied from interface: VizFrontEndIF
      Get the appropriate ApplicationContextIF for this front end.
      Specified by:
      getContext in interface VizFrontEndIF
      Returns:
      ApplicationContextIF for this front end