public class ChoosePane extends BasicBeanPane<DataBaseItems> implements RefreshLabel.Refreshable, PreviewLabel.Previewable, Prepare4DataSourceChange
限定符和类型 | 类和说明 |
---|---|
protected class |
ChoosePane.StringUIComboBox |
BasicPane.NamePane
限定符和类型 | 字段和说明 |
---|---|
protected ChoosePane.StringUIComboBox |
dsNameComboBox
数据库
|
static UIComboBoxRenderer |
listCellRenderer |
protected ChoosePane.StringUIComboBox |
schemaBox
模式
|
protected FRTreeComboBox |
tableNameComboBox
表名
|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
构造器和说明 |
---|
ChoosePane() |
ChoosePane(PreviewLabel.Previewable parent) |
ChoosePane(PreviewLabel.Previewable parent,
int labelSize) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addDSBoxListener() |
protected void |
addFocusListener() |
void |
addItemListener(java.awt.event.ItemListener aListener)
添加项目监听事件
|
protected void |
calculateTableDataNames() |
TableData |
createSelectTableData()
创建选中的数据集数据
|
java.lang.String[] |
currentColumnNames()
得到当前的ColumnName[]
|
protected void |
failedToFindTable() |
protected Connection |
getConnection() |
protected java.lang.String |
getDSName() |
protected java.lang.String |
getTableName() |
protected void |
initComponentsLayout(PreviewLabel previewLabel,
int labelSize) |
protected void |
initDsNameComboBox() |
void |
populateBean(DataBaseItems ob)
Populate.
|
void |
preview()
默认预览
|
void |
preview(int key,
int value)
预览key value对应的数据
|
void |
refresh()
刷新没多大用。
|
void |
registerDSChangeListener()
注册listener,相应数据集改变
|
void |
removeItemListener(java.awt.event.ItemListener aListener)
删除项目监听事件
|
void |
resetComponets()
重置选中的box
|
void |
setTableNameComboBoxPopSize(int width,
int height)
设置数据集名.
|
protected java.lang.String |
title4PopupWindow() |
DataBaseItems |
updateBean()
Update.
|
dealWidthMap, populateAuthority, updateBean
asNamePane, checkValid, getTitle, showLargeWindow, showMediumWindow, showSmallWindow, showToolBarWindow, showUnsizedWindow, showWindow, showWindow, showWindow, showWindow, showWindow4ChartMapArray, showWindow4ChartType, showWindow4UpdateOnline
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 ChoosePane.StringUIComboBox dsNameComboBox
protected ChoosePane.StringUIComboBox schemaBox
protected FRTreeComboBox tableNameComboBox
public static UIComboBoxRenderer listCellRenderer
public ChoosePane()
public ChoosePane(PreviewLabel.Previewable parent)
public ChoosePane(PreviewLabel.Previewable parent, int labelSize)
protected void addDSBoxListener()
protected void addFocusListener()
protected void initDsNameComboBox()
protected void initComponentsLayout(PreviewLabel previewLabel, int labelSize)
public void populateBean(DataBaseItems ob)
BasicBeanPane
populateBean
在类中 BasicBeanPane<DataBaseItems>
public DataBaseItems updateBean()
BasicBeanPane
updateBean
在类中 BasicBeanPane<DataBaseItems>
public void resetComponets()
protected Connection getConnection()
public void refresh()
refresh
在接口中 RefreshLabel.Refreshable
public void addItemListener(java.awt.event.ItemListener aListener)
aListener
- 事件监听器public void removeItemListener(java.awt.event.ItemListener aListener)
aListener
- 事件监听器protected java.lang.String title4PopupWindow()
title4PopupWindow
在类中 BasicPane
protected void calculateTableDataNames()
public TableData createSelectTableData()
protected java.lang.String getDSName()
protected void failedToFindTable()
protected java.lang.String getTableName()
public java.lang.String[] currentColumnNames()
public void preview(int key, int value)
key
- 键value
- 值public void preview()
preview
在接口中 PreviewLabel.Previewable
public void setTableNameComboBoxPopSize(int width, int height)
public void registerDSChangeListener()