public class TLcdVPFDatabasePanel extends JPanel
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
TLcdVPFDatabasePanel()
Deprecated.
Creates an empty database panel.
|
TLcdVPFDatabasePanel(String aDatabasePath)
Deprecated.
Creates a database panel, for the VPF database specified in the path passed
as an argument.
|
TLcdVPFDatabasePanel(String aDatabasePath,
Frame aFrame)
Deprecated.
Creates a database panel, for the VPF database specified in the path passed
as an argument.
|
TLcdVPFDatabasePanel(TLcdVPFDatabase aDatabase,
TLcdVPFFeatureClass[] aFeatureClassSelection)
Deprecated.
Creates a new TLcdVPFDatabaseTree, showing the structure of the given VPF
database, and selects the given set of feature classes.
|
TLcdVPFDatabasePanel(TLcdVPFDatabase aDatabase,
TLcdVPFFeatureClass[] aFeatureClassSelection,
Frame aFrame)
Deprecated.
Creates a new TLcdVPFDatabaseTree, showing the structure of the given VPF
database, and selects the given set of feature classes.
|
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(ILcdStatusListener aStatusListener)
Deprecated.
Adds a status listener.
|
JButton |
createChangeDatabasePathButton()
Deprecated.
Returns a JButton that can be used to change the database path.
|
JLabel |
createDatabasePathLabel()
Deprecated.
Return a JLabel that shows the database path.
|
JCheckBox |
createForceAllModelEmptyCheckBox()
Deprecated.
Returns a JCheckbox that selects to use empty model or not.
|
JButton |
createUpdateGXYViewButton()
Deprecated.
Returns a JButton that can be used to update the GXY view.
|
ILcdBounds |
getFollowBounds()
Deprecated.
Return the "follow bounds".
|
ILcdGXYView |
getGXYView()
Deprecated.
Returns the GXY view on which to display the VPF database.
|
ILcdBounds |
getModelBounds()
Deprecated.
Returns the bounds of the model.
|
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.
|
TLcdVPFDatabase |
getVPFDatabase()
Deprecated.
Returns the database that is currently loaded in this VPF tree, or
null if none is loaded. |
ILcdVPFDatabasePanelModel |
getVPFDatabasePanelModel()
Deprecated.
Returns the
ILcdVPFDatabasePanelModel being use. |
ILcdVPFLayerFactoryModel |
getVPFLayerFactoryModel()
Deprecated.
Returns the
ILcdVPFLayerFactoryModel to use. |
boolean |
isDisableSelection()
Deprecated.
Returns the disable selection mode.
|
boolean |
isFollowBoundsMode()
Deprecated.
Returns true is the bounds should be followed.
|
boolean |
isForceAllModelEmpty()
Deprecated.
Returns true if empty models will be used.
|
boolean |
isTraceOn()
Deprecated.
Returns true if debug information will be shown.
|
void |
removeStatusListener(ILcdStatusListener aStatusListener)
Deprecated.
Removes a status listener.
|
void |
resetFollowBounds()
Deprecated.
Resets the "follow bounds" to null;
|
void |
setDatabasePath(String aDatabasePath)
Deprecated.
Sets the database path of the VPF database.
|
void |
setDefaultDataDirectory(String aDefaultDataDirectory)
Deprecated.
|
void |
setDisableSelection(boolean aDisableSelection)
Deprecated.
Sets the disable selection state.
|
void |
setFollowBoundsMode(boolean aFollowBoundsMode)
Deprecated.
Used to indicate to follow the bounds or not.
|
void |
setForceAllModelEmpty(boolean aForceAllModelEmpty)
Deprecated.
Used to force the models empty.
|
void |
setGXYView(ILcdGXYView aGXYView)
Deprecated.
Sets the GXY view on which to display the VPF database.
|
void |
setModelBounds(ILcdBounds aBounds)
Deprecated.
Sets the bounds of the model.
|
void |
setPreloadDatabaseTree(boolean aPreloadTree)
Deprecated.
Sets whether to pre-load the database tree or not.
|
void |
setSelection(TLcdVPFFeatureClass[] aFeatureClasses)
Deprecated.
Sets the selection in this VPF tree to the given set of feature classes.
|
void |
setTraceOn(boolean aTraceOn)
Deprecated.
Flag to see debug information or not.
|
void |
setVPFDatabasePanelModel(ILcdVPFDatabasePanelModel aVPFDatabasePanelModel)
Deprecated.
Sets the
ILcdVPFDatabasePanelModel to use. |
void |
setVPFLayerFactoryModel(ILcdVPFLayerFactoryModel aVPFLayerFactoryModel)
Deprecated.
Sets the
ILcdVPFLayerFactoryModel to use. |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public TLcdVPFDatabasePanel()
public TLcdVPFDatabasePanel(String aDatabasePath) throws IOException
aDatabasePath
- The path to the VPF database.IOException
- Thrown when something goes wrong while searching the
database.public TLcdVPFDatabasePanel(String aDatabasePath, Frame aFrame) throws IOException
aDatabasePath
- The path to the VPF database.aFrame
- IOException
- If something goes wrong when searching the database.public TLcdVPFDatabasePanel(TLcdVPFDatabase aDatabase, TLcdVPFFeatureClass[] aFeatureClassSelection) throws IOException
aDatabase
- the database to be shown in this database
tree.aFeatureClassSelection
- the feature classes that should be initially
selected.IOException
- Thrown when something goes wrong while searching the
database.public TLcdVPFDatabasePanel(TLcdVPFDatabase aDatabase, TLcdVPFFeatureClass[] aFeatureClassSelection, Frame aFrame) throws IOException
aDatabase
- the database to be shown in this database
tree.aFeatureClassSelection
- the feature classes that should be initially
selected.aFrame
- IOException
- Thrown when something goes wrong while searching the
database.public JButton createChangeDatabasePathButton()
public JButton createUpdateGXYViewButton()
public JCheckBox createForceAllModelEmptyCheckBox()
public JLabel createDatabasePathLabel()
public void setGXYView(ILcdGXYView aGXYView)
aGXYView
- The GXY view on which to display the VPF database.public ILcdGXYView getGXYView()
public void setDatabasePath(String aDatabasePath) throws IOException
aDatabasePath
- The database path of the VPF database.IOException
- Thrown when something goes wrong while searching the
database.public void setTraceOn(boolean aTraceOn)
aTraceOn
- True if debug information should be shown.public boolean isTraceOn()
public boolean isFollowBoundsMode()
public void setForceAllModelEmpty(boolean aForceAllModelEmpty)
aForceAllModelEmpty
- True is the model are empty.public boolean isForceAllModelEmpty()
public void setFollowBoundsMode(boolean aFollowBoundsMode)
aFollowBoundsMode
- public void resetFollowBounds()
public ILcdBounds getFollowBounds()
public void setModelBounds(ILcdBounds aBounds)
aBounds
- The bounds of the model.public ILcdBounds getModelBounds()
public void setVPFDatabasePanelModel(ILcdVPFDatabasePanelModel aVPFDatabasePanelModel)
ILcdVPFDatabasePanelModel
to use.aVPFDatabasePanelModel
- The ILcdVPFDatabasePanelModel
to
use.public ILcdVPFDatabasePanelModel getVPFDatabasePanelModel()
ILcdVPFDatabasePanelModel
being use.ILcdVPFDatabasePanelModel
being use.public void setVPFLayerFactoryModel(ILcdVPFLayerFactoryModel aVPFLayerFactoryModel)
ILcdVPFLayerFactoryModel
to use.aVPFLayerFactoryModel
- The ILcdVPFLayerFactoryModel
to
use.public ILcdVPFLayerFactoryModel getVPFLayerFactoryModel()
ILcdVPFLayerFactoryModel
to use.ILcdVPFLayerFactoryModel
to use.public void setDisableSelection(boolean aDisableSelection)
aDisableSelection
- The disable selection state.public boolean isDisableSelection()
public TLcdVPFDatabase getVPFDatabase()
null
if none is loaded.public void setSelection(TLcdVPFFeatureClass[] aFeatureClasses)
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
.public TLcdVPFFeatureClass[] getSelection()
public void setPreloadDatabaseTree(boolean aPreloadTree)
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.
aPreloadTree
- flag indicating whether to pre-load the database tree or
not.public void addStatusListener(ILcdStatusListener aStatusListener)
aStatusListener
- An ILcdStatusListener
public void removeStatusListener(ILcdStatusListener aStatusListener)
aStatusListener
- An ILcdStatusListener
public void setDefaultDataDirectory(String aDefaultDataDirectory)