public class RowSelectorTree extends AbstractVisionScrollPane implements DesignerInitializable, javax.swing.event.TreeSelectionListener, LoadingMonitor
Modifier and Type | Class and Description |
---|---|
class |
RowSelectorTree.Renderer |
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar
javax.swing.JComponent.AccessibleJComponent
antialias, context, cursorCode
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport
listenerList, 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
RESERVED_SET_KEY
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
COMPONENT_RUNNING
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 |
---|
RowSelectorTree() |
Modifier and Type | Method and Description |
---|---|
void |
clearSelection() |
protected java.util.List<com.inductiveautomation.factorypmi.plugins.reporting.components.RowSelectorTree.FilterNode> |
computeChildren(com.inductiveautomation.factorypmi.plugins.reporting.components.RowSelectorTree.FilterNode parent,
int filterNum) |
java.lang.String |
getAllDataNodeText() |
java.awt.Color |
getBackground() |
RowFilteredDataSet |
getData() |
Dataset |
getDataIn() |
Dataset |
getDataOut() |
java.util.List<Filter> |
getFilters() |
java.awt.Font |
getFont() |
java.awt.Color |
getForeground() |
int |
getPropertiesLoading() |
java.awt.Color |
getSelectionBackground() |
java.lang.String |
getUnknownIconPath() |
java.lang.String |
getUnknownNodeText() |
void |
initialize()
Implements DesignerInitializable, which lets us pre-fill the tree with some filters and not have to worry about
filter list serialization problems
|
boolean |
isExpandAllDataNode() |
boolean |
isShowAllDataNode() |
boolean |
isShowNodeSize() |
boolean |
isShowRootHandles() |
void |
localeChanged(java.util.Locale newLocale) |
void |
notifyActivationStateChanged(LicenseState licenseState) |
protected void |
onShutdown()
Subclasses should override this to provide shutdown logic.
|
protected void |
onStartup()
Subclasses should override this to provide startup logic.
|
void |
paint(java.awt.Graphics g) |
void |
setAllDataNodeText(java.lang.String allDataNodeText) |
void |
setBackground(java.awt.Color color) |
void |
setData(RowFilteredDataSet ds) |
void |
setDataIn(Dataset in) |
void |
setDataOut(Dataset dataOut) |
void |
setExpandAllDataNode(boolean expandAllDataNode) |
void |
setFilters(java.util.List<Filter> filters) |
void |
setFont(java.awt.Font font) |
void |
setForeground(java.awt.Color color)
Table will be null on JScrollPane's constructor
|
void |
setName(java.lang.String newName) |
void |
setPropertiesLoading(int i) |
void |
setSelectionBackground(java.awt.Color selectionBackground) |
void |
setShowAllDataNode(boolean showAllDataNode) |
void |
setShowNodeSize(boolean showNodeSize) |
void |
setShowRootHandles(boolean showRootHandles) |
void |
setUnknownIconPath(java.lang.String unknownIconPath) |
void |
setUnknownNodeText(java.lang.String unknownNodeText) |
protected void |
updateModel()
Called whenever the input dataset or the list of filters changes.
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e) |
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, paintChildren, paintComponent, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setPropertyValue, 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, 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, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public void clearSelection()
protected void onStartup()
AbstractVisionScrollPane
onStartup
in class AbstractVisionScrollPane
protected void onShutdown()
AbstractVisionScrollPane
onShutdown
in class AbstractVisionScrollPane
public void notifyActivationStateChanged(LicenseState licenseState)
public java.awt.Color getBackground()
getBackground
in class java.awt.Component
public java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
getFont
in class java.awt.Component
public java.awt.Color getForeground()
getForeground
in class java.awt.Component
public void setBackground(java.awt.Color color)
setBackground
in class javax.swing.JComponent
public java.awt.Color getSelectionBackground()
public void setSelectionBackground(java.awt.Color selectionBackground)
public void setForeground(java.awt.Color color)
setForeground
in class javax.swing.JComponent
public void setFont(java.awt.Font font)
setFont
in class javax.swing.JComponent
public void localeChanged(java.util.Locale newLocale)
localeChanged
in interface LocaleListener
localeChanged
in class AbstractVisionScrollPane
public void initialize()
initialize
in interface DesignerInitializable
public void paint(java.awt.Graphics g)
paint
in class javax.swing.JComponent
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
in interface javax.swing.event.TreeSelectionListener
public int getPropertiesLoading()
getPropertiesLoading
in interface LoadingMonitor
public void setPropertiesLoading(int i)
setPropertiesLoading
in interface LoadingMonitor
protected void updateModel()
protected java.util.List<com.inductiveautomation.factorypmi.plugins.reporting.components.RowSelectorTree.FilterNode> computeChildren(com.inductiveautomation.factorypmi.plugins.reporting.components.RowSelectorTree.FilterNode parent, int filterNum)
public Dataset getDataIn()
public void setDataIn(Dataset in)
public Dataset getDataOut()
public void setDataOut(Dataset dataOut)
public RowFilteredDataSet getData()
public void setData(RowFilteredDataSet ds)
public java.util.List<Filter> getFilters()
public void setFilters(java.util.List<Filter> filters)
public void setName(java.lang.String newName)
setName
in class AbstractVisionScrollPane
public java.lang.String getAllDataNodeText()
public void setAllDataNodeText(java.lang.String allDataNodeText)
public void setExpandAllDataNode(boolean expandAllDataNode)
public java.lang.String getUnknownIconPath()
public void setUnknownIconPath(java.lang.String unknownIconPath)
public java.lang.String getUnknownNodeText()
public void setUnknownNodeText(java.lang.String unknownNodeText)
public boolean isShowAllDataNode()
public boolean isExpandAllDataNode()
public void setShowAllDataNode(boolean showAllDataNode)
public boolean isShowNodeSize()
public void setShowNodeSize(boolean showNodeSize)
public boolean isShowRootHandles()
public void setShowRootHandles(boolean showRootHandles)