public class DataTableDock extends BaseDocument<DataTableLayout>
BaseDocument.OnClosed, BaseDocument.OnFocusGain, BaseDocument.OnFocusLost| Modifier and Type | Field and Description |
|---|---|
protected DataTableModel |
dataTableModel |
protected Integer |
dataTableNumber |
protected boolean |
pinned |
protected Long |
scriptDocumentId |
protected JTable |
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) |
protected void |
buildUI(DataTableLayout layout) |
void |
closingDataTableModel() |
DataTable |
getDataTable() |
DataTableModel |
getDataTableModel() |
Integer |
getDataTableNumber() |
DataTableLayout |
getLayout()
Создание объекта для сохранения состояния документа
|
long |
getScriptDocumentId() |
SqlService |
getSqlService() |
JTable |
getTable() |
JScrollPane |
getTableScroll() |
boolean |
isPinned() |
void |
notifyFocusGain(bibliothek.gui.dock.common.intern.CDockable dock) |
void |
readDataTableXml(Reader reader) |
void |
setDataTableNumber(Integer dtnum) |
void |
setPinned(boolean v) |
void |
setScriptDocumentId(Long scriptDocumentId) |
void |
writeDataTableXml(Writer writer) |
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, listenDocumentErrorUI, onClosed, onClosed, removeAllDocumentListeners, removeDocumentListener, removePropertyChangeListener, removePropertyChangeListenergetFactory, 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 volatile JScrollPane tableScroll
protected volatile JTable table
protected volatile DataTableModel dataTableModel
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()
BaseDocumentgetLayout in class BaseDocument<DataTableLayout>protected void buildUI(DataTableLayout layout)
public JScrollPane getTableScroll()
public JTable getTable()
public DataTableModel getDataTableModel()
public boolean isPinned()
public void setPinned(boolean v)
public long getScriptDocumentId()
public void setScriptDocumentId(Long scriptDocumentId)
public Integer getDataTableNumber()
public void setDataTableNumber(Integer dtnum)
public void notifyFocusGain(bibliothek.gui.dock.common.intern.CDockable dock)
public void closingDataTableModel()
public DataTable getDataTable()
public void writeDataTableXml(Writer writer)
public void readDataTableXml(Reader reader)
public void bindDataTable(String varName)
Copyright © 2018. All rights reserved.