public abstract class BasicTableDataTreePane extends DockingView implements ResponseDataSourceChange
限定符和类型 | 类和说明 |
---|---|
protected class |
BasicTableDataTreePane.ConnectionTableAction |
protected class |
BasicTableDataTreePane.PreviewTableDataAction |
protected class |
BasicTableDataTreePane.TableDataTreeCellEditor |
DockingView.Location
BasicPane.NamePane
限定符和类型 | 字段和说明 |
---|---|
protected MenuDef |
addMenuDef |
protected java.lang.String[] |
allDSNames |
protected UIHeadGroup |
buttonGroup |
protected BasicTableDataTreePane.ConnectionTableAction |
connectionTableAction |
protected static int |
PROCEDURE_NAME_INDEX |
protected static int |
SERVER_TABLE_DATA |
protected DesignModelAdapter<?,?> |
tc |
protected static int |
TEMPLATE_TABLE_DATA |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
构造器和说明 |
---|
BasicTableDataTreePane() |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
addTableData(java.lang.String srcName,
TableDataSource tableDataSource)
合并数据集并返回自动更改数据集名字的新老名字键值对
|
protected void |
checkButtonEnabled(UpdateAction editAction,
UpdateAction previewTableDataAction,
UpdateAction removeAction,
TableDataSourceOP op,
TableDataTree dataTree) |
protected void |
createAddMenuDef() |
static java.lang.String |
createUnrepeatedName(TableDataTree tree,
java.lang.String prefix)
创建不重复的名字即初始的默认名
|
void |
dgEdit(AbstractTableDataPane<?> uPanel,
java.lang.String originalName) |
abstract void |
dgEdit(AbstractTableDataPane<?> uPanel,
java.lang.String originalName,
boolean isUpdate) |
protected void |
doPropertyChange(BasicDialog dg,
BasicPane.NamePane nPanel,
java.lang.String oldName) |
void |
fireDSChanged()
响应数据集改变
|
void |
fireDSChanged(java.util.Map<java.lang.String,java.lang.String> map)
响应数据集改变
|
abstract TableDataTree |
getDataTree() |
protected java.awt.event.KeyAdapter |
getTableTreeNodeListener(UpdateAction editAction,
UpdateAction previewTableDataAction,
UpdateAction removeAction,
TableDataSourceOP op,
TableDataTree dataTree) |
javax.swing.Icon |
getViewIcon()
getViewIcon
|
java.lang.String |
getViewTitle()
getViewTitle()
|
protected boolean |
isDsNameRepeaded(java.lang.String name) |
DockingView.Location |
preferredLocation()
最佳位置
|
abstract void |
refreshDockingView()
Generally speaking, invoke this method when need refresh the content of the docking.
|
createTitlePanel, title4PopupWindow
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 static final int PROCEDURE_NAME_INDEX
protected static final int TEMPLATE_TABLE_DATA
protected static final int SERVER_TABLE_DATA
protected MenuDef addMenuDef
protected DesignModelAdapter<?,?> tc
protected UIHeadGroup buttonGroup
protected java.lang.String[] allDSNames
protected BasicTableDataTreePane.ConnectionTableAction connectionTableAction
public DockingView.Location preferredLocation()
preferredLocation
在类中 DockingView
public java.lang.String getViewTitle()
getViewTitle
在类中 DockingView
public javax.swing.Icon getViewIcon()
getViewIcon
在类中 DockingView
public void fireDSChanged()
fireDSChanged
在接口中 ResponseDataSourceChange
public void fireDSChanged(java.util.Map<java.lang.String,java.lang.String> map)
fireDSChanged
在接口中 ResponseDataSourceChange
map
- 数据集变化Mappublic void dgEdit(AbstractTableDataPane<?> uPanel, java.lang.String originalName)
public abstract void dgEdit(AbstractTableDataPane<?> uPanel, java.lang.String originalName, boolean isUpdate)
protected void doPropertyChange(BasicDialog dg, BasicPane.NamePane nPanel, java.lang.String oldName)
public abstract TableDataTree getDataTree()
public abstract void refreshDockingView()
DockingView
refreshDockingView
在类中 DockingView
protected void checkButtonEnabled(UpdateAction editAction, UpdateAction previewTableDataAction, UpdateAction removeAction, TableDataSourceOP op, TableDataTree dataTree)
protected void createAddMenuDef()
protected boolean isDsNameRepeaded(java.lang.String name)
protected java.awt.event.KeyAdapter getTableTreeNodeListener(UpdateAction editAction, UpdateAction previewTableDataAction, UpdateAction removeAction, TableDataSourceOP op, TableDataTree dataTree)
public static java.lang.String createUnrepeatedName(TableDataTree tree, java.lang.String prefix)
tree
- 树prefix
- 后缀public java.util.Map<java.lang.String,java.lang.String> addTableData(java.lang.String srcName, TableDataSource tableDataSource)
srcName
- 数据集来源(比如报表块,就是报表块的名称)tableDataSource
- 数据集