public class GenomicViewCircular extends GenomicViewEvents
GenomicViewEvents.GenomicViewKeyListener, GenomicViewEvents.GenomicViewMouseListener, GenomicViewEvents.GenomicViewMouseMotionListener
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected VioletApp |
main_app |
end_last_lower_label_x, end_last_upper_label_x
active, bCircular, bDetails, beginPoint, bHorizontal, bInspection, bottomMarkerBounds, bottomPileUpBounds, bottomReferenceBounds, contigLength, currentViewContig, default_border_width, default_feature_size, default_height_top_axis, default_ideogram_height, default_ideogram_label_width, default_ideogram_width, default_left_info_width, default_tracks_width, default_view_height, default_view_width, default_y_bottom_ideogram, default_y_top_ideogram, dim_ideogramview, endPoint, ideogramBounds, ideogramLabelBounds, int_visible_range, isDragging, layout_info, leftLegendBounds, leftMarkerBounds, leftVisible, marker_state, markers, maxWidth, minViewGenomicRange, minWidth, paintBuffer, paintBufferValid, rangeSelection, rightLegendBounds, rightMarkerBounds, rightVisible, scaleX, scaleY, selected_gene, selectedMarker, selectedSlotIndex, selectedTrackIndex, selectionChangedListeners, showGenes, showLabels, showMarkerLabels, showMarkers, viewHistory
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
GenomicViewCircular(VioletApp mainApp) |
Modifier and Type | Method and Description |
---|---|
void |
drawCircularViewToGraphicsContext(java.awt.Graphics2D g) |
void |
drawCircularViewToPaintBuffer(java.awt.Graphics2D graphics) |
protected void |
drawGenomicViewDoubleBuffered(java.awt.Graphics g)
Main draw function for class
|
protected void |
drawTest(java.awt.Graphics2D g) |
static double |
fastcosine(double x)
~2x performances of built-in library with ~1-2% error
|
static double |
fastsine(double x)
~2x performances of built-in library with ~1-2% error
|
void |
invalidatePaintBuffer()
Call this function if the view changes.
|
static void |
main(java.lang.String[] args) |
static void |
main22(java.lang.String[] args) |
static double |
xsin(double x) |
addGenomicRangeToDetailsViewDataRequestsQueue, addSelectionChangedListener, beginSelection, center, changeDNAFontSize, changeIPDConsensusHeight, changeTrackSize, clearSelections, createToolTip, endSelection, findVariantByPositionAndYCoordinate, fireSelectionChanged, getActiveViewForKeyEvents, getDetailsDataStorage, getScaledHeight, getScaledWidth, getSelectedGene, getSelectedMarker, getSelectedSlotIndex, getSelectionInfo, getShowLabels, getShowMarkerLabels, getShowMarkers, getToolTipText, getZoom, getZoom, hasViewHistoryItems, initTransientState, isSelection, popView, pushView, resetVisibleGenomicRange, scroll, scrollVisibleGenomicRangeToTopOrBottom, selectNextPreviousContig, selectNextPreviousGeneContig, selectNextPreviousMarker, selectPoint, setActive, setRangeSelection, setSelectedGeneAndTrack, setSelectedMarkerAndSlot, setShowGenes, setShowLabels, setShowMarkerLabels, setShowMarkers, setViewWithOrWithoutUpdate, setVisibleGenomicRange, setVisibleGenomicRegion, setWidth, toggleMarker, zoomVisibleGenomicRange
autofitLabelWidth, BaseRangeToXExtent, BaseToXCoord, BaseToYCoord, drawAxisHeaderlabel, drawBackgroundSelections, drawEpiProIdeogram, drawForegroundSelections, drawGene, drawGenes, drawGenomicViewToGraphicsContext, drawGenomicViewToPaintBuffer, drawHeaderFooter, drawHorizontalTracksHeader, drawIdeogram, drawInfoLabel, drawInfoLabelJustified, drawLabelWithOffsetAndWidth, drawMarker, drawMarkerInterval, drawMarkers, drawMinMaxLabel, drawModification, drawModificationInterval, drawRangeSelection, drawRotatedLabel, drawSummary, drawSummaryInterval, drawSummaryRegion, drawTrackMetricLabel, drawVariant, drawVariantInterval, getContigLength, getContigMaxRange, getDim, getExtraRefTrackDistance, getGenesBounds, getIdeogramBounds, getLabelBounds, getLegendBounds, getMarkersBounds, getMaxMagnification, getMinMagnification, getNumLeft, getNumRight, getPanelTitle, getPileupBounds, getRangeSelection, getReferenceBounds, getSelectedRangeColor, getVisibleGenomicRange, isCircular, isDetails, isHorizontal, isInspection, paintActiveBorder, paintComponent, paintLegendBackground, prepareDrawVariant, print, scaleX, scaleY, setMagnificationScaleFactor, showDataLabels, trackIndexToXCoord, trackToYCoord, updateLayout, updateSize, XCoordToBase, xCoordToTrackIndex, YCoordToBase, yCoordToMarkerCollectionIndex, yCoordToMarkerCollectionIndexNew, yCoordToMarkerCollectionIndexOrg, yCoordToTrackIndex
addTrackDataToViewAndUpdateLayout, clearMarkers, getContigLabel, getGenesOfCurrentContig, getIdeogramTreeOfCurrentContig, getMarkerCollection, getMarkers, getNumMarkerCollections, getSlotColor, getSlotMaxCoverage, getSlotMaxVariants, getSlots, markerToSampleIndex, sampleToMarkerIndex, sampleToMarkerIndex, setViewContig, setViewDataForCurrentContig, updateVisibility
getAbsMaxGenomicRange, getBorderWidth, getDataStorage, getGeneDB, getIdeogramDB, getMainWindow, getMaxGenomicRange, getMinGenomicRange, getReferenceInfo, getViewContig, getViewContigName, getVioletApp, initializeViewBase, isActive, isDNABaseShown, isIdeogramDBLoaded
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, 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, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, 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, updateUI
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, transferFocusDownCycle, validate, validateTree
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, transferFocusBackward, transferFocusUpCycle
protected VioletApp main_app
public GenomicViewCircular(VioletApp mainApp)
public void drawCircularViewToGraphicsContext(java.awt.Graphics2D g)
protected void drawTest(java.awt.Graphics2D g)
public void invalidatePaintBuffer()
invalidatePaintBuffer
in class GenomicViewDraw
protected void drawGenomicViewDoubleBuffered(java.awt.Graphics g)
drawGenomicViewDoubleBuffered
in class GenomicViewDraw
graphics
- public void drawCircularViewToPaintBuffer(java.awt.Graphics2D graphics)
public static double xsin(double x)
public static double fastsine(double x)
x
- public static double fastcosine(double x)
x
- public static void main(java.lang.String[] args)
public static void main22(java.lang.String[] args)
args
- Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.