Class TLcdVPFDatabasePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TLcdVPFDatabasePanel extends JPanel
Deprecated.
As of V6.0, this class should no longer be used. Instead, a VPF tree implementation is provided with the samples, which can be used and adapted to application-specific needs.
This is class that represents a VPF database. It has a tree inside, which shows the structure of the database.
See Also:
  • Constructor Details Link icon

    • TLcdVPFDatabasePanel Link icon

      public TLcdVPFDatabasePanel()
      Deprecated.
      Creates an empty database panel.
    • TLcdVPFDatabasePanel Link icon

      public TLcdVPFDatabasePanel(String aDatabasePath) throws IOException
      Deprecated.
      Creates a database panel, for the VPF database specified in the path passed as an argument.
      Parameters:
      aDatabasePath - The path to the VPF database.
      Throws:
      IOException - Thrown when something goes wrong while searching the database.
    • TLcdVPFDatabasePanel Link icon

      public TLcdVPFDatabasePanel(String aDatabasePath, Frame aFrame) throws IOException
      Deprecated.
      Creates a database panel, for the VPF database specified in the path passed as an argument.
      Parameters:
      aDatabasePath - The path to the VPF database.
      aFrame -
      Throws:
      IOException - If something goes wrong when searching the database.
    • TLcdVPFDatabasePanel Link icon

      public TLcdVPFDatabasePanel(TLcdVPFDatabase aDatabase, TLcdVPFFeatureClass[] aFeatureClassSelection) throws IOException
      Deprecated.
      Creates a new TLcdVPFDatabaseTree, showing the structure of the given VPF database, and selects the given set of feature classes.
      Parameters:
      aDatabase - the database to be shown in this database tree.
      aFeatureClassSelection - the feature classes that should be initially selected.
      Throws:
      IOException - Thrown when something goes wrong while searching the database.
    • TLcdVPFDatabasePanel Link icon

      public TLcdVPFDatabasePanel(TLcdVPFDatabase aDatabase, TLcdVPFFeatureClass[] aFeatureClassSelection, Frame aFrame) throws IOException
      Deprecated.
      Creates a new TLcdVPFDatabaseTree, showing the structure of the given VPF database, and selects the given set of feature classes.
      Parameters:
      aDatabase - the database to be shown in this database tree.
      aFeatureClassSelection - the feature classes that should be initially selected.
      aFrame -
      Throws:
      IOException - Thrown when something goes wrong while searching the database.
  • Method Details Link icon

    • createChangeDatabasePathButton Link icon

      public JButton createChangeDatabasePathButton()
      Deprecated.
      Returns a JButton that can be used to change the database path.
      Returns:
      A JButton that can be used to change the database path.
    • createUpdateGXYViewButton Link icon

      public JButton createUpdateGXYViewButton()
      Deprecated.
      Returns a JButton that can be used to update the GXY view.
      Returns:
      A JButton that can be used to update the GXY view.
    • createForceAllModelEmptyCheckBox Link icon

      public JCheckBox createForceAllModelEmptyCheckBox()
      Deprecated.
      Returns a JCheckbox that selects to use empty model or not.
      Returns:
      A JCheckbox that selects to use empty model or not.
    • createDatabasePathLabel Link icon

      public JLabel createDatabasePathLabel()
      Deprecated.
      Return a JLabel that shows the database path.
      Returns:
      A JLabel that shows the database path.
    • setGXYView Link icon

      public void setGXYView(ILcdGXYView aGXYView)
      Deprecated.
      Sets the GXY view on which to display the VPF database.
      Parameters:
      aGXYView - The GXY view on which to display the VPF database.
    • getGXYView Link icon

      public ILcdGXYView getGXYView()
      Deprecated.
      Returns the GXY view on which to display the VPF database.
      Returns:
      The GXY view on which to display the VPF database.
    • setDatabasePath Link icon

      public void setDatabasePath(String aDatabasePath) throws IOException
      Deprecated.
      Sets the database path of the VPF database.
      Parameters:
      aDatabasePath - The database path of the VPF database.
      Throws:
      IOException - Thrown when something goes wrong while searching the database.
    • setTraceOn Link icon

      public void setTraceOn(boolean aTraceOn)
      Deprecated.
      Flag to see debug information or not.
      Parameters:
      aTraceOn - True if debug information should be shown.
    • isTraceOn Link icon

      public boolean isTraceOn()
      Deprecated.
      Returns true if debug information will be shown.
      Returns:
      True if debug information will be shown.
    • isFollowBoundsMode Link icon

      public boolean isFollowBoundsMode()
      Deprecated.
      Returns true is the bounds should be followed.
      Returns:
      True is the bounds should be followed.
    • setForceAllModelEmpty Link icon

      public void setForceAllModelEmpty(boolean aForceAllModelEmpty)
      Deprecated.
      Used to force the models empty. This results is less memory usage, but slower painting.
      Parameters:
      aForceAllModelEmpty - True is the model are empty.
    • isForceAllModelEmpty Link icon

      public boolean isForceAllModelEmpty()
      Deprecated.
      Returns true if empty models will be used.
      Returns:
      True if empty models will be used.
    • setFollowBoundsMode Link icon

      public void setFollowBoundsMode(boolean aFollowBoundsMode)
      Deprecated.
      Used to indicate to follow the bounds or not.
      Parameters:
      aFollowBoundsMode -
    • resetFollowBounds Link icon

      public void resetFollowBounds()
      Deprecated.
      Resets the "follow bounds" to null;
    • getFollowBounds Link icon

      public ILcdBounds getFollowBounds()
      Deprecated.
      Return the "follow bounds".
      Returns:
      The "follow bounds".
    • setModelBounds Link icon

      public void setModelBounds(ILcdBounds aBounds)
      Deprecated.
      Sets the bounds of the model.
      Parameters:
      aBounds - The bounds of the model.
    • getModelBounds Link icon

      public ILcdBounds getModelBounds()
      Deprecated.
      Returns the bounds of the model.
      Returns:
      The bounds of the model.
    • setVPFDatabasePanelModel Link icon

      public void setVPFDatabasePanelModel(ILcdVPFDatabasePanelModel aVPFDatabasePanelModel)
      Deprecated.
      Sets the ILcdVPFDatabasePanelModel to use.
      Parameters:
      aVPFDatabasePanelModel - The ILcdVPFDatabasePanelModel to use.
    • getVPFDatabasePanelModel Link icon

      public ILcdVPFDatabasePanelModel getVPFDatabasePanelModel()
      Deprecated.
      Returns the ILcdVPFDatabasePanelModel being use.
      Returns:
      The ILcdVPFDatabasePanelModel being use.
    • setVPFLayerFactoryModel Link icon

      public void setVPFLayerFactoryModel(ILcdVPFLayerFactoryModel aVPFLayerFactoryModel)
      Deprecated.
      Sets the ILcdVPFLayerFactoryModel to use.
      Parameters:
      aVPFLayerFactoryModel - The ILcdVPFLayerFactoryModel to use.
    • getVPFLayerFactoryModel Link icon

      public ILcdVPFLayerFactoryModel getVPFLayerFactoryModel()
      Deprecated.
      Returns the ILcdVPFLayerFactoryModel to use.
      Returns:
      The ILcdVPFLayerFactoryModel to use.
    • setDisableSelection Link icon

      public void setDisableSelection(boolean aDisableSelection)
      Deprecated.
      Sets the disable selection state.
      Parameters:
      aDisableSelection - The disable selection state.
    • isDisableSelection Link icon

      public boolean isDisableSelection()
      Deprecated.
      Returns the disable selection mode.
      Returns:
      The disable selection mode.
    • getVPFDatabase Link icon

      public TLcdVPFDatabase getVPFDatabase()
      Deprecated.
      Returns the database that is currently loaded in this VPF tree, or null if none is loaded.
    • setSelection Link icon

      public void setSelection(TLcdVPFFeatureClass[] aFeatureClasses)
      Deprecated.
      Sets the selection in this VPF tree to the given set of feature classes. All feature classes that are currently selected but are not contained in the given selection, are deselected.
      Throws:
      IllegalArgumentException - if one of the given feature classes is not part of the active VPF database.
      NullPointerException - if the given selection array, or one of its elements, is null.
    • getSelection Link icon

      public TLcdVPFFeatureClass[] getSelection()
      Deprecated.
      Returns the set of feature classes that are currently selected in this VPF tree, or an empty array if no feature class is currently selected.
    • setPreloadDatabaseTree Link icon

      public void setPreloadDatabaseTree(boolean aPreloadTree)
      Deprecated.
      Sets whether to pre-load the database tree or not. If true, the VPF tree will be build at once, otherwise, each folder in the tree will be loaded at the time it is expanded.

      When loading data from CD, it can be useful to pre-load the tree, to prevent spinning up the CD each time a folder is opened. When loading multiple databases from disk, it can be better not to pre-load, since pre-loading can take a significant amount of time.

      Parameters:
      aPreloadTree - flag indicating whether to pre-load the database tree or not.
    • addStatusListener Link icon

      public void addStatusListener(ILcdStatusListener aStatusListener)
      Deprecated.
      Adds a status listener.
      Parameters:
      aStatusListener - An ILcdStatusListener
    • removeStatusListener Link icon

      public void removeStatusListener(ILcdStatusListener aStatusListener)
      Deprecated.
      Removes a status listener.
      Parameters:
      aStatusListener - An ILcdStatusListener
    • setDefaultDataDirectory Link icon

      public void setDefaultDataDirectory(String aDefaultDataDirectory)
      Deprecated.