|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--edu.mssm.crover.domain2d.PrintablePanel
|
+--edu.mssm.crover.domain2d.TwoEndsDomain
|
+--edu.mssm.crover.domain2d.TwoEndsDraggableDomain
|
+--edu.mssm.crover.domain2d.HelicalDomain
A helix secondary structure representation.
HelixModel,
Serialized Form| Field Summary | |
boolean |
hideFirst
|
boolean |
hideLast
|
static int |
LEFT_HANDED
|
static int |
RIGHT_HANDED
|
| Fields inherited from class edu.mssm.crover.domain2d.TwoEndsDomain |
delta_end, delta_start, end, first, last, position, quickDraw, rgf, rgra, rmf, solver, start |
| Fields inherited from class edu.mssm.crover.domain2d.PrintablePanel |
SVG_ANCHOR_HREF_PROPERTY |
| 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 | |
HelicalDomain()
|
|
HelicalDomain(ResidueModelFactory rmf,
ResidueGlyphFactory rgf,
ResidueGlyphRenderingAttributes rgra)
|
|
| Method Summary | |
java.awt.Point |
centerOf(java.awt.Component comp)
|
java.awt.Image |
getBackgroundImage()
|
java.awt.geom.Point2D |
getDirection()
gets the direction of the drawing of this loop. |
void |
hideFirst(boolean hs)
Loop spacer adustements require that the last residue of the last domain and the first residue of the next domain not to be displayed/controlled by the other domains. |
void |
hideLast(boolean hs)
see hideFirst. |
boolean |
isOptimizedDrawingEnabled()
|
void |
layoutResidues()
Layout the residues in the domain. |
void |
paintComponent(java.awt.Graphics g)
|
void |
setDirection(java.awt.geom.Point2D direction)
Domaind2D interface method to change the model direction. |
void |
setDragging(boolean state)
Enable/disable the dragging of a domain. |
void |
setHelixModel(HelixModel hm)
|
void |
setRange(BiologicalSequence seq,
int start,
int end)
Instructs the domain to render the part of sequence seq made of the residues between start and end, extremities included. |
void |
setSpacer(java.awt.geom.Point2D spacer)
This method has no effect on this implementation. |
| Methods inherited from class edu.mssm.crover.domain2d.TwoEndsDraggableDomain |
dispose, setDBSDebug, setListener |
| Methods inherited from class edu.mssm.crover.domain2d.TwoEndsDomain |
calculateDeltas, connectEnd, connectPosition, connectStart, finalize, firstResiduePos, getComp, getComponent, getId, getLocation, getSurface, getX, getY, lastResiduePos, paintBrushing, paintSelection, position, setId, setLocation, setLocation, suggestLocation, suggestLocation, syncLocation, update, useResidueModelFactory |
| Methods inherited from class edu.mssm.crover.domain2d.PrintablePanel |
coolPrint, recurseSVGPrint, svgPrint |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.mssm.crover.domain2d.Drawing |
getParent |
| Field Detail |
public static final int LEFT_HANDED
public static final int RIGHT_HANDED
public boolean hideFirst
public boolean hideLast
| Constructor Detail |
public HelicalDomain()
public HelicalDomain(ResidueModelFactory rmf,
ResidueGlyphFactory rgf,
ResidueGlyphRenderingAttributes rgra)
| Method Detail |
public void setDragging(boolean state)
Domain2D
domain2d.DBSModelpublic java.awt.geom.Point2D getDirection()
public void paintComponent(java.awt.Graphics g)
paintComponent in class javax.swing.JComponentpublic java.awt.Point centerOf(java.awt.Component comp)
public java.awt.Image getBackgroundImage()
public boolean isOptimizedDrawingEnabled()
isOptimizedDrawingEnabled in class TwoEndsDomainpublic void setHelixModel(HelixModel hm)
public void setRange(BiologicalSequence seq,
int start,
int end)
throws InvalidRange
Domain2D
InvalidRangepublic void hideFirst(boolean hs)
Domain2D
hideFirst in interface Domain2DhideFirst in class TwoEndsDomainpublic void hideLast(boolean hs)
Domain2D
hideLast in interface Domain2DhideLast in class TwoEndsDomainpublic void setSpacer(java.awt.geom.Point2D spacer)
public void setDirection(java.awt.geom.Point2D direction)
public void layoutResidues()
Domain2D
Domain2D.firstResiduePos(),
Domain2D.lastResiduePos()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||