public class WizardDB extends WizardPanel implements ActionListener, ListSelectionListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
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
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
WizardDB() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(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() |
Object |
executeWizard()
Executes the wizard and returns anything created in the process.
|
protected String |
getLastMessage(Throwable ex) |
protected DBStoreParameters |
getParameterForTable(TablesListItem table) |
DataStoreParameters[] |
getParameters() |
protected PrepareContext |
getPrepareDataStoreContext() |
protected TablesListItem[] |
getSelectedTables() |
DBServerExplorer |
getServerExplorer() |
protected 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(ListSelectionEvent arg0) |
addWizardListener, callError, callStateChanged, doAddLayer, doAddLayer, getMapContext, getMapCtrl, getTabName, isMapControlAvailable, removeWizardListener, setMapContext, setMapCtrl, setTabName
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
protected UserTableSettingsPanel emptySettingsPanel
public DBServerExplorer getServerExplorer()
protected void initialize()
public void initWizard()
initWizard
in class WizardPanel
public void execute()
execute
in class WizardPanel
public Object executeWizard()
WizardPanel
executeWizard
in class WizardPanel
protected DBStoreParameters getParameterForTable(TablesListItem table)
protected TablesListItem[] getSelectedTables()
protected AvailableTablesCheckBoxList getTablesList()
public void actionPerformed(ActionEvent arg0)
actionPerformed
in interface ActionListener
protected TablesListItem createTabeListItem(DBStoreParameters param)
protected List getTableList(DBServerExplorer explorer) throws DataException
explorer
- DataException
protected void updateTableList(DBServerExplorerParameters dbSeverExplorerParameters2)
public void valueChanged(ListSelectionEvent arg0)
valueChanged
in interface ListSelectionListener
public boolean areSettingsValid()
WizardPanel
areSettingsValid
in class WizardPanel
public void checkFinishable()
public void setSettingsPanels(TablesListItem actTable)
protected UserTableSettingsPanel createSettingsPanel(TablesListItem actTable)
protected void setEmptyPanels()
public DataStoreParameters[] getParameters()
getParameters
in class WizardPanel
protected void processErrorsOfLayer(FLayer lyr, MapControl mapControl)
lyr
- mapControl
- protected PrepareContext getPrepareDataStoreContext()
public void close()
close
in class WizardPanel