public class SpectralDataBrowser
extends javax.swing.JScrollPane
implements java.awt.event.ActionListener, javax.swing.event.TreeWillExpandListener, javax.swing.event.TreeExpansionListener
Modifier and Type | Class and Description |
---|---|
class |
SpectralDataBrowser.SpectralDataBrowserNode
This class represents a node in the JTree.
|
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
javax.swing.JComboBox |
order_by_box |
SpectralDataBrowser.SpectralDataBrowserNode |
root |
ch.specchio.gui.SpectralDataBrowser.SpectralJTree |
tree |
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
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 |
---|
SpectralDataBrowser(SPECCHIOClient specchio_client,
boolean restrict_to_view) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
build_tree() |
void |
build_tree(int campaign_id) |
java.lang.String |
get_order_by_field() |
Campaign |
get_selected_campaign() |
java.util.ArrayList<java.lang.Integer> |
get_selected_hierarchy_ids() |
spectral_node_object |
get_selected_node() |
java.util.ArrayList<java.lang.Integer> |
get_selected_spectrum_ids() |
SPECCHIOClient |
get_specchio_client() |
java.util.ArrayList<java.lang.Integer> |
get_top_hierarchy_ids_of_campaign() |
campaign_node |
getCampaignNode() |
boolean |
isShow_only_hierarchies() |
boolean |
onlyCampaignNodeIsSelected() |
boolean |
onlyHierarchiesAreSelected() |
void |
order_by_box_enabled(boolean enabled) |
void |
reload_tree() |
void |
set_view_restriction(boolean restrict_to_view) |
void |
setShow_only_hierarchies(boolean show_only_hierarchies) |
void |
treeCollapsed(javax.swing.event.TreeExpansionEvent arg0) |
void |
treeExpanded(javax.swing.event.TreeExpansionEvent arg0) |
void |
treeWillCollapse(javax.swing.event.TreeExpansionEvent arg0) |
void |
treeWillExpand(javax.swing.event.TreeExpansionEvent arg0) |
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, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, 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, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, 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, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public ch.specchio.gui.SpectralDataBrowser.SpectralJTree tree
public SpectralDataBrowser.SpectralDataBrowserNode root
public javax.swing.JComboBox order_by_box
public SpectralDataBrowser(SPECCHIOClient specchio_client, boolean restrict_to_view)
public void set_view_restriction(boolean restrict_to_view) throws SPECCHIOClientException
SPECCHIOClientException
public boolean isShow_only_hierarchies()
public void setShow_only_hierarchies(boolean show_only_hierarchies)
public void build_tree(int campaign_id) throws SPECCHIOClientException
SPECCHIOClientException
public void build_tree() throws SPECCHIOClientException
SPECCHIOClientException
public void treeCollapsed(javax.swing.event.TreeExpansionEvent arg0)
treeCollapsed
in interface javax.swing.event.TreeExpansionListener
public Campaign get_selected_campaign() throws SPECCHIOClientException
SPECCHIOClientException
public spectral_node_object get_selected_node()
public boolean onlyCampaignNodeIsSelected()
public campaign_node getCampaignNode()
public java.util.ArrayList<java.lang.Integer> get_top_hierarchy_ids_of_campaign() throws SPECCHIOClientException
SPECCHIOClientException
public java.util.ArrayList<java.lang.Integer> get_selected_spectrum_ids() throws SPECCHIOClientException
SPECCHIOClientException
public java.util.ArrayList<java.lang.Integer> get_selected_hierarchy_ids()
public void order_by_box_enabled(boolean enabled)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.String get_order_by_field()
public SPECCHIOClient get_specchio_client()
public void reload_tree() throws SPECCHIOClientException
SPECCHIOClientException
public boolean onlyHierarchiesAreSelected()
public void treeExpanded(javax.swing.event.TreeExpansionEvent arg0)
treeExpanded
in interface javax.swing.event.TreeExpansionListener
public void treeWillCollapse(javax.swing.event.TreeExpansionEvent arg0) throws javax.swing.tree.ExpandVetoException
treeWillCollapse
in interface javax.swing.event.TreeWillExpandListener
javax.swing.tree.ExpandVetoException
public void treeWillExpand(javax.swing.event.TreeExpansionEvent arg0) throws javax.swing.tree.ExpandVetoException
treeWillExpand
in interface javax.swing.event.TreeWillExpandListener
javax.swing.tree.ExpandVetoException