|
|||||||||
| 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
apollo.gui.detailviewers.sequencealigner.MultiSequenceAlignerPanel
apollo.gui.detailviewers.sequencealigner.AAPanel.AAMultiSequenceAlignerPanel
public class AAMultiSequenceAlignerPanel
The main class for the Amino Acid view.
| Nested Class Summary |
|---|
| 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 |
|---|
| Fields inherited from class apollo.gui.detailviewers.sequencealigner.MultiSequenceAlignerPanel |
|---|
colorIndex, colorList |
| 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 | |
|---|---|
AAMultiSequenceAlignerPanel(GuiCurationState curationState,
Strand strand,
ReadingFrame frame)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
annotationFilter(SeqFeatureI f)
I don't think this is used in any way... |
void |
clearAnnotations()
removes all the annotations from the annotation list and the annotation panel |
void |
clearResults()
removes all of the results from the results list and the result panel |
static java.util.Set<SeqFeatureI> |
filterByFrame(java.util.Collection<SeqFeatureI> set,
ReadingFrame frame)
|
void |
flipOrientation()
Flipping the orientation will not work, more work is needed to implement... |
AbstractScrollablePanel |
getAddressComponent()
Gets the address bar (shows the base numbers you are looking at) |
MultiComparator |
getAnnotationComparator()
Gets the comparator used to order annotations |
MultiFilter |
getAnnotationFilter()
Gets the filter used to decide which annotations to display |
MultiTierPanelHeaderTable |
getAnnotationHeader()
Gets the header for the annotation panel |
javax.swing.JScrollPane |
getAnnotationPane()
Gets the JScrollPane which holds the Annotation Panel |
MultiTierPanel |
getAnnotationPanel()
Gets the Annotation Panel |
java.util.List<SeqFeatureI> |
getAnnotations()
Gets the list of annotations. |
Controller |
getController()
Gets the Controller for the object |
java.lang.Object |
getControllerWindow()
Shouldnt this return Window - would we ever want a non-window? |
ReadingFrame |
getFrame()
Gets the frame that is currently being viewed |
javax.swing.JMenu |
getMenu()
Gets the Menu object |
Overview |
getOverview()
Gets the overview object for the panel |
MultiTierPanel |
getReferencePanel()
Gets the reference panel (the one in between the annotation and result) |
SequenceI |
getReferenceSequence(Strand s,
ReadingFrame rf)
Creates a Sequence object which can be used as a reference for the given strand/frame pair |
MultiComparator |
getResultComparator()
Gets the comparator used to order results |
MultiFilter |
getResultFilter()
Gets the filter used to decide which results to display |
MultiTierPanelHeaderTable |
getResultHeader()
Gets the header for the result panel |
MultiTierPanel |
getResultPanel()
Gets the Result Panel |
java.util.List<SeqFeatureI> |
getResults()
Gets the list of results. |
javax.swing.JScrollBar |
getScrollBar()
Gets the main horizontal scrollbar for the window |
Strand |
getStrand()
Gets the strand of the annotations currently being viewed |
java.lang.String |
getType()
Gets the type (always AA) |
int |
getVisibleBase()
|
int |
getVisibleBaseCount()
|
boolean |
handleFeatureSelectionEvent(FeatureSelectionEvent evt)
|
void |
init()
Creates all of the components and lays everything out |
static AAMultiSequenceAlignerPanel |
makeAligner(GuiCurationState curationState,
int strand,
ReadingFrame frame)
Factory method for creating Amino Acid Panels |
boolean |
needsAutoRemoval()
If getControllerWindow is non null, and needsAutoRemoval is true then Controller will automatically remove the ControlledObjectI as a listener when its ControllerWindow is closing. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
reformat()
|
void |
reformatReferenceHeader()
updates the header for the reference panel |
boolean |
resultFilter(SeqFeatureI f)
I don't think this is used in any way... |
void |
scrollToBase(int basePair)
|
void |
setAnnotations(java.util.List<SeqFeatureI> annotations)
Sets the annotations (no side effects) |
void |
setController(Controller controller)
Sets the Controller for the object |
void |
setFrame(ReadingFrame frame)
|
void |
setResults(java.util.List<SeqFeatureI> results)
Sets the results (no side effects) |
void |
setStrand(Strand s)
Sets the currently selected strand (no side effects) |
static SequenceI |
translateToAA(SequenceI SeqDNA,
ReadingFrame frame)
|
void |
validate()
|
| Methods inherited from class apollo.gui.detailviewers.sequencealigner.MultiSequenceAlignerPanel |
|---|
addAnnotations, addEditRegion, addFeatureToPanel, addResults, canHandleSelection, cleanUp, filter, getAnnotations, getColorArray, getCurationState, getIndicatorColor, getMenuBar, getResults, getResults, getSelection, getThis, getTransOrOneLevelAnn, handleAnnotationChangeEvent, makeAligner, makeMenu, nextAnnotation, noExternalSelection, prevAnnotation, reformatAnnotationPanel, reformatReferencePanel, reformatResultPanel, setCurationState, setIndicatorColor, setNoExternalSelection, setSelection, sort, sortAnnotations, sortResults, switchAnnotations, switchResults, updateEditRegion, updateTitle |
| 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, 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 |
| Constructor Detail |
|---|
public AAMultiSequenceAlignerPanel(GuiCurationState curationState,
Strand strand,
ReadingFrame frame)
curationState - strand - frame - | Method Detail |
|---|
public static AAMultiSequenceAlignerPanel makeAligner(GuiCurationState curationState,
int strand,
ReadingFrame frame)
curationState - strand - frame -
public MultiTierPanel getAnnotationPanel()
MultiSequenceAlignerPanel
getAnnotationPanel in class MultiSequenceAlignerPanelpublic javax.swing.JScrollPane getAnnotationPane()
MultiSequenceAlignerPanel
getAnnotationPane in class MultiSequenceAlignerPanelpublic MultiTierPanel getResultPanel()
MultiSequenceAlignerPanel
getResultPanel in class MultiSequenceAlignerPanelpublic java.lang.String getType()
getType in class MultiSequenceAlignerPanelpublic Strand getStrand()
MultiSequenceAlignerPanel
getStrand in class MultiSequenceAlignerPanelpublic ReadingFrame getFrame()
MultiSequenceAlignerPanel
getFrame in class MultiSequenceAlignerPanelpublic javax.swing.JMenu getMenu()
MultiSequenceAlignerPanel
getMenu in class MultiSequenceAlignerPanelpublic java.util.List<SeqFeatureI> getAnnotations()
MultiSequenceAlignerPanel
getAnnotations in class MultiSequenceAlignerPanelpublic void setAnnotations(java.util.List<SeqFeatureI> annotations)
MultiSequenceAlignerPanel
setAnnotations in class MultiSequenceAlignerPanelpublic java.util.List<SeqFeatureI> getResults()
MultiSequenceAlignerPanel
getResults in class MultiSequenceAlignerPanelpublic void setResults(java.util.List<SeqFeatureI> results)
MultiSequenceAlignerPanel
setResults in class MultiSequenceAlignerPanelpublic void reformat()
public void init()
MultiSequenceAlignerPanel
init in class MultiSequenceAlignerPanelpublic void validate()
validate in class java.awt.Containerpublic boolean handleFeatureSelectionEvent(FeatureSelectionEvent evt)
public Controller getController()
ControlledObjectI
public java.lang.Object getControllerWindow()
ControlledObjectI
public boolean needsAutoRemoval()
ControlledObjectI
public void setController(Controller controller)
ControlledObjectI
public void propertyChange(java.beans.PropertyChangeEvent evt)
public int getVisibleBase()
public int getVisibleBaseCount()
public void scrollToBase(int basePair)
public static SequenceI translateToAA(SequenceI SeqDNA,
ReadingFrame frame)
public void setFrame(ReadingFrame frame)
public static java.util.Set<SeqFeatureI> filterByFrame(java.util.Collection<SeqFeatureI> set,
ReadingFrame frame)
public void reformatReferenceHeader()
MultiSequenceAlignerPanel
reformatReferenceHeader in class MultiSequenceAlignerPanelpublic void flipOrientation()
MultiSequenceAlignerPanel
flipOrientation in class MultiSequenceAlignerPanelpublic Overview getOverview()
MultiSequenceAlignerPanel
getOverview in class MultiSequenceAlignerPanelpublic MultiTierPanel getReferencePanel()
MultiSequenceAlignerPanel
getReferencePanel in class MultiSequenceAlignerPanelpublic javax.swing.JScrollBar getScrollBar()
MultiSequenceAlignerPanel
getScrollBar in class MultiSequenceAlignerPanelpublic void setStrand(Strand s)
MultiSequenceAlignerPanel
setStrand in class MultiSequenceAlignerPanelpublic MultiTierPanelHeaderTable getAnnotationHeader()
MultiSequenceAlignerPanel
getAnnotationHeader in class MultiSequenceAlignerPanelpublic MultiTierPanelHeaderTable getResultHeader()
MultiSequenceAlignerPanel
getResultHeader in class MultiSequenceAlignerPanel
public SequenceI getReferenceSequence(Strand s,
ReadingFrame rf)
MultiSequenceAlignerPanel
getReferenceSequence in class MultiSequenceAlignerPanels - the strandrf - the frame
public boolean annotationFilter(SeqFeatureI f)
MultiSequenceAlignerPanel
annotationFilter in class MultiSequenceAlignerPanelpublic boolean resultFilter(SeqFeatureI f)
MultiSequenceAlignerPanel
resultFilter in class MultiSequenceAlignerPanelpublic MultiComparator getAnnotationComparator()
MultiSequenceAlignerPanel
getAnnotationComparator in class MultiSequenceAlignerPanelpublic MultiComparator getResultComparator()
MultiSequenceAlignerPanel
getResultComparator in class MultiSequenceAlignerPanelpublic void clearResults()
MultiSequenceAlignerPanel
clearResults in class MultiSequenceAlignerPanelpublic MultiFilter getAnnotationFilter()
MultiSequenceAlignerPanel
getAnnotationFilter in class MultiSequenceAlignerPanelpublic MultiFilter getResultFilter()
MultiSequenceAlignerPanel
getResultFilter in class MultiSequenceAlignerPanelpublic void clearAnnotations()
MultiSequenceAlignerPanel
clearAnnotations in class MultiSequenceAlignerPanelpublic AbstractScrollablePanel getAddressComponent()
MultiSequenceAlignerPanel
getAddressComponent in class MultiSequenceAlignerPanel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||