Version: 1.1.1

org.inb.biomoby.client.gui.auxiliary
Class LabeledAnnotationListPane<T extends Annotation,K extends AbstractAnnotationListPane.AnnotationListListener>

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by org.inb.biomoby.client.gui.auxiliary.DynamicMobyPanel<T>
                      extended by org.inb.biomoby.client.gui.auxiliary.AbstractTransformableMobyPanel<K>
                          extended by org.inb.biomoby.client.gui.auxiliary.AbstractAnnotationListPane<T,K>
                              extended by org.inb.biomoby.client.gui.auxiliary.LabeledAnnotationListPane<T,K>
All Implemented Interfaces:
MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Serializable, Comparator<T>, EventListener, Accessible, IDynamicComponent<K>, ITransformable
Direct Known Subclasses:
AntigenicAnnotationListPane, EquicktandemAnnotationListPane, FamilyBLOCKAnnotationPane, FeatureAnnotationListPane, MolWeightAnnotationListPane, MotifAnnotationListPane, RestrictAnnotationListPane, SigcleaveAnnotationListPane, StructureBoundariesListPane, TransmembraneAnnotationListPane

public abstract class LabeledAnnotationListPane<T extends Annotation,K extends AbstractAnnotationListPane.AnnotationListListener>
extends AbstractAnnotationListPane<T,K>

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.inb.biomoby.client.gui.auxiliary.AbstractAnnotationListPane
AbstractAnnotationListPane.AnnotationListListener
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Component
Component.BaselineResizeBehavior
 
Nested classes/interfaces inherited from interface org.inb.biomoby.client.gui.IDynamicComponent
IDynamicComponent.MobyComponentListener
 
Field Summary
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, 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
LabeledAnnotationListPane(boolean isInteractive)
           
LabeledAnnotationListPane(List<T> annotations, boolean isInteractive)
           
 
Method Summary
 void addAnnotation2Tooltip(StringBuilder sb, T annotation)
           
abstract  String getLabel(T annotation)
           
 String getTooltip(List<T> annotations)
           
 void mouseMovedOverAnnotations(MouseEvent e, List<T> annotations)
           
 void paintAnnotations(Graphics2D g2d, Rectangle rec, List<T> a)
           
 
Methods inherited from class org.inb.biomoby.client.gui.auxiliary.AbstractAnnotationListPane
areAnnotationsOverlapped, compare, getPreferredSize, mouseClicked, mouseClickedOverAnnotations, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintComponent, setAnnotationList
 
Methods inherited from class org.inb.biomoby.client.gui.auxiliary.AbstractTransformableMobyPanel
getTransformer, setTransformer
 
Methods inherited from class org.inb.biomoby.client.gui.auxiliary.DynamicMobyPanel
addListener, getListeners, removeListener
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, 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, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

LabeledAnnotationListPane

public LabeledAnnotationListPane(boolean isInteractive)

LabeledAnnotationListPane

public LabeledAnnotationListPane(List<T> annotations,
                                 boolean isInteractive)
Method Detail

getLabel

public abstract String getLabel(T annotation)

getTooltip

public String getTooltip(List<T> annotations)

addAnnotation2Tooltip

public void addAnnotation2Tooltip(StringBuilder sb,
                                  T annotation)

mouseMovedOverAnnotations

public void mouseMovedOverAnnotations(MouseEvent e,
                                      List<T> annotations)
Overrides:
mouseMovedOverAnnotations in class AbstractAnnotationListPane<T extends Annotation,K extends AbstractAnnotationListPane.AnnotationListListener>

paintAnnotations

public void paintAnnotations(Graphics2D g2d,
                             Rectangle rec,
                             List<T> a)
Overrides:
paintAnnotations in class AbstractAnnotationListPane<T extends Annotation,K extends AbstractAnnotationListPane.AnnotationListListener>

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010