public class WizardDB extends WizardPanel implements java.awt.event.ActionListener, javax.swing.event.ListSelectionListener
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected UserTableSettingsPanel |
emptySettingsPanel |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
WizardDB() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0) |
boolean |
areSettingsValid()
This method is called for example when user changes tab in add layer
dialog (new tab's settings are valid?)
|
void |
checkFinishable() |
void |
close() |
protected UserTableSettingsPanel |
createSettingsPanel(TablesListItem actTable) |
protected TablesListItem |
createTabeListItem(DBStoreParameters param) |
void |
execute() |
java.lang.Object |
executeWizard()
Executes the wizard and returns anything created in the process.
|
protected java.lang.String |
getLastMessage(java.lang.Throwable ex) |
protected DBStoreParameters |
getParameterForTable(TablesListItem table) |
DataStoreParameters[] |
getParameters() |
protected PrepareContext |
getPrepareDataStoreContext() |
protected TablesListItem[] |
getSelectedTables() |
DBServerExplorer |
getServerExplorer() |
protected java.util.List |
getTableList(DBServerExplorer explorer)
Subclasses of this wizard will return a filtered list
if necessary
|
protected AvailableTablesCheckBoxList |
getTablesList()
This method initializes tablesList
|
protected void |
initialize() |
void |
initWizard() |
protected void |
processErrorsOfLayer(FLayer lyr,
MapControl mapControl)
This method process the errors found in a layer
|
protected void |
setEmptyPanels() |
void |
setSettingsPanels(TablesListItem actTable) |
protected void |
updateTableList(DBServerExplorerParameters dbSeverExplorerParameters2) |
void |
valueChanged(javax.swing.event.ListSelectionEvent arg0) |
addWizardListener, callError, callStateChanged, doAddLayer, doAddLayer, getMapContext, getMapCtrl, getTabName, isMapControlAvailable, removeWizardListener, setMapContext, setMapCtrl, setTabNamegetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCycleprotected UserTableSettingsPanel emptySettingsPanel
public DBServerExplorer getServerExplorer()
protected void initialize()
public void initWizard()
initWizard in class WizardPanelpublic void execute()
execute in class WizardPanelpublic java.lang.Object executeWizard()
WizardPanelexecuteWizard in class WizardPanelprotected DBStoreParameters getParameterForTable(TablesListItem table)
protected TablesListItem[] getSelectedTables()
protected AvailableTablesCheckBoxList getTablesList()
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed in interface java.awt.event.ActionListenerprotected TablesListItem createTabeListItem(DBStoreParameters param)
protected java.util.List getTableList(DBServerExplorer explorer) throws DataException
explorer - DataExceptionprotected void updateTableList(DBServerExplorerParameters dbSeverExplorerParameters2)
public void valueChanged(javax.swing.event.ListSelectionEvent arg0)
valueChanged in interface javax.swing.event.ListSelectionListenerpublic boolean areSettingsValid()
WizardPanelareSettingsValid in class WizardPanelpublic void checkFinishable()
public void setSettingsPanels(TablesListItem actTable)
protected UserTableSettingsPanel createSettingsPanel(TablesListItem actTable)
protected void setEmptyPanels()
public DataStoreParameters[] getParameters()
getParameters in class WizardPanelprotected void processErrorsOfLayer(FLayer lyr, MapControl mapControl)
lyr - mapControl - protected PrepareContext getPrepareDataStoreContext()
public void close()
close in class WizardPanelprotected java.lang.String getLastMessage(java.lang.Throwable ex)