Class PMITable
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
com.inductiveautomation.vision.api.client.components.model.AbstractVisionScrollPane
com.inductiveautomation.factorypmi.application.components.PMITable
- All Implemented Interfaces:
DynamicPropertyProvider
,LoadingMonitor
,CustomizableTable<ColumnAttributes>
,LocaleListener
,TouchscreenEnabledTable
,MutableDynamicPropertyProvider
,StyleProvider
,ComponentLifecycle
,EnabledEx
,ExtensibleComponent
,QualityMonitor
,VisionComponent
,ImageObserver
,MenuContainer
,Serializable
,Accessible
,ScrollPaneConstants
public class PMITable
extends AbstractVisionScrollPane
implements LoadingMonitor, EnabledEx, ExtensibleComponent, TouchscreenEnabledTable, CustomizableTable<ColumnAttributes>, LocaleListener
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class javax.swing.JScrollPane
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
static final int
static final int
static final int
protected int
protected Map<String,
ColumnAttributes> protected Dataset
protected PMITable.ColumnConfig
Deprecated.protected Dataset
This is the actual data that the table displaysprotected Font
protected Color
protected boolean
Controls the visibility of the table's JTableHeaderprotected int
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 zeroprotected EventListenerList
protected int
Deprecated.protected String
protected ColorStateTable
protected Color
protected boolean
protected com.inductiveautomation.factorypmi.application.components.PMITable.SelectionRelayListener
protected com.inductiveautomation.factorypmi.application.components.PMITable.HMITableCellRenderer
protected boolean
protected com.inductiveautomation.factorypmi.application.components.PMITable.DataSetTableModel
This is the root TableModel for the table, which looks at the data variable.protected int
protected SortTableModel
This TableModel looks at the rootModel, providing sorting on top of itprotected JTable
static final int
static final int
protected int
Fields inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionScrollPane
antialias, context, cursorCode
Fields inherited from class javax.swing.JScrollPane
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
COMPONENT_RUNNING
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.EnabledEx
DISABLED_BY_PERMISSIONS
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Fields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListener
LOCAL_CHANGE_EVENT
Fields inherited from interface com.inductiveautomation.vision.api.client.binding.MutableDynamicPropertyProvider
RESERVED_SET_KEY
Fields inherited from interface javax.swing.ScrollPaneConstants
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
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.VisionComponent
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCellListener
(CellListener listener) void
addRow
(org.python.core.PySequence row) void
Deprecated.int
columnIndexToModelIndex
(int columnIndex) Converts between a TableColumnModel index to the underlying dataset's column indexvoid
deleteRow
(int row) void
exportHTML
(String filename, String title, int width) void
fireCellEditedEvent
(Object oldValue, Object newValue, int row, int column) protected void
int
Table will be null on JScrollPane's constructorint
int
Returns the ColumnAttributes object associated with the given ID.getColumnId
(int idx) boolean
getData()
getDataAsHTML
(String title, int width) getFont()
Table will be null on JScrollPane's constructorTable will be null on JScrollPane's constructorint
getModel()
int
int
boolean
int[]
int
int
int[]
int
int
int[]
int
boolean
boolean
getTable()
Deprecated.int
protected void
void
insertRow
(org.python.core.PySequence row) boolean
isCellSelected
(int row, int column) boolean
isColumnSelected
(int column) boolean
boolean
boolean
boolean
boolean
isRowSelected
(int row) boolean
isTest()
void
localeChanged
(Locale newLocale) int
modelIndexToColumnIndex
(int modelIndex) Converts between a column's model index to the TableColumnModel's indexprotected void
Subclasses should override this to provide startup logic.boolean
void
removeCellListener
(CellListener listener) void
removeRow
(int row) void
Deprecated.void
setAutoResizeMode
(int i) void
setBackground
(Color color) void
setBackgroundColorMode
(int i) void
setClickCountToStart
(int clickCountToStart) void
setColumnAttributes
(Map<String, ColumnAttributes> columnAttributes) void
setColumnAttributesData
(Dataset columnAttributesData) void
Deprecated.void
setColumnLabel
(int idx, String label) void
setColumnSelectionAllowed
(boolean columnSelectionAllowed) boolean
setColumnSelectionInterval
(int index0, int index1) void
setColumnWidth
(int idx, int width) void
setComponentEnabled
(boolean componentEnabled) void
void
void
Table will be null on JScrollPane's constructorvoid
setForeground
(Color color) Table will be null on JScrollPane's constructorvoid
setGridColor
(Color gridColor) void
setHeaderFont
(Font headerFont) void
setHeaderForeground
(Color headerForeground) void
setHeaderVisible
(boolean headerVisible) void
setHideFirstColumn
(boolean b) Deprecated.void
setInitialRowSelection
(int initialRowSelection) void
setMappingColumn
(int i) Deprecated.void
setMappingColumnId
(String mappingColumnId) void
setMappingTable
(ColorStateTable table) void
void
setOddBackground
(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
(Color selectionBackground) void
setSelectionForeground
(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
void
sortByColumn
(String columnName) void
sortByColumn
(String columnName, boolean ascending) void
toString()
void
updateRow
(int row, org.python.core.PyDictionary changes) boolean
make sure that the widths on the ColumnAttributes represent the currently configured widths of the actual columnsMethods inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionScrollPane
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
Methods inherited from class javax.swing.JScrollPane
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
Methods inherited from class javax.swing.JComponent
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
Methods inherited from class java.awt.Container
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
Methods inherited from class java.awt.Component
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, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
getAppContext, shutdownComponent, startupComponent
-
Field Details
-
BG_CONSTANT
public static final int BG_CONSTANT- See Also:
-
BG_ALTERNATING
public static final int BG_ALTERNATING- See Also:
-
BG_MAPPED
public static final int BG_MAPPED- See Also:
-
table
-
data
This is the actual data that the table displays -
sortModel
This TableModel looks at the rootModel, providing sorting on top of it -
rootModel
protected com.inductiveautomation.factorypmi.application.components.PMITable.DataSetTableModel rootModelThis is the root TableModel for the table, which looks at the data variable. -
renderer
protected com.inductiveautomation.factorypmi.application.components.PMITable.HMITableCellRenderer renderer -
oddBackground
-
backgroundColorMode
protected int backgroundColorMode -
mappingTable
-
mappingColumn
Deprecated.The mapping column number is now deprecated in favor of the mapping column ID -
mappingColumnId
-
headerVisible
protected boolean headerVisibleControls the visibility of the table's JTableHeader -
resizingAllowed
protected boolean resizingAllowed -
overlaysEnabled
protected boolean overlaysEnabled -
columnConfiguration
Deprecated.This is used ONLY for backwards compatibility. see setHideFirstColumn and setColumnConfiguration -
columnAttributes
-
columnAttributesData
-
initialRowSelection
protected int initialRowSelectionThis 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 -
selectionMode
protected int selectionMode -
listenerList
-
headerFont
-
headerForeground
-
TOUCH_SCREEN_MODE_AUTO
public static final int TOUCH_SCREEN_MODE_AUTO- See Also:
-
TOUCH_SCREEN_MODE_NONE
public static final int TOUCH_SCREEN_MODE_NONE- See Also:
-
touchscreenMode
protected int touchscreenMode -
clickCountToStart
protected int clickCountToStart -
relayListener
protected com.inductiveautomation.factorypmi.application.components.PMITable.SelectionRelayListener relayListener
-
-
Constructor Details
-
PMITable
public PMITable()
-
-
Method Details
-
localeChanged
- Specified by:
localeChanged
in interfaceLocaleListener
- Overrides:
localeChanged
in classAbstractVisionScrollPane
-
onStartup
protected void onStartup()Description copied from class:AbstractVisionScrollPane
Subclasses should override this to provide startup logic.- Overrides:
onStartup
in classAbstractVisionScrollPane
-
initRenderers
protected void initRenderers() -
toString
-
getModel
-
setName
- Overrides:
setName
in classAbstractVisionScrollPane
-
getColumnAttributes
Returns the ColumnAttributes object associated with the given ID. If no attributes are associated with that id, the default attributes are returned. -
getColumnAttributesData
-
setColumnWidth
public void setColumnWidth(int idx, int width) -
setColumnLabel
-
getColumnId
-
getSelectedRow
public int getSelectedRow() -
setSelectedRow
public void setSelectedRow(int row) -
getData
- Specified by:
getData
in interfaceCustomizableTable<ColumnAttributes>
-
setData
-
print
-
sortByColumn
-
sortByColumn
-
sortOriginal
public void sortOriginal() -
getDataAsHTML
-
exportHTML
-
getBackground
Table will be null on JScrollPane's constructor- Overrides:
getBackground
in classComponent
-
getForeground
Table will be null on JScrollPane's constructor- Overrides:
getForeground
in classComponent
-
getFont
Table will be null on JScrollPane's constructor- Specified by:
getFont
in interfaceMenuContainer
- Overrides:
getFont
in classComponent
-
setBackground
- Overrides:
setBackground
in classJComponent
-
setForeground
Table will be null on JScrollPane's constructor- Overrides:
setForeground
in classJComponent
-
isComponentEnabled
public boolean isComponentEnabled()- Specified by:
isComponentEnabled
in interfaceEnabledEx
-
setComponentEnabled
public void setComponentEnabled(boolean componentEnabled) - Specified by:
setComponentEnabled
in interfaceEnabledEx
-
evaluateEnabled
public void evaluateEnabled()- Specified by:
evaluateEnabled
in interfaceEnabledEx
-
getExtensionFunctions
- Specified by:
getExtensionFunctions
in interfaceExtensibleComponent
-
setExtensionFunctions
- Specified by:
setExtensionFunctions
in interfaceExtensibleComponent
-
getSelectionBackground
-
getSelectionForeground
-
setSelectionBackground
-
setSelectionForeground
-
setFont
Table will be null on JScrollPane's constructor- Overrides:
setFont
in classJComponent
-
getHeaderFont
-
setHeaderFont
-
getHeaderForeground
-
setHeaderForeground
-
isTest
public boolean isTest() -
setTest
public void setTest(boolean test) -
setHideFirstColumn
Deprecated.This is included for backwards compatability. This will just set the 'hidden' property of the first column to true -
fireColumnAttributesUpdated
protected void fireColumnAttributesUpdated() -
getBackgroundColorMode
public int getBackgroundColorMode() -
getOddBackground
-
setBackgroundColorMode
public void setBackgroundColorMode(int i) -
setOddBackground
-
getMappingTable
-
setMappingTable
-
setMappingColumn
Deprecated.Included for backwards compatability -
getMappingColumnId
-
setMappingColumnId
-
getAutoResizeMode
public int getAutoResizeMode() -
setAutoResizeMode
public void setAutoResizeMode(int i) -
getColumnAttributes
- Specified by:
getColumnAttributes
in interfaceCustomizableTable<ColumnAttributes>
-
updateWidths
public boolean updateWidths()Description copied from interface:CustomizableTable
make sure that the widths on the ColumnAttributes represent the currently configured widths of the actual columns- Specified by:
updateWidths
in interfaceCustomizableTable<ColumnAttributes>
-
setColumnAttributes
- Specified by:
setColumnAttributes
in interfaceCustomizableTable<ColumnAttributes>
- Parameters:
columnAttributes
- the columnAttributes to set
-
setColumnAttributesData
- Parameters:
columnAttributesData
- the columnAttributesData to set
-
getRenderer
-
setColumnConfiguration
Deprecated.This sets the field so that -
getSelectionMode
public int getSelectionMode() -
setSelectionMode
public void setSelectionMode(int i) -
getColumnSelectionAllowed
public boolean getColumnSelectionAllowed() -
getRowSelectionAllowed
public boolean getRowSelectionAllowed() -
setColumnSelectionAllowed
public void setColumnSelectionAllowed(boolean columnSelectionAllowed) -
setRowSelectionAllowed
public void setRowSelectionAllowed(boolean rowSelectionAllowed) -
getShowHorizontalLines
public boolean getShowHorizontalLines() -
getShowVerticalLines
public boolean getShowVerticalLines() -
getGridColor
-
setShowHorizontalLines
public void setShowHorizontalLines(boolean showHorizontalLines) -
setShowVerticalLines
public void setShowVerticalLines(boolean showVerticalLines) -
setGridColor
-
getClickCountToStart
public int getClickCountToStart()- Specified by:
getClickCountToStart
in interfaceTouchscreenEnabledTable
-
setClickCountToStart
public void setClickCountToStart(int clickCountToStart) -
getSelectedColumn
public int getSelectedColumn() -
columnIndexToModelIndex
public int columnIndexToModelIndex(int columnIndex) Converts between a TableColumnModel index to the underlying dataset's column index -
modelIndexToColumnIndex
public int modelIndexToColumnIndex(int modelIndex) Converts between a column's model index to the TableColumnModel's index -
setSelectedColumn
public void setSelectedColumn(int col) -
getSelectedColumnCount
public int getSelectedColumnCount() -
getSelectedColumns
public int[] getSelectedColumns() -
getSelectedRowCount
public int getSelectedRowCount() -
getRowsInViewOrder
public int[] getRowsInViewOrder() -
getInitialRowSelection
public int getInitialRowSelection() -
setInitialRowSelection
public void setInitialRowSelection(int initialRowSelection) -
getSelectedRows
public int[] getSelectedRows() -
isCellSelected
public boolean isCellSelected(int row, int column) -
isColumnSelected
public boolean isColumnSelected(int column) -
isRowSelected
public boolean isRowSelected(int row) -
setColumnSelectionInterval
public boolean setColumnSelectionInterval(int index0, int index1) -
setRowSelectionInterval
public boolean setRowSelectionInterval(int index0, int index1) -
getPropertiesLoading
public int getPropertiesLoading()- Specified by:
getPropertiesLoading
in interfaceLoadingMonitor
-
setPropertiesLoading
public void setPropertiesLoading(int i) - Specified by:
setPropertiesLoading
in interfaceLoadingMonitor
-
getRowHeight
public int getRowHeight() -
setRowHeight
public void setRowHeight(int rowHeight) -
isHeaderVisible
public boolean isHeaderVisible() -
setHeaderVisible
public void setHeaderVisible(boolean headerVisible) -
isResizingAllowed
public boolean isResizingAllowed() -
setResizingAllowed
public void setResizingAllowed(boolean resizingAllowed) -
addTableSelectionListener
Deprecated.The table selection listener stuff isn't used since custom listeners don't seems to serialize correctly b/c of classloader issue -
removeTableSelectionListener
Deprecated.The table selection listener stuff isn't used since custom listeners don't seems to serialize correctly b/c of classloader issue -
getTableSelectionListeners
Deprecated.The table selection listener stuff isn't used since custom listeners don't seems to serialize correctly b/c of classloader issue -
addCellListener
-
removeCellListener
-
getCellListeners
-
fireCellEditedEvent
-
addRow
public void addRow(org.python.core.PySequence row) -
insertRow
public void insertRow(org.python.core.PySequence row) -
deleteRow
public void deleteRow(int row) -
removeRow
public void removeRow(int row) -
updateRow
public void updateRow(int row, org.python.core.PyDictionary changes) -
setValue
public void setValue(int row, int col, org.python.core.PyObject value) -
setValue
-
isOverlaysEnabled
public boolean isOverlaysEnabled() -
setOverlaysEnabled
public void setOverlaysEnabled(boolean overlaysEnabled) -
exportCSV
-
getTable
-
getTableHeader
-
getTouchscreenMode
public int getTouchscreenMode()- Specified by:
getTouchscreenMode
in interfaceTouchscreenEnabledTable
-
setTouchscreenMode
public void setTouchscreenMode(int touchscreenMode)
-