public class PMITable extends AbstractVisionScrollPane implements LoadingMonitor, EnabledEx, ExtensibleComponent, TouchscreenEnabledTable, CustomizableTable<ColumnAttributes>, LocaleListener
Modifier and Type | Class and Description |
---|---|
static class |
PMITable.ColumnConfig
Deprecated.
|
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected int |
backgroundColorMode |
static int |
BG_ALTERNATING |
static int |
BG_CONSTANT |
static int |
BG_MAPPED |
protected int |
clickCountToStart |
protected java.util.Map<java.lang.String,ColumnAttributes> |
columnAttributes |
protected Dataset |
columnAttributesData |
protected PMITable.ColumnConfig |
columnConfiguration
Deprecated.
|
protected Dataset |
data
This is the actual data that the table displays
|
protected java.awt.Font |
headerFont |
protected java.awt.Color |
headerForeground |
protected boolean |
headerVisible
Controls the visibility of the table's JTableHeader
|
protected int |
initialRowSelection
This is used to have the table automatically select a row upon 'first data', that is, whenever the data is set to
a positive number of rows when it was previously zero
|
protected javax.swing.event.EventListenerList |
listenerList |
protected int |
mappingColumn
Deprecated.
|
protected java.lang.String |
mappingColumnId |
protected ColorStateTable |
mappingTable |
protected java.awt.Color |
oddBackground |
protected boolean |
overlaysEnabled |
protected com.inductiveautomation.factorypmi.application.components.PMITable.SelectionRelayListener |
relayListener |
protected com.inductiveautomation.factorypmi.application.components.PMITable.HMITableCellRenderer |
renderer |
protected boolean |
resizingAllowed |
protected com.inductiveautomation.factorypmi.application.components.PMITable.DataSetTableModel |
rootModel
This is the root TableModel for the table, which looks at the data variable.
|
protected int |
selectionMode |
protected SortTableModel |
sortModel
This TableModel looks at the rootModel, providing sorting on top of it
|
protected javax.swing.JTable |
table |
static int |
TOUCH_SCREEN_MODE_AUTO |
static int |
TOUCH_SCREEN_MODE_NONE |
protected int |
touchscreenMode |
antialias, context, cursorCode
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport
TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DISABLED_BY_PERMISSIONS
COMPONENT_RUNNING
RESERVED_SET_KEY
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT
Constructor and Description |
---|
PMITable() |
Modifier and Type | Method and Description |
---|---|
void |
addCellListener(CellListener listener) |
void |
addRow(org.python.core.PySequence row) |
void |
addTableSelectionListener(TableSelectionListener l)
Deprecated.
|
int |
columnIndexToModelIndex(int columnIndex)
Converts between a TableColumnModel index to the underlying dataset's column index
|
void |
deleteRow(int row) |
void |
evaluateEnabled() |
java.lang.String |
exportCSV(java.lang.String filename,
boolean showHeaders) |
java.lang.String |
exportHTML(java.lang.String filename,
java.lang.String title,
int width) |
void |
fireCellEditedEvent(java.lang.Object oldValue,
java.lang.Object newValue,
int row,
int column) |
protected void |
fireColumnAttributesUpdated() |
int |
getAutoResizeMode() |
java.awt.Color |
getBackground()
Table will be null on JScrollPane's constructor
|
int |
getBackgroundColorMode() |
CellListener[] |
getCellListeners() |
int |
getClickCountToStart() |
java.util.Map<java.lang.String,ColumnAttributes> |
getColumnAttributes() |
ColumnAttributes |
getColumnAttributes(java.lang.Object id)
Returns the ColumnAttributes object associated with the given ID.
|
Dataset |
getColumnAttributesData() |
java.lang.String |
getColumnId(int idx) |
boolean |
getColumnSelectionAllowed() |
Dataset |
getData() |
java.lang.String |
getDataAsHTML(java.lang.String title,
int width) |
java.util.Map<java.lang.String,ExtensionFunction> |
getExtensionFunctions() |
java.awt.Font |
getFont()
Table will be null on JScrollPane's constructor
|
java.awt.Color |
getForeground()
Table will be null on JScrollPane's constructor
|
java.awt.Color |
getGridColor() |
java.awt.Font |
getHeaderFont() |
java.awt.Color |
getHeaderForeground() |
int |
getInitialRowSelection() |
java.lang.String |
getMappingColumnId() |
ColorStateTable |
getMappingTable() |
javax.swing.table.TableModel |
getModel() |
java.awt.Color |
getOddBackground() |
int |
getPropertiesLoading() |
javax.swing.table.TableCellRenderer |
getRenderer() |
int |
getRowHeight() |
boolean |
getRowSelectionAllowed() |
int[] |
getRowsInViewOrder() |
int |
getSelectedColumn() |
int |
getSelectedColumnCount() |
int[] |
getSelectedColumns() |
int |
getSelectedRow() |
int |
getSelectedRowCount() |
int[] |
getSelectedRows() |
java.awt.Color |
getSelectionBackground() |
java.awt.Color |
getSelectionForeground() |
int |
getSelectionMode() |
boolean |
getShowHorizontalLines() |
boolean |
getShowVerticalLines() |
javax.swing.JTable |
getTable() |
javax.swing.table.JTableHeader |
getTableHeader() |
TableSelectionListener[] |
getTableSelectionListeners()
Deprecated.
|
int |
getTouchscreenMode() |
protected void |
initRenderers() |
void |
insertRow(org.python.core.PySequence row) |
boolean |
isCellSelected(int row,
int column) |
boolean |
isColumnSelected(int column) |
boolean |
isComponentEnabled() |
boolean |
isHeaderVisible() |
boolean |
isOverlaysEnabled() |
boolean |
isResizingAllowed() |
boolean |
isRowSelected(int row) |
boolean |
isTest() |
void |
localeChanged(java.util.Locale newLocale) |
int |
modelIndexToColumnIndex(int modelIndex)
Converts between a column's model index to the TableColumnModel's index
|
protected void |
onStartup()
Subclasses should override this to provide startup logic.
|
boolean |
print(org.python.core.PyObject[] pyArgs,
java.lang.String[] keywords) |
void |
removeCellListener(CellListener listener) |
void |
removeRow(int row) |
void |
removeTableSelectionListener(TableSelectionListener l)
Deprecated.
|
void |
setAutoResizeMode(int i) |
void |
setBackground(java.awt.Color color) |
void |
setBackgroundColorMode(int i) |
void |
setClickCountToStart(int clickCountToStart) |
void |
setColumnAttributes(java.util.Map<java.lang.String,ColumnAttributes> columnAttributes) |
void |
setColumnAttributesData(Dataset columnAttributesData) |
void |
setColumnConfiguration(PMITable.ColumnConfig config)
Deprecated.
|
void |
setColumnLabel(int idx,
java.lang.String label) |
void |
setColumnSelectionAllowed(boolean columnSelectionAllowed) |
boolean |
setColumnSelectionInterval(int index0,
int index1) |
void |
setColumnWidth(int idx,
int width) |
void |
setComponentEnabled(boolean componentEnabled) |
void |
setData(Dataset newDataset) |
void |
setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map) |
void |
setFont(java.awt.Font f)
Table will be null on JScrollPane's constructor
|
void |
setForeground(java.awt.Color color)
Table will be null on JScrollPane's constructor
|
void |
setGridColor(java.awt.Color gridColor) |
void |
setHeaderFont(java.awt.Font headerFont) |
void |
setHeaderForeground(java.awt.Color headerForeground) |
void |
setHeaderVisible(boolean headerVisible) |
void |
setHideFirstColumn(boolean b)
Deprecated.
|
void |
setInitialRowSelection(int initialRowSelection) |
void |
setMappingColumn(int i)
Deprecated.
|
void |
setMappingColumnId(java.lang.String mappingColumnId) |
void |
setMappingTable(ColorStateTable table) |
void |
setName(java.lang.String newName) |
void |
setOddBackground(java.awt.Color color) |
void |
setOverlaysEnabled(boolean overlaysEnabled) |
void |
setPropertiesLoading(int i) |
void |
setResizingAllowed(boolean resizingAllowed) |
void |
setRowHeight(int rowHeight) |
void |
setRowSelectionAllowed(boolean rowSelectionAllowed) |
boolean |
setRowSelectionInterval(int index0,
int index1) |
void |
setSelectedColumn(int col) |
void |
setSelectedRow(int row) |
void |
setSelectionBackground(java.awt.Color selectionBackground) |
void |
setSelectionForeground(java.awt.Color selectionForeground) |
void |
setSelectionMode(int i) |
void |
setShowHorizontalLines(boolean showHorizontalLines) |
void |
setShowVerticalLines(boolean showVerticalLines) |
void |
setTest(boolean test) |
void |
setTouchscreenMode(int touchscreenMode) |
void |
setValue(int row,
int col,
org.python.core.PyObject value) |
void |
setValue(int row,
java.lang.String col,
org.python.core.PyObject value) |
void |
sortByColumn(java.lang.String columnName) |
void |
sortByColumn(java.lang.String columnName,
boolean ascending) |
void |
sortOriginal() |
java.lang.String |
toString() |
void |
updateRow(int row,
org.python.core.PyDictionary changes) |
boolean |
updateWidths()
make sure that the widths on the ColumnAttributes represent the currently configured widths of the actual columns
|
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getQuality, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, onShutdown, paintChildren, paintComponent, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setPropertyValue, setQuality, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, updateQuality
createHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, 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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, 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, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, 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, 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, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAppContext, shutdownComponent, startupComponent
public static final int BG_CONSTANT
public static final int BG_ALTERNATING
public static final int BG_MAPPED
protected javax.swing.JTable table
protected Dataset data
protected SortTableModel sortModel
protected com.inductiveautomation.factorypmi.application.components.PMITable.DataSetTableModel rootModel
protected com.inductiveautomation.factorypmi.application.components.PMITable.HMITableCellRenderer renderer
protected java.awt.Color oddBackground
protected int backgroundColorMode
protected ColorStateTable mappingTable
@Deprecated protected int mappingColumn
protected java.lang.String mappingColumnId
protected boolean headerVisible
protected boolean resizingAllowed
protected boolean overlaysEnabled
@Deprecated protected PMITable.ColumnConfig columnConfiguration
protected java.util.Map<java.lang.String,ColumnAttributes> columnAttributes
protected Dataset columnAttributesData
protected int initialRowSelection
protected int selectionMode
protected javax.swing.event.EventListenerList listenerList
protected java.awt.Font headerFont
protected java.awt.Color headerForeground
public static final int TOUCH_SCREEN_MODE_AUTO
public static final int TOUCH_SCREEN_MODE_NONE
protected int touchscreenMode
protected int clickCountToStart
protected com.inductiveautomation.factorypmi.application.components.PMITable.SelectionRelayListener relayListener
public void localeChanged(java.util.Locale newLocale)
localeChanged
in interface LocaleListener
localeChanged
in class AbstractVisionScrollPane
protected void onStartup()
AbstractVisionScrollPane
onStartup
in class AbstractVisionScrollPane
protected void initRenderers()
public java.lang.String toString()
toString
in class java.awt.Component
public javax.swing.table.TableModel getModel()
public void setName(java.lang.String newName)
setName
in class AbstractVisionScrollPane
public ColumnAttributes getColumnAttributes(java.lang.Object id)
public Dataset getColumnAttributesData()
public void setColumnWidth(int idx, int width)
public void setColumnLabel(int idx, java.lang.String label)
public java.lang.String getColumnId(int idx)
public int getSelectedRow()
public void setSelectedRow(int row)
public Dataset getData()
getData
in interface CustomizableTable<ColumnAttributes>
public void setData(Dataset newDataset)
public boolean print(org.python.core.PyObject[] pyArgs, java.lang.String[] keywords)
public void sortByColumn(java.lang.String columnName)
public void sortByColumn(java.lang.String columnName, boolean ascending)
public void sortOriginal()
public java.lang.String getDataAsHTML(java.lang.String title, int width)
public java.lang.String exportHTML(java.lang.String filename, java.lang.String title, int width)
public java.awt.Color getBackground()
getBackground
in class java.awt.Component
public java.awt.Color getForeground()
getForeground
in class java.awt.Component
public java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
getFont
in class java.awt.Component
public void setBackground(java.awt.Color color)
setBackground
in class javax.swing.JComponent
public void setForeground(java.awt.Color color)
setForeground
in class javax.swing.JComponent
public boolean isComponentEnabled()
isComponentEnabled
in interface EnabledEx
public void setComponentEnabled(boolean componentEnabled)
setComponentEnabled
in interface EnabledEx
public void evaluateEnabled()
evaluateEnabled
in interface EnabledEx
public java.util.Map<java.lang.String,ExtensionFunction> getExtensionFunctions()
getExtensionFunctions
in interface ExtensibleComponent
public void setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)
setExtensionFunctions
in interface ExtensibleComponent
public java.awt.Color getSelectionBackground()
public java.awt.Color getSelectionForeground()
public void setSelectionBackground(java.awt.Color selectionBackground)
public void setSelectionForeground(java.awt.Color selectionForeground)
public void setFont(java.awt.Font f)
setFont
in class javax.swing.JComponent
public java.awt.Font getHeaderFont()
public void setHeaderFont(java.awt.Font headerFont)
public java.awt.Color getHeaderForeground()
public void setHeaderForeground(java.awt.Color headerForeground)
public boolean isTest()
public void setTest(boolean test)
@Deprecated public void setHideFirstColumn(boolean b)
protected void fireColumnAttributesUpdated()
public int getBackgroundColorMode()
public java.awt.Color getOddBackground()
public void setBackgroundColorMode(int i)
public void setOddBackground(java.awt.Color color)
public ColorStateTable getMappingTable()
public void setMappingTable(ColorStateTable table)
@Deprecated public void setMappingColumn(int i)
public java.lang.String getMappingColumnId()
public void setMappingColumnId(java.lang.String mappingColumnId)
public int getAutoResizeMode()
public void setAutoResizeMode(int i)
public java.util.Map<java.lang.String,ColumnAttributes> getColumnAttributes()
getColumnAttributes
in interface CustomizableTable<ColumnAttributes>
public boolean updateWidths()
CustomizableTable
updateWidths
in interface CustomizableTable<ColumnAttributes>
public void setColumnAttributes(java.util.Map<java.lang.String,ColumnAttributes> columnAttributes)
setColumnAttributes
in interface CustomizableTable<ColumnAttributes>
columnAttributes
- the columnAttributes to setpublic void setColumnAttributesData(Dataset columnAttributesData)
columnAttributesData
- the columnAttributesData to setpublic javax.swing.table.TableCellRenderer getRenderer()
@Deprecated public void setColumnConfiguration(PMITable.ColumnConfig config)
public int getSelectionMode()
public void setSelectionMode(int i)
public boolean getColumnSelectionAllowed()
public boolean getRowSelectionAllowed()
public void setColumnSelectionAllowed(boolean columnSelectionAllowed)
public void setRowSelectionAllowed(boolean rowSelectionAllowed)
public boolean getShowHorizontalLines()
public boolean getShowVerticalLines()
public java.awt.Color getGridColor()
public void setShowHorizontalLines(boolean showHorizontalLines)
public void setShowVerticalLines(boolean showVerticalLines)
public void setGridColor(java.awt.Color gridColor)
public int getClickCountToStart()
getClickCountToStart
in interface TouchscreenEnabledTable
public void setClickCountToStart(int clickCountToStart)
public int getSelectedColumn()
public int columnIndexToModelIndex(int columnIndex)
public int modelIndexToColumnIndex(int modelIndex)
public void setSelectedColumn(int col)
public int getSelectedColumnCount()
public int[] getSelectedColumns()
public int getSelectedRowCount()
public int[] getRowsInViewOrder()
public int getInitialRowSelection()
public void setInitialRowSelection(int initialRowSelection)
public int[] getSelectedRows()
public boolean isCellSelected(int row, int column)
public boolean isColumnSelected(int column)
public boolean isRowSelected(int row)
public boolean setColumnSelectionInterval(int index0, int index1)
public boolean setRowSelectionInterval(int index0, int index1)
public int getPropertiesLoading()
getPropertiesLoading
in interface LoadingMonitor
public void setPropertiesLoading(int i)
setPropertiesLoading
in interface LoadingMonitor
public int getRowHeight()
public void setRowHeight(int rowHeight)
public boolean isHeaderVisible()
public void setHeaderVisible(boolean headerVisible)
public boolean isResizingAllowed()
public void setResizingAllowed(boolean resizingAllowed)
@Deprecated public void addTableSelectionListener(TableSelectionListener l)
@Deprecated public void removeTableSelectionListener(TableSelectionListener l)
@Deprecated public TableSelectionListener[] getTableSelectionListeners()
public void addCellListener(CellListener listener)
public void removeCellListener(CellListener listener)
public CellListener[] getCellListeners()
public void fireCellEditedEvent(java.lang.Object oldValue, java.lang.Object newValue, int row, int column)
public void addRow(org.python.core.PySequence row)
public void insertRow(org.python.core.PySequence row)
public void deleteRow(int row)
public void removeRow(int row)
public void updateRow(int row, org.python.core.PyDictionary changes)
public void setValue(int row, int col, org.python.core.PyObject value)
public void setValue(int row, java.lang.String col, org.python.core.PyObject value)
public boolean isOverlaysEnabled()
public void setOverlaysEnabled(boolean overlaysEnabled)
public java.lang.String exportCSV(java.lang.String filename, boolean showHeaders)
public javax.swing.JTable getTable()
public javax.swing.table.JTableHeader getTableHeader()
public int getTouchscreenMode()
getTouchscreenMode
in interface TouchscreenEnabledTable
public void setTouchscreenMode(int touchscreenMode)