public class DataTableDock extends BaseDocument<DataTableLayout>
| Modifier and Type | Class and Description |
|---|---|
static class |
DataTableDock.DataTableDockCreated |
BaseDocument.OnClosed, BaseDocument.OnFocusGain, BaseDocument.OnFocusLost| Modifier and Type | Field and Description |
|---|---|
protected bibliothek.gui.dock.common.action.CButton |
actionAutoResizeAllColumn |
protected bibliothek.gui.dock.common.action.CButton |
actionAutoResizeLastColumn |
protected bibliothek.gui.dock.common.action.CButton |
actionAutoResizeNextColumn |
protected bibliothek.gui.dock.common.action.CButton |
actionAutoResizeOff |
protected bibliothek.gui.dock.common.action.CButton |
actionAutoResizeSubSequent |
protected bibliothek.gui.dock.common.action.CButton |
actionBind |
protected bibliothek.gui.dock.common.action.CCheckBox |
actionEdit |
protected bibliothek.gui.dock.common.action.CButton |
actionLoadXmlStream |
protected bibliothek.gui.dock.common.action.CCheckBox |
actionPin |
protected bibliothek.gui.dock.common.action.CButton |
actionSaveXmlStream |
protected Integer |
dataTableNumber |
protected bibliothek.gui.dock.common.action.CMenu |
menuAutoResize |
protected bibliothek.gui.dock.common.action.CMenu |
menuFile |
protected bibliothek.gui.dock.common.action.CMenu |
menuFileLoad |
protected bibliothek.gui.dock.common.action.CMenu |
menuFileSave |
protected boolean |
pinned |
protected Long |
scriptDocumentId |
protected xyz.cofe.gui.swing.data.DataTableView |
table |
protected JScrollPane |
tableScroll |
docListeners, eventQueue, focusGainMethods, focusLostMethods, onClosedMethods, psupport, saveTitleButton, uiFinalizers| Constructor and Description |
|---|
DataTableDock(bibliothek.gui.dock.common.MultipleCDockableFactory factory) |
DataTableDock(bibliothek.gui.dock.common.MultipleCDockableFactory factory,
DataTableLayout layout) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindDataTable(String varName)
Объявление таблицы (DataTable) для скриптов
|
protected void |
buildUI(DataTableLayout layout)
Создание UI
|
void |
closingDataTableModel() |
bibliothek.gui.dock.common.action.CButton |
getActionAutoResizeAllColumn() |
bibliothek.gui.dock.common.action.CButton |
getActionAutoResizeLastColumn() |
bibliothek.gui.dock.common.action.CButton |
getActionAutoResizeNextColumn() |
bibliothek.gui.dock.common.action.CButton |
getActionAutoResizeOff() |
bibliothek.gui.dock.common.action.CButton |
getActionAutoResizeSubSequent() |
bibliothek.gui.dock.common.action.CButton |
getActionBind() |
bibliothek.gui.dock.common.action.CCheckBox |
getActionEdit() |
bibliothek.gui.dock.common.action.CButton |
getActionLoadXmlStream() |
bibliothek.gui.dock.common.action.CCheckBox |
getActionPin() |
bibliothek.gui.dock.common.action.CMenu |
getActionResize() |
bibliothek.gui.dock.common.action.CButton |
getActionSaveXmlStream() |
xyz.cofe.data.DataTable |
getDataTable()
Возвращает таблицу с данными
|
xyz.cofe.gui.swing.data.DataTableModel |
getDataTableModel()
Возвращает модель данных таблицы
|
Integer |
getDataTableNumber()
Возвращает порядковый номер таблицы в выборке
|
DataTableLayout |
getLayout()
Возвращает объект для сохранения Docking Layout
|
bibliothek.gui.dock.common.action.CMenu |
getMenuFile() |
bibliothek.gui.dock.common.action.CMenu |
getMenuFileLoad() |
bibliothek.gui.dock.common.action.CMenu |
getMenuFileSave() |
long |
getScriptDocumentId()
Указывает id SQL документа
|
SqlService |
getSqlService()
Возвращает ссылку на SqlService
|
xyz.cofe.gui.swing.data.DataTableView |
getTable()
Возвращает UI представление таблицы данных
|
JScrollPane |
getTableScroll()
Возвращает JScrollPane для таблицы
|
boolean |
isPinned()
Указывает закрепленна ли эта таблица от перезаписи
|
void |
notifyFocusGain(bibliothek.gui.dock.common.intern.CDockable dock) |
void |
readDataTableXml(Reader reader)
Восстанавливает таблицу из XML
|
void |
setDataTableNumber(Integer dtnum)
Возвращает порядковый номер таблицы в выборке
|
void |
setPinned(boolean v)
Указывает закрепленна ли эта таблица от перезаписи
|
void |
setScriptDocumentId(Long scriptDocumentId)
Указывает id SQL документа
|
void |
writeDataTableXml(Writer writer)
Сохраняет таблицу в XML
|
addDocumentEvent, addDocumentListener, addDocumentListener, addEvent, addPropertyChange, addPropertyChangeListener, addPropertyChangeListener, close, closed, closing, createDocumentErrorNotifier, createSaveButton, deinstallStatusbar, findOwnCControl, findOwnConsole, findOwnDockingService, findStatusBarService, fireDocumentEvent, fireDocumentEvents, fireEvents, firePropertyChange, focusGained, focusLost, getDocumentListeners, getPropertyChangeListeners, getPropertyChangeListeners, hasDocumentListener, hasListeners, installStatusbar, instances, isTemporaryDock, listenDocumentErrorUI, onClosed, onClosed, removeAllDocumentListeners, removeDocumentListener, removePropertyChangeListener, removePropertyChangeListener, setTemporaryDockgetFactory, isRemoveOnClose, setControlAccess, setRemoveOnCloseadd, add, addAction, addSeparator, asStation, createCommonDockable, getAction, getActionCount, getContentPane, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, insertAction, insertSeparator, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable, remove, removeAction, removeAction, setCloseable, setExternalizable, setLayout, setMaximizable, setMinimizable, setStackable, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTipaddCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, control, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getClose, getColors, getControl, getControlAccess, getDefaultLocation, getDockableUniqueId, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, init, isDockableVisible, isEnabled, isNormalizeable, isResizeLocked, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isSticky, isStickySwitchable, isTitleShown, isVisible, propertyListeners, putAction, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setDefaultLocation, setEnabled, setExtendedMode, setFocusComponent, setGrouping, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setResizeLocked, setResizeLockedHorizontally, setResizeLockedVertically, setResizeRequest, setResizeRequest, setSingleTabShown, setSticky, setStickySwitchable, setTitleShown, setVisible, setWorkingArea, stateListeners, toFront, toFront, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, asStation, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getColors, getControl, getControlAccess, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, intern, isCloseable, isDockableVisible, isEnabled, isExternalizable, isMaximizable, isMinimizable, isNormalizeable, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isStackable, isSticky, isStickySwitchable, isTitleShown, isVisible, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setExtendedMode, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setSticky, setStickySwitchable, setVisible, setWorkingAreaprotected bibliothek.gui.dock.common.action.CMenu menuFile
protected bibliothek.gui.dock.common.action.CCheckBox actionPin
protected bibliothek.gui.dock.common.action.CCheckBox actionEdit
protected bibliothek.gui.dock.common.action.CButton actionBind
protected bibliothek.gui.dock.common.action.CMenu menuAutoResize
protected bibliothek.gui.dock.common.action.CMenu menuFileLoad
protected bibliothek.gui.dock.common.action.CMenu menuFileSave
protected bibliothek.gui.dock.common.action.CButton actionLoadXmlStream
protected bibliothek.gui.dock.common.action.CButton actionSaveXmlStream
protected bibliothek.gui.dock.common.action.CButton actionAutoResizeOff
protected bibliothek.gui.dock.common.action.CButton actionAutoResizeLastColumn
protected bibliothek.gui.dock.common.action.CButton actionAutoResizeNextColumn
protected bibliothek.gui.dock.common.action.CButton actionAutoResizeAllColumn
protected bibliothek.gui.dock.common.action.CButton actionAutoResizeSubSequent
protected volatile JScrollPane tableScroll
protected volatile xyz.cofe.gui.swing.data.DataTableView table
protected volatile boolean pinned
protected volatile Long scriptDocumentId
protected volatile Integer dataTableNumber
public DataTableDock(bibliothek.gui.dock.common.MultipleCDockableFactory factory)
public DataTableDock(bibliothek.gui.dock.common.MultipleCDockableFactory factory,
DataTableLayout layout)
public SqlService getSqlService()
public DataTableLayout getLayout()
getLayout in class BaseDocument<DataTableLayout>public bibliothek.gui.dock.common.action.CMenu getMenuFile()
public bibliothek.gui.dock.common.action.CCheckBox getActionPin()
public bibliothek.gui.dock.common.action.CCheckBox getActionEdit()
public bibliothek.gui.dock.common.action.CButton getActionBind()
public bibliothek.gui.dock.common.action.CMenu getActionResize()
public bibliothek.gui.dock.common.action.CMenu getMenuFileLoad()
public bibliothek.gui.dock.common.action.CMenu getMenuFileSave()
public bibliothek.gui.dock.common.action.CButton getActionLoadXmlStream()
public bibliothek.gui.dock.common.action.CButton getActionSaveXmlStream()
public bibliothek.gui.dock.common.action.CButton getActionAutoResizeOff()
public bibliothek.gui.dock.common.action.CButton getActionAutoResizeLastColumn()
public bibliothek.gui.dock.common.action.CButton getActionAutoResizeNextColumn()
public bibliothek.gui.dock.common.action.CButton getActionAutoResizeAllColumn()
public bibliothek.gui.dock.common.action.CButton getActionAutoResizeSubSequent()
protected void buildUI(DataTableLayout layout)
layout - разметкаpublic JScrollPane getTableScroll()
public xyz.cofe.gui.swing.data.DataTableView getTable()
public xyz.cofe.gui.swing.data.DataTableModel getDataTableModel()
public boolean isPinned()
public void setPinned(boolean v)
v - true - закрепленаpublic long getScriptDocumentId()
public void setScriptDocumentId(Long scriptDocumentId)
scriptDocumentId - id SQL документаpublic Integer getDataTableNumber()
public void setDataTableNumber(Integer dtnum)
dtnum - порядковый номер таблицы в выборкеpublic void notifyFocusGain(bibliothek.gui.dock.common.intern.CDockable dock)
public void closingDataTableModel()
public xyz.cofe.data.DataTable getDataTable()
public void writeDataTableXml(Writer writer)
writer - Поток XMLpublic void readDataTableXml(Reader reader)
reader - Поток XMLpublic void bindDataTable(String varName)
varName - имя переменнойCopyright © 2019. All rights reserved.