Inheritance diagram for org::gel::mauve::gui::SequenceNavigator:


Public Member Functions | |
| void | actionPerformed (final ActionEvent e) |
| action listener for buttons on this panel | |
| void | addNavigationPanel (NavigationPanel pane) |
| adds a newly constructed navigation panel to the gui | |
| void | adjustZoom (Feature feat) |
| Adjust zoom so desired feature is a decent size and is all viewable. | |
| void | displayFeature (Feature feat, Genome genome) |
| Centers the view on a specific feature of a genome. | |
| void | dispose () |
| Vector | getGenomeKeys () |
| Gets all the feature keys present in any of the sequences. | |
| int | getValidCount () |
| Finds out if the data entered into the input panels is valid, and how many valid constraints are possible. | |
| void | goToFeatureByName () |
| A wizard style simplified feature searcher that allows the user to find a feature by name and highlights the first feature in the mauve gui that matches the desired name. | |
| void | goToPosition (long position, Genome chosen) |
| Centers view on a specific sequence position. | |
| void | keyPressed (KeyEvent e) |
| dummy method - implemented as part of key listener interface | |
| void | keyReleased (KeyEvent e) |
| dummy method - implemented as part of key listener interface | |
| void | keyTyped (KeyEvent e) |
| converts enters typed into the input panels to action events representing a user desire to perform search | |
| void | loadGenomeList () |
| loads list of genomes user is viewing and should be able to search | |
| void | makeConstraintVisible (NavigationPanel panel) |
| scrolls the gui to a specific part of the list of constraints | |
| void | reloadGUI () |
| necessary to call for some reason whenever adding or removing NavigationPanels-- automatically called from addNavigationPanel and removeNavigationPanel | |
| void | removeNavigationPanel (NavigationPanel pane) |
| removes unwanted navigation panel from gui | |
| void | reset () |
| resets search so only one navigation panel is present | |
| SequenceNavigator (Component parent, RearrangementPanel rrpanel, BaseViewerModel dataModel) | |
| SequenceNavigator (MauveFrame frame) | |
| Creates new GenomeNavigator. | |
| boolean | shouldClear () |
| determines whether current results should be cleared | |
| void | showNavigator () |
| Shows the navigator so a user may select a genome and a position to go to within the genome. | |
| void | showResultTree (final Genome[] nomes, final String[][] data) |
| Performs the final narrowing down of features to those that match the given constraints, and displays a tree of matching features. | |
Static Public Member Functions | |
| void | expandIfNecessary (JScrollPane pane, Dimension size) |
| Expands the frame holding the gui as much as necessary without allowing it to increase over the maximum programmatically allowable size. | |
| void | goToPosition (long position, Genome chosen, RearrangementPanel rrpanel) |
| Centers view on a specific sequence position. | |
| void | goToSeqPos (Component parentComponent, BaseViewerModel dataModel, RearrangementPanel rrpanel) |
| A simple wizard style routine that allows a user to choose a numeric sequence position from a specific sequence to navigate to, and performs navigation. | |
Static Public Attributes | |
| int | MAX_HEIGHT = 400 |
| sets maximum height programmatically given to the frame | |
| int | MAX_WIDTH = 850 |
| sets maximum height and width programmatically given to the frame. | |
Protected Member Functions | |
| void | doNavigation () |
| converts user input to features to display and centers view on first matching feature | |
| void | moveFromBehind () |
| finds the best place on screen to place the frame- takes into account size of mauve frame | |
Protected Attributes | |
| WindowAdapter | adapt |
| JButton | add |
| AncestorListener | ancestListener |
| if there is no frame containing the alignment, so when it is removed, this SequenceNavigator can be closed | |
| JButton | cancel |
| JCheckBox | clear |
| if checked, previous search results are cleared when a new search is performed | |
| BaseViewerModel | data_model |
| The data model being displayed and navigated. | |
| JFrame | frame |
| parent frame containing this panel | |
| Vector | genome_choices |
| availabe genome sequences to search | |
| JComboBox | genomes |
| list of genomes with searchable features | |
| JPanel | nav_panel_holder |
| panel that contains all NavPanels | |
| LinkedList | nav_panels |
| each NavPanel in the list represents a constraint on the current search | |
| JScrollPane | nav_scroll |
| allows constraints to be scrolled through | |
| Component | parent_component |
| The parent component of the panel, if it disappears, so will the panel. | |
| JButton | reset |
| when pressed, resets search to one constraint with no values entered | |
| SearchResultPanel | result_pane |
| panel that shows results | |
| JScrollPane | result_scroller |
| allows results to be scrolled through | |
| RearrangementPanel | rrpanel |
| The panel displaying data under navigation. | |
| JButton | search |
| when pressed, a search is performed | |
| LinkedList | window_listeners |
Static Package Functions | |
| [static initializer] | |
| initializes hashtable and hashset inherited from NavigationConstants | |
Private Member Functions | |
| void | initGUI () |
| Does initial gui initialization. | |
| void | makeBottomPanel (JPanel holder) |
| initializes bottom part of left side of gui | |
| void | makeFrame () |
| sets up the frame that contains this SequenceNavigation panel and its subcomponents | |
Private Attributes | |
| Boolean | current_search = Boolean.FALSE |
| mechanism for only doing one gui operation at a time/locking | |
Allows multiple constraints. Results are shown in a tree, and selecting the feature in the tree scrolls to that position in the genome. Results can be added to previous search results, or previous results can be cleared.
Definition at line 45 of file SequenceNavigator.java.
|
|
Creates new GenomeNavigator.
Definition at line 169 of file SequenceNavigator.java. References data_model, org::gel::mauve::gui::MauveFrame::getModel(), org::gel::mauve::gui::MauveFrame::getRearrangementPanel(), initGUI(), nav_panels, and parent_component. |
|
||||||||||||||||
|
Definition at line 177 of file SequenceNavigator.java. References data_model, initGUI(), nav_panels, and parent_component. |
|
|
initializes hashtable and hashset inherited from NavigationConstants
|
|
|
action listener for buttons on this panel
Definition at line 398 of file SequenceNavigator.java. References add, current_search, doNavigation(), reset(), and search. Referenced by keyTyped(). |
|
|
adds a newly constructed navigation panel to the gui
Definition at line 350 of file SequenceNavigator.java. References nav_panel_holder, nav_panels, and reloadGUI(). Referenced by org::gel::mauve::gui::navigation::NavigationPanel::initGUI(). |
|
|
Adjust zoom so desired feature is a decent size and is all viewable.
Definition at line 662 of file SequenceNavigator.java. |
|
||||||||||||
|
Centers the view on a specific feature of a genome.
Definition at line 647 of file SequenceNavigator.java. Referenced by goToFeatureByName(). |
|
|
Definition at line 737 of file SequenceNavigator.java. Referenced by org::gel::mauve::gui::MauveFrame::thisWindowClosing(). |
|
|
converts user input to features to display and centers view on first matching feature
Definition at line 610 of file SequenceNavigator.java. References getValidCount(), nav_panels, result_pane, showResultTree(), and org::gel::mauve::gui::navigation::SearchResultPanel::waitForResults(). Referenced by actionPerformed(). |
|
||||||||||||
|
Expands the frame holding the gui as much as necessary without allowing it to increase over the maximum programmatically allowable size.
Definition at line 456 of file SequenceNavigator.java. Referenced by reloadGUI(). |
|
|
Gets all the feature keys present in any of the sequences.
Definition at line 728 of file SequenceNavigator.java. Referenced by org::gel::mauve::gui::navigation::NavigationPanel::setNavigationChoices(). |
|
|
Finds out if the data entered into the input panels is valid, and how many valid constraints are possible. Input is considered valid if there are no breaks in input; if all fields are filled in. Will allow empty constraints at the bottom
Definition at line 506 of file SequenceNavigator.java. References org::gel::mauve::gui::navigation::NavigationPanel::dataValid(), and nav_panels. Referenced by doNavigation(). |
|
|
A wizard style simplified feature searcher that allows the user to find a feature by name and highlights the first feature in the mauve gui that matches the desired name.
Definition at line 567 of file SequenceNavigator.java. References data_model, displayFeature(), org::gel::mauve::gui::navigation::SearchResultPanel::displayFeatures(), org::gel::mauve::Genome::length, parent_component, and result_pane. Referenced by org::gel::mauve::gui::MauveFrame::actionPerformed(). |
|
||||||||||||
|
Centers view on a specific sequence position.
Definition at line 718 of file SequenceNavigator.java. |
|
||||||||||||||||
|
Centers view on a specific sequence position.
Definition at line 700 of file SequenceNavigator.java. References org::gel::mauve::gui::sequence::RRSequencePanel::goTo(), org::gel::mauve::gui::sequence::RRSequencePanel::isForGenome(), and org::gel::mauve::gui::RearrangementPanel::newPanels. Referenced by goToSeqPos(). |
|
||||||||||||||||
|
A simple wizard style routine that allows a user to choose a numeric sequence position from a specific sequence to navigate to, and performs navigation.
Definition at line 537 of file SequenceNavigator.java. References goToPosition(). |
|
|
Does initial gui initialization.
Definition at line 191 of file SequenceNavigator.java. References org::gel::mauve::gui::navigation::SearchResultPanel::getScrollPane(), loadGenomeList(), makeBottomPanel(), makeFrame(), moveFromBehind(), nav_panel_holder, nav_scroll, reloadGUI(), result_pane, and result_scroller. Referenced by SequenceNavigator(). |
|
|
dummy method - implemented as part of key listener interface
Definition at line 469 of file SequenceNavigator.java. |
|
|
dummy method - implemented as part of key listener interface
Definition at line 475 of file SequenceNavigator.java. |
|
|
converts enters typed into the input panels to action events representing a user desire to perform search
Definition at line 482 of file SequenceNavigator.java. References actionPerformed(), and search. |
|
|
loads list of genomes user is viewing and should be able to search
Definition at line 330 of file SequenceNavigator.java. References data_model, and result_pane. Referenced by initGUI(). |
|
|
initializes bottom part of left side of gui
Definition at line 271 of file SequenceNavigator.java. References add, clear, reset, and search. Referenced by initGUI(). |
|
|
scrolls the gui to a specific part of the list of constraints
Definition at line 494 of file SequenceNavigator.java. References nav_scroll. Referenced by org::gel::mauve::gui::navigation::NavigationPanel::dataValid(). |
|
|
sets up the frame that contains this SequenceNavigation panel and its subcomponents
Definition at line 237 of file SequenceNavigator.java. References adapt, ancestListener, parent_component, and window_listeners. Referenced by initGUI(). |
|
|
finds the best place on screen to place the frame- takes into account size of mauve frame
Definition at line 303 of file SequenceNavigator.java. References parent_component. Referenced by initGUI(). |
|
|
necessary to call for some reason whenever adding or removing NavigationPanels-- automatically called from addNavigationPanel and removeNavigationPanel
Definition at line 436 of file SequenceNavigator.java. References expandIfNecessary(), MAX_HEIGHT, MAX_WIDTH, nav_scroll, and result_scroller. Referenced by addNavigationPanel(), org::gel::mauve::gui::navigation::SearchResultPanel::displayFeatures(), initGUI(), and removeNavigationPanel(). |
|
|
removes unwanted navigation panel from gui
Definition at line 361 of file SequenceNavigator.java. References nav_panel_holder, nav_panels, and reloadGUI(). Referenced by org::gel::mauve::gui::navigation::NavigationPanel::actionPerformed(), and reset(). |
|
|
resets search so only one navigation panel is present
Definition at line 372 of file SequenceNavigator.java. References nav_panels, and removeNavigationPanel(). Referenced by actionPerformed(). |
|
|
determines whether current results should be cleared
Definition at line 343 of file SequenceNavigator.java. References clear. |
|
|
Shows the navigator so a user may select a genome and a position to go to within the genome.
Definition at line 383 of file SequenceNavigator.java. Referenced by org::gel::mauve::gui::MauveFrame::actionPerformed(). |
|
||||||||||||
|
Performs the final narrowing down of features to those that match the given constraints, and displays a tree of matching features.
Definition at line 633 of file SequenceNavigator.java. References org::gel::mauve::gui::navigation::SearchResultPanel::displayFeatures(), and result_pane. Referenced by doNavigation(). |
|
|
Definition at line 106 of file SequenceNavigator.java. Referenced by makeFrame(). |
|
|
Definition at line 74 of file SequenceNavigator.java. Referenced by actionPerformed(), and makeBottomPanel(). |
|
|
if there is no frame containing the alignment, so when it is removed, this SequenceNavigator can be closed
Definition at line 112 of file SequenceNavigator.java. Referenced by makeFrame(). |
|
|
Definition at line 73 of file SequenceNavigator.java. |
|
|
if checked, previous search results are cleared when a new search is performed
Definition at line 94 of file SequenceNavigator.java. Referenced by makeBottomPanel(), and shouldClear(). |
|
|
mechanism for only doing one gui operation at a time/locking
Definition at line 161 of file SequenceNavigator.java. Referenced by actionPerformed(). |
|
|
The data model being displayed and navigated.
Definition at line 53 of file SequenceNavigator.java. Referenced by goToFeatureByName(), loadGenomeList(), and SequenceNavigator(). |
|
|
parent frame containing this panel
Definition at line 57 of file SequenceNavigator.java. |
|
|
availabe genome sequences to search
Definition at line 117 of file SequenceNavigator.java. |
|
|
list of genomes with searchable features
Definition at line 62 of file SequenceNavigator.java. |
|
|
sets maximum height programmatically given to the frame
Definition at line 122 of file SequenceNavigator.java. Referenced by reloadGUI(). |
|
|
sets maximum height and width programmatically given to the frame.
Definition at line 127 of file SequenceNavigator.java. Referenced by reloadGUI(). |
|
|
panel that contains all NavPanels
Definition at line 84 of file SequenceNavigator.java. Referenced by addNavigationPanel(), initGUI(), and removeNavigationPanel(). |
|
|
each NavPanel in the list represents a constraint on the current search
Definition at line 67 of file SequenceNavigator.java. Referenced by addNavigationPanel(), doNavigation(), getValidCount(), removeNavigationPanel(), reset(), and SequenceNavigator(). |
|
|
allows constraints to be scrolled through
Definition at line 104 of file SequenceNavigator.java. Referenced by initGUI(), makeConstraintVisible(), and reloadGUI(). |
|
|
The parent component of the panel, if it disappears, so will the panel.
Definition at line 51 of file SequenceNavigator.java. Referenced by goToFeatureByName(), makeFrame(), moveFromBehind(), and SequenceNavigator(). |
|
|
when pressed, resets search to one constraint with no values entered
Definition at line 79 of file SequenceNavigator.java. Referenced by makeBottomPanel(). |
|
|
panel that shows results
Definition at line 89 of file SequenceNavigator.java. Referenced by doNavigation(), goToFeatureByName(), initGUI(), loadGenomeList(), and showResultTree(). |
|
|
allows results to be scrolled through
Definition at line 99 of file SequenceNavigator.java. Referenced by initGUI(), and reloadGUI(). |
|
|
The panel displaying data under navigation.
Definition at line 52 of file SequenceNavigator.java. |
|
|
when pressed, a search is performed
Definition at line 72 of file SequenceNavigator.java. Referenced by actionPerformed(), keyTyped(), and makeBottomPanel(). |
|
|
Definition at line 105 of file SequenceNavigator.java. Referenced by makeFrame(). |
1.3.6