Class VizPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class VizPanel extends JPanel
EXPERIMENTAL: A panel in which topic map visualization can be shown.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public void init()
    • getController

      public VizController getController()
      Returns the controller for this panel.
    • getTGPanel

      public com.touchgraph.graphlayout.TGPanel getTGPanel()
      Return the TGPanel used with this GLPanel.
    • getHVScroll

      public com.touchgraph.graphlayout.interaction.HVScroll getHVScroll()
      Return the HVScroll used with this GLPanel.
    • setOffset

      public void setOffset(Point p)
      Sets the horizontal offset to p.x, and the vertical offset to p.y given a Point p.
    • getOffset

      public Point getOffset()
      Return the horizontal and vertical offset position as a Point.
    • getZoomScroll

      public com.touchgraph.graphlayout.interaction.ZoomScroll getZoomScroll()
      Return the ZoomScroll used with this GLPanel.
    • setZoomValue

      public void setZoomValue(int zoomValue)
      Set the zoom value of this GLPanel (allowable values between -100 to 100).
    • getZoomValue

      public int getZoomValue()
      Return the zoom value of this GLPanel.
    • buildLens

      public void buildLens()
    • buildPanel

      public void buildPanel()
      Construct display panel, with H/V scroll bars, locality stepper and zoom scrollbar.
    • updateEnableMotionKillerMenuItem

      public void updateEnableMotionKillerMenuItem()
      Updates the text of the motion killer menu item.
    • enableDisableMotionKillerMenuItem

      public void enableDisableMotionKillerMenuItem(boolean enabled)
      Enables/disables the motion killer menu item.
      Parameters:
      enabled - true iff the motion killer menu item should be enabled.
    • addAnimationMenuItem

      protected void addAnimationMenuItem()
    • createStickyMenuItems

      protected void createStickyMenuItems()
      Creates four menu items to make/force all nodes (un)sticky.
    • createSearchMenuItems

      protected void createSearchMenuItems()
      Creates search menu items.
    • createTopicStylesMenuItem

      protected void createTopicStylesMenuItem()
      Creates topic styles menu items.
    • createAssociationStylesMenuItem

      protected void createAssociationStylesMenuItem()
      Creates association styles menu items.
    • createAssociationScopeFilterMenu

      protected void createAssociationScopeFilterMenu()
      Creates association scope filter menu.
    • createStopMovingNodesMenuItem

      protected void createStopMovingNodesMenuItem()
      Creates four menu items to make/force all nodes (un)sticky.
    • setUndoEnabled

      public void setUndoEnabled(boolean enabled)
    • setRedoEnabled

      public void setRedoEnabled(boolean enabled)
    • createUndoRedoMenuItems

      protected void createUndoRedoMenuItems()
      Creates menu items for retrieving the previous/next focus node.
    • createMotionReductionMenuItem

      protected void createMotionReductionMenuItem()
    • createDisEnableNeighCircMenuItem

      protected void createDisEnableNeighCircMenuItem()
      Creates a menu item for hiding showing the neighbouring circle.
    • switchSearchPanel

      protected void switchSearchPanel()
    • clearSearch

      public void clearSearch()
      Clears the search results, the search string and sets the input focus in the search field.
    • performSearch

      protected void performSearch()
    • buildSpinnerPanel

      protected JPanel buildSpinnerPanel()
      Constructs top level panel consisting of the LocalitySpinner and the ZoomScroll Bar.
    • clearSearchResults

      public void clearSearchResults()
    • setSearchFocus

      public void setSearchFocus()
    • getLocality

      public int getLocality()
    • setLocality

      public void setLocality(int value)
    • getAssociationScopeFilterMenu

      public AssociationScopeFilterMenu getAssociationScopeFilterMenu()
    • configureDynamicMenus

      public void configureDynamicMenus(ActionListener parentListener)
    • getTopicFrame

      public TypesConfigFrame getTopicFrame()
    • getAssocFrame

      public TypesConfigFrame getAssocFrame()
    • enabled

      protected boolean enabled(String itemId)
    • add

      public void add(JPopupMenu menu, JMenuItem item, String itemId)