'STRAP:multiple sequence alignments '

charite.christo.strap
Class ProteinList

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JList
                  extended by charite.christo.ChJList
                      extended by charite.christo.strap.ProteinList
All Implemented Interfaces:
HasModiCount, IsEnabled, ProcessEv, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.Scrollable

public class ProteinList
extends ChJList

A JList to select proteins.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JList
javax.swing.JList.DropLocation
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.BaselineResizeBehavior
 
Field Summary
static long ACTGN
           
static long CALPHA
           
static long CHAINS
           
static long EC
           
static long HETERO3D
           
static long IN_3D
           
static long IN_ALI
           
static long INFERRED_3D
           
static long NO_3D_FILE
           
static long NO_CALPHA
           
static long NO_PDB_ID
           
static long NONE
           
static long NOT_ACTGN
           
static long NOT_IN_ALI
           
static long NT
           
static long NT_or_ACTGN
           
static long NUC3D
           
static long PDB_ID
           
static long RES_ANNO
           
static long RES_SEL
           
static long SECSTRU
           
static long SEQ_FEATURE
           
static long SOLVENT
           
 
Fields inherited from class charite.christo.ChJList
KEY_ENABLE_IF_SELECTED, KEY_NO_HELP_ON_RIGHT_CLICK, KEY_UPDATE_ENABLED, OPTIONS_FILES, SEL_STRSTR, SEL_STRSTR_IC
 
Fields inherited from class javax.swing.JList
HORIZONTAL_WRAP, VERTICAL, VERTICAL_WRAP
 
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
ProteinList(long filter)
           
 
Method Summary
 java.awt.Dimension getPreferredSize()
           
 boolean getScrollableTracksViewportWidth()
           
 Protein[] getSelectedOrAllProteins()
           
 Protein[] getSelectedProteins()
           
 Protein[] getSelectedProteinsAtLeast(int atLeast)
           
 boolean isEnabled(java.lang.Object o)
           
static boolean isEnabled(Protein[] pp, long flags)
           
static boolean isEnabled(Protein p, long flags)
           
static Protein[] onlyProteins(long flags, Protein[] pp)
           
 void paint(java.awt.Graphics g)
           
 void paintComponent(java.awt.Graphics g)
           
 javax.swing.JComponent scrollPane()
           
 ProteinList selectAll(long filter)
           
 void setFilter(long filter)
           
 
Methods inherited from class charite.christo.ChJList
addOptions, getDndDateien, getList, getOptions, getOptions, getToolTipText, li, modificationCount, processEv, processEvent, scrollToSelected, setData, setSelI, setSelII, setSelO, setSelOO, showInFrame, thread_setSelO, toString
 
Methods inherited from class javax.swing.JList
addListSelectionListener, addSelectionInterval, clearSelection, ensureIndexIsVisible, getAccessibleContext, getAnchorSelectionIndex, getCellBounds, getCellRenderer, getDragEnabled, getDropLocation, getDropMode, getFirstVisibleIndex, getFixedCellHeight, getFixedCellWidth, getLastVisibleIndex, getLayoutOrientation, getLeadSelectionIndex, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getModel, getNextMatch, getPreferredScrollableViewportSize, getPrototypeCellValue, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableUnitIncrement, getSelectedIndex, getSelectedIndices, getSelectedValue, getSelectedValues, getSelectionBackground, getSelectionForeground, getSelectionMode, getSelectionModel, getUI, getUIClassID, getValueIsAdjusting, getVisibleRowCount, indexToLocation, isSelectedIndex, isSelectionEmpty, locationToIndex, removeListSelectionListener, removeSelectionInterval, setCellRenderer, setDragEnabled, setDropMode, setFixedCellHeight, setFixedCellWidth, setLayoutOrientation, setListData, setListData, setModel, setPrototypeCellValue, setSelectedIndex, setSelectedIndices, setSelectedValue, setSelectionBackground, setSelectionForeground, setSelectionInterval, setSelectionMode, setSelectionModel, setUI, setValueIsAdjusting, setVisibleRowCount, 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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, 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, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NT

public static final long NT
See Also:
Constant Field Values

CALPHA

public static final long CALPHA
See Also:
Constant Field Values

PDB_ID

public static final long PDB_ID
See Also:
Constant Field Values

EC

public static final long EC
See Also:
Constant Field Values

IN_ALI

public static final long IN_ALI
See Also:
Constant Field Values

NOT_IN_ALI

public static final long NOT_IN_ALI
See Also:
Constant Field Values

ACTGN

public static final long ACTGN
See Also:
Constant Field Values

NT_or_ACTGN

public static final long NT_or_ACTGN
See Also:
Constant Field Values

NOT_ACTGN

public static final long NOT_ACTGN
See Also:
Constant Field Values

NO_CALPHA

public static final long NO_CALPHA
See Also:
Constant Field Values

IN_3D

public static final long IN_3D
See Also:
Constant Field Values

CHAINS

public static final long CHAINS
See Also:
Constant Field Values

SECSTRU

public static final long SECSTRU
See Also:
Constant Field Values

SOLVENT

public static final long SOLVENT
See Also:
Constant Field Values

RES_ANNO

public static final long RES_ANNO
See Also:
Constant Field Values

RES_SEL

public static final long RES_SEL
See Also:
Constant Field Values

SEQ_FEATURE

public static final long SEQ_FEATURE
See Also:
Constant Field Values

NONE

public static final long NONE
See Also:
Constant Field Values

HETERO3D

public static final long HETERO3D
See Also:
Constant Field Values

NUC3D

public static final long NUC3D
See Also:
Constant Field Values

INFERRED_3D

public static final long INFERRED_3D
See Also:
Constant Field Values

NO_3D_FILE

public static final long NO_3D_FILE
See Also:
Constant Field Values

NO_PDB_ID

public static final long NO_PDB_ID
See Also:
Constant Field Values
Constructor Detail

ProteinList

public ProteinList(long filter)
Method Detail

setFilter

public void setFilter(long filter)

paintComponent

public void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class ChJList

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class ChJList

getSelectedProteins

public final Protein[] getSelectedProteins()

getSelectedOrAllProteins

public final Protein[] getSelectedOrAllProteins()

getSelectedProteinsAtLeast

public final Protein[] getSelectedProteinsAtLeast(int atLeast)

selectAll

public ProteinList selectAll(long filter)

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class ChJList

scrollPane

public javax.swing.JComponent scrollPane()

getScrollableTracksViewportWidth

public boolean getScrollableTracksViewportWidth()
Specified by:
getScrollableTracksViewportWidth in interface javax.swing.Scrollable
Overrides:
getScrollableTracksViewportWidth in class javax.swing.JList

isEnabled

public boolean isEnabled(java.lang.Object o)
Specified by:
isEnabled in interface IsEnabled
Overrides:
isEnabled in class ChJList

isEnabled

public static boolean isEnabled(Protein[] pp,
                                long flags)

isEnabled

public static boolean isEnabled(Protein p,
                                long flags)

onlyProteins

public static Protein[] onlyProteins(long flags,
                                     Protein[] pp)

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'