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

    • TLcdVPFDatabaseTree

      public TLcdVPFDatabaseTree()
      Deprecated.
    • TLcdVPFDatabaseTree

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

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

      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

      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

    • setClassTraceOn

      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

      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

      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

      public void setVPFDatabasePanelModel(ILcdVPFDatabasePanelModel aVPFDatabasePanelModel)
      Deprecated.
    • getVPFDatabasePanelModel

      public ILcdVPFDatabasePanelModel getVPFDatabasePanelModel()
      Deprecated.
    • setVPFLayerFactory

      public void setVPFLayerFactory(TLcdVPFLayerFactory aVPFLayerFactory)
      Deprecated.
    • getVPFLayerFactory

      public TLcdVPFLayerFactory getVPFLayerFactory()
      Deprecated.
    • isFollowBoundsMode

      public boolean isFollowBoundsMode()
      Deprecated.
    • setForceAllModelEmpty

      public void setForceAllModelEmpty(boolean aForceAllModelEmpty)
      Deprecated.
    • isForceAllModelEmpty

      public boolean isForceAllModelEmpty()
      Deprecated.
    • setFollowBoundsMode

      public void setFollowBoundsMode(boolean aFollowBoundsMode)
      Deprecated.
    • resetFollowBounds

      public void resetFollowBounds()
      Deprecated.
    • getFollowBounds

      public ILcdBounds getFollowBounds()
      Deprecated.
    • setModelBounds

      public void setModelBounds(ILcdBounds aBounds)
      Deprecated.
    • getModelBounds

      public ILcdBounds getModelBounds()
      Deprecated.
    • setGXYView

      public void setGXYView(ILcdGXYView aGXYView)
      Deprecated.
    • getGXYView

      public ILcdGXYView getGXYView()
      Deprecated.
    • getVPFDatabase

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

      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

      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

      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

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

      public void setDisableSelection(boolean aDisableSelection)
      Deprecated.
    • isDisableSelection

      public boolean isDisableSelection()
      Deprecated.
    • createGXYLayer

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

      public Class getModelXYWorldTransfoClass(ILcdModelReference aModelReference)
      Deprecated.
    • getPen

      public ILcdGXYPen getPen(ILcdModelReference aModelReference)
      Deprecated.
    • createChangeDatabasePathButton

      public JButton createChangeDatabasePathButton()
      Deprecated.
    • createUpdateGXYViewButton

      public JButton createUpdateGXYViewButton()
      Deprecated.
    • createForceAllModelEmptyCheckBox

      public JCheckBox createForceAllModelEmptyCheckBox()
      Deprecated.
    • createFollowBoundsCheckBox

      public JCheckBox createFollowBoundsCheckBox()
      Deprecated.
    • createMemUsageCheckBox

      public JCheckBox createMemUsageCheckBox()
      Deprecated.
    • createDatabasePathLabel

      public JLabel createDatabasePathLabel()
      Deprecated.
    • formatDatabasePath

      protected String formatDatabasePath(String aDatabasePath)
      Deprecated.
    • setDefaultDataDirectory

      public void setDefaultDataDirectory(String aDefaultDataDirectory)
      Deprecated.
    • createDefaultGXYPainter

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

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

      public void addStatusListener(ILcdStatusListener aStatusListener)
      Deprecated.
    • removeStatusListener

      public void removeStatusListener(ILcdStatusListener aStatusListener)
      Deprecated.