Class TLcdVPFDatabaseTree

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class TLcdVPFDatabaseTree extends JTree
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.
GUI class for displaying the structure of a VPF database in a JTree.
See Also:
  • Constructor Details Link icon

    • TLcdVPFDatabaseTree Link icon

      public TLcdVPFDatabaseTree()
      Deprecated.
    • TLcdVPFDatabaseTree Link icon

      public TLcdVPFDatabaseTree(String aDatabasePath) throws IOException
      Deprecated.
      Throws:
      IOException
    • TLcdVPFDatabaseTree Link icon

      public TLcdVPFDatabaseTree(String aDatabasePath, Frame aFrame) throws IOException
      Deprecated.
      Throws:
      IOException
    • TLcdVPFDatabaseTree Link icon

      public TLcdVPFDatabaseTree(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.
    • TLcdVPFDatabaseTree Link icon

      public TLcdVPFDatabaseTree(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

    • setClassTraceOn Link icon

      public static void setClassTraceOn(boolean aClassTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for all instances of this class. If the argument is true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
      Parameters:
      aClassTraceOn - if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
    • setTraceOn Link icon

      public void setTraceOn(boolean aTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for this class instance. Calling this method with either true or false as argument automatically turns off tracing for all other class instances for which setTraceOn has not been called. If the argument is false then only the informative, warning and error log messages are recorded.
      Parameters:
      aTraceOn - if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
    • isTraceOn Link icon

      public boolean isTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • setVPFDatabasePanelModel Link icon

      public void setVPFDatabasePanelModel(ILcdVPFDatabasePanelModel aVPFDatabasePanelModel)
      Deprecated.
    • getVPFDatabasePanelModel Link icon

      public ILcdVPFDatabasePanelModel getVPFDatabasePanelModel()
      Deprecated.
    • setVPFLayerFactory Link icon

      public void setVPFLayerFactory(TLcdVPFLayerFactory aVPFLayerFactory)
      Deprecated.
    • getVPFLayerFactory Link icon

      public TLcdVPFLayerFactory getVPFLayerFactory()
      Deprecated.
    • isFollowBoundsMode Link icon

      public boolean isFollowBoundsMode()
      Deprecated.
    • setForceAllModelEmpty Link icon

      public void setForceAllModelEmpty(boolean aForceAllModelEmpty)
      Deprecated.
    • isForceAllModelEmpty Link icon

      public boolean isForceAllModelEmpty()
      Deprecated.
    • setFollowBoundsMode Link icon

      public void setFollowBoundsMode(boolean aFollowBoundsMode)
      Deprecated.
    • resetFollowBounds Link icon

      public void resetFollowBounds()
      Deprecated.
    • getFollowBounds Link icon

      public ILcdBounds getFollowBounds()
      Deprecated.
    • setModelBounds Link icon

      public void setModelBounds(ILcdBounds aBounds)
      Deprecated.
    • getModelBounds Link icon

      public ILcdBounds getModelBounds()
      Deprecated.
    • setGXYView Link icon

      public void setGXYView(ILcdGXYView aGXYView)
      Deprecated.
    • getGXYView Link icon

      public ILcdGXYView getGXYView()
      Deprecated.
    • 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.
      Parameters:
      aFeatureClasses - the feature classes to select.
      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.
    • setDatabasePath Link icon

      public void setDatabasePath(String aDatabasePath) throws IOException
      Deprecated.
      Throws:
      IOException
    • setDisableSelection Link icon

      public void setDisableSelection(boolean aDisableSelection)
      Deprecated.
    • isDisableSelection Link icon

      public boolean isDisableSelection()
      Deprecated.
    • createGXYLayer Link icon

      protected ILcdGXYLayer createGXYLayer(TLcdVPFFeatureClass aVPFFeatureClass, com.luciad.format.vpf.TLcdVPFDatabaseTree.MyVPFFeatureClassNode aMyVPFFeatureClassNode)
      Deprecated.
    • getModelXYWorldTransfoClass Link icon

      public Class getModelXYWorldTransfoClass(ILcdModelReference aModelReference)
      Deprecated.
    • getPen Link icon

      public ILcdGXYPen getPen(ILcdModelReference aModelReference)
      Deprecated.
    • createChangeDatabasePathButton Link icon

      public JButton createChangeDatabasePathButton()
      Deprecated.
    • createUpdateGXYViewButton Link icon

      public JButton createUpdateGXYViewButton()
      Deprecated.
    • createForceAllModelEmptyCheckBox Link icon

      public JCheckBox createForceAllModelEmptyCheckBox()
      Deprecated.
    • createFollowBoundsCheckBox Link icon

      public JCheckBox createFollowBoundsCheckBox()
      Deprecated.
    • createMemUsageCheckBox Link icon

      public JCheckBox createMemUsageCheckBox()
      Deprecated.
    • createDatabasePathLabel Link icon

      public JLabel createDatabasePathLabel()
      Deprecated.
    • formatDatabasePath Link icon

      protected String formatDatabasePath(String aDatabasePath)
      Deprecated.
    • setDefaultDataDirectory Link icon

      public void setDefaultDataDirectory(String aDefaultDataDirectory)
      Deprecated.
    • createDefaultGXYPainter Link icon

      public static ILcdGXYPainter createDefaultGXYPainter(int aFeatureClassType)
      Deprecated.
    • setBackground Link icon

      public void setBackground(Color aColor)
      Deprecated.
      Overrides:
      setBackground in class JComponent
    • addStatusListener Link icon

      public void addStatusListener(ILcdStatusListener aStatusListener)
      Deprecated.
    • removeStatusListener Link icon

      public void removeStatusListener(ILcdStatusListener aStatusListener)
      Deprecated.