|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
edu.iastate.metnet.metaomgraph.MetaOmTablePanel
public class MetaOmTablePanel
A JPanel for displaying information related to a
MetaOmProject, and accessing many of MetaOmGraph's functions.
The panel contains a JTabbedPane with at least one tab. The
first tab is the main project window for MetaOmGraph. It
contains row names, gene lists, and buttons for all major MetaOmGraph
operations. The second tab is optional, and only appears when the
| Nested Class Summary | |
|---|---|
class |
MetaOmTablePanel.ListNameComparator
Comparator for comparing names of lists. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static java.lang.String |
ATGENESEARCH_COMMAND
|
static java.lang.String |
DELETE_LIST_COMMAND
|
static java.lang.String |
EDIT_LIST_COMMAND
|
static java.lang.String |
GRAPH_FILTERED_COMMAND
|
static java.lang.String |
GRAPH_LIST_COMMAND
|
static java.lang.String |
GRAPH_SELECTED_COMMAND
|
static java.lang.String |
LIST_FROM_FILTER_COMMAND
|
static java.lang.String |
NEW_LIST_COMMAND
|
static java.lang.String |
PEARSON_COMMAND
|
static java.lang.String |
REMOVE_ALL_CORRELATIONS_COMMAND
|
static java.lang.String |
REMOVE_CORRELATION_COMMAND
|
static java.lang.String |
RENAME_LIST_COMMAND
|
static java.lang.String |
REPORT_COMMAND
|
static java.lang.String |
SAVE_CORRELATION_COMMAND
|
static java.lang.String |
SPEARMAN_COMMAND
|
static java.lang.String |
TAIR_COMMAND
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, 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 |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MetaOmTablePanel(MetaOmProject project)
Constructs a MetaOmTablePanel from the given
MetaOmProject. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addExtInfoTab()
|
void |
applyFilter(java.lang.String[] values,
boolean caseSensitive)
|
void |
applyFilter(java.lang.String value,
boolean caseSensitive)
|
void |
deleteSelectedList()
|
int[] |
getAllTrueRows()
|
javax.swing.JList |
getGeneLists()
|
CorrelationValue[] |
getLastCorrelation()
|
javax.swing.JTable |
getListDisplay()
|
int |
getSelectedGeneIndex()
|
java.lang.String |
getSelectedGeneName()
|
java.lang.String |
getSelectedListName()
|
TableSorter |
getSorter()
|
javax.swing.JTabbedPane |
getTabbedPane()
|
javax.swing.JTable |
getTable()
|
int |
getTrueRow(int row)
|
int |
getTrueSelectedRow()
|
int[] |
getTrueSelectedRows()
|
void |
graphFilteredList()
Creates a plot for all the rows allowed by the current filter and displays it in a JInternalFrame. |
void |
graphSelectedList()
Creates a plot for the selected list and displays it in a JInternalFrame. |
void |
graphSelectedRows()
Creates a plot for the selected rows and displays it in a JInternalFrame. |
boolean |
keepLastCorrelation()
|
void |
launchAtGeneSearch()
Opens a browser to the AtGeneSearch results page for the selected rows. |
void |
launchTAIR()
Opens a browser to the TAIR page for the selected rows. |
void |
makeReport()
Generates a report for the selected row. |
void |
selectList(java.lang.String listName)
Selects the given gene list, if it exists. |
void |
selectNode(java.lang.String findMe)
|
void |
selectRows(java.util.Collection<java.lang.Integer> rows)
|
void |
selectValues(java.lang.String[] values)
|
void |
setExtInfoDividerPos(double pos)
|
void |
setLastCorrelation(CorrelationValue[] lastCorrelation)
|
void |
sizeColumnsToFit()
Resizes the columns of the entry table to their initial length. |
void |
stateChanged(javax.swing.event.ChangeEvent event)
Called when this table's MetaOmProject changes. |
void |
valueChanged(javax.swing.event.ListSelectionEvent event)
Called when a new gene list is selected. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, 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, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, 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 |
| 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, setLayout, transferFocusBackward, 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, 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, hide, 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, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String GRAPH_LIST_COMMAND
public static final java.lang.String GRAPH_SELECTED_COMMAND
public static final java.lang.String GRAPH_FILTERED_COMMAND
public static final java.lang.String REPORT_COMMAND
public static final java.lang.String ATGENESEARCH_COMMAND
public static final java.lang.String TAIR_COMMAND
public static final java.lang.String LIST_FROM_FILTER_COMMAND
public static final java.lang.String DELETE_LIST_COMMAND
public static final java.lang.String NEW_LIST_COMMAND
public static final java.lang.String EDIT_LIST_COMMAND
public static final java.lang.String RENAME_LIST_COMMAND
public static final java.lang.String PEARSON_COMMAND
public static final java.lang.String SPEARMAN_COMMAND
public static final java.lang.String SAVE_CORRELATION_COMMAND
public static final java.lang.String REMOVE_CORRELATION_COMMAND
public static final java.lang.String REMOVE_ALL_CORRELATIONS_COMMAND
| Constructor Detail |
|---|
public MetaOmTablePanel(MetaOmProject project)
MetaOmTablePanel from the given
MetaOmProject.
project - the MetaOmProject to be displayed| Method Detail |
|---|
public void stateChanged(javax.swing.event.ChangeEvent event)
MetaOmProject changes. Refreshes
the gene lists and the entries table.
stateChanged in interface javax.swing.event.ChangeListenerevent - a ChangeEvenet objectpublic void selectList(java.lang.String listName)
listName - the name of the list to selectpublic void sizeColumnsToFit()
public void valueChanged(javax.swing.event.ListSelectionEvent event)
valueChanged in interface javax.swing.event.ListSelectionListenerevent - a ListSelectionEvent objectpublic void launchAtGeneSearch()
public void launchTAIR()
public void makeReport()
public void graphSelectedRows()
JInternalFrame. Only to be used with MetaOmGraph.
public void graphSelectedList()
JInternalFrame. Only to be used with MetaOmGraph.
public void graphFilteredList()
JInternalFrame. Only to be used with
MetaOmGraph.
public void deleteSelectedList()
public java.lang.String getSelectedGeneName()
public int getSelectedGeneIndex()
public void addExtInfoTab()
public void selectNode(java.lang.String findMe)
public void setExtInfoDividerPos(double pos)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic int getTrueRow(int row)
public int[] getAllTrueRows()
public int getTrueSelectedRow()
public int[] getTrueSelectedRows()
public TableSorter getSorter()
public javax.swing.JTable getTable()
public void selectRows(java.util.Collection<java.lang.Integer> rows)
public void selectValues(java.lang.String[] values)
public void applyFilter(java.lang.String[] values,
boolean caseSensitive)
public void applyFilter(java.lang.String value,
boolean caseSensitive)
public CorrelationValue[] getLastCorrelation()
public void setLastCorrelation(CorrelationValue[] lastCorrelation)
public boolean keepLastCorrelation()
public javax.swing.JTabbedPane getTabbedPane()
public java.lang.String getSelectedListName()
public javax.swing.JTable getListDisplay()
public javax.swing.JList getGeneLists()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||