Class TLcyVerticalViewManager

java.lang.Object
com.luciad.lucy.addons.vertical.TLcyVerticalViewManager

public class TLcyVerticalViewManager extends Object
This class keeps track of the existing vertical views. Vertical views can be added, removed and retrieved. Events are fired to the registered ILcyVerticalViewManagerListeners when vertical views are added or removed.

Note that adding or removing vertical views is normally done by the TLcyVerticalViewAddOn itself, there is no need to add or remove vertical views manually. To create a new vertical view, see TLcyVerticalViewAddOn.createAndAddVerticalViewComponent(). To fully dispose a vertical view, retrieve the ILcyApplicationPane for its Component using ILcyLucyEnv.getUserInterfaceManager().getApplicationPaneManager(), and call disposeApp().

  • Constructor Details

    • TLcyVerticalViewManager

      public TLcyVerticalViewManager()
  • Method Details

    • getVerticalViewComponentCount

      public int getVerticalViewComponentCount()
      Returns the number of vertical view components registered with this manager.
      Returns:
      The number of vertical view components registered with this manager.
    • getVerticalViewComponent

      public Component getVerticalViewComponent(int aIndex)
      Returns the vertical view at the given index.
      Parameters:
      aIndex - Specifies which vertical view is to be returned.
      Returns:
      A vertical view at the given index.
    • addVerticalViewComponent

      public void addVerticalViewComponent(Component aVerticalViewComponent)
      Adds the given Component to this TLcyVerticalViewManager. This method shouldn't normally be used, see class comment.
      Parameters:
      aVerticalViewComponent - The vertical view component to add.
    • removeVerticalViewComponent

      public void removeVerticalViewComponent(Component aVerticalViewComponent)
      Removes the given Component from this TLcyVerticalViewManager. This method shouldn't normally be used, see class comment.
      Parameters:
      aVerticalViewComponent - The vertical view component to remove.
    • addVerticalViewManagerListener

      public void addVerticalViewManagerListener(ILcyVerticalViewManagerListener aListener)
      Adds the given ILcyVerticalViewManagerListener to this manager which will be notified when it changes.
      Parameters:
      aListener - The listener to add.
    • removeVerticalViewManagerListener

      public void removeVerticalViewManagerListener(ILcyVerticalViewManagerListener aListener)
      Removes the given ILcyVerticalViewManagerListener from this manager. It will no longer be notified about changes to it.
      Parameters:
      aListener - The listener to remove.