public class ViewLayoutInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
total_tracks |
protected int |
track_height |
protected java.util.ArrayList<TrackDrawInfo> |
tracks_info |
Constructor and Description |
---|
ViewLayoutInfo() |
Modifier and Type | Method and Description |
---|---|
protected void |
clear(int track_height) |
int |
getDeltaAcrossTracks() |
protected int |
getDesiredTrackHeight(VariableResolutionDataSet slot,
int track_index,
int track_height,
boolean isDetails) |
int |
getNumCurrentlyVisibleTracks() |
double |
getNumTracksFractional() |
java.awt.Rectangle |
getRectangle(int track_index) |
int |
getTotalHeight() |
int |
getTrackHeight(int track_idx) |
java.util.ArrayList<TrackDrawInfo> |
getTracks() |
protected int |
init(java.util.Vector<VariableResolutionDataSet> slots,
int track_height) |
protected int |
init(java.util.Vector<VariableResolutionDataSet> slots,
java.awt.Rectangle bottomMarkerBounds,
int track_height,
boolean isDetails) |
int |
trackIndexToYBaseline(int track_index) |
int |
trackIndexToYCenter(int track_index) |
int |
trackIndexToYTop(int track_index) |
int |
yCoordToSlotIndex(int y)
returns slot index from y coordinate
|
int |
yCoordToTrackIndex(int y)
returns non-absolute track index from Y coord...
|
protected java.util.ArrayList<TrackDrawInfo> tracks_info
protected double total_tracks
protected int track_height
public int getNumCurrentlyVisibleTracks()
public java.util.ArrayList<TrackDrawInfo> getTracks()
public java.awt.Rectangle getRectangle(int track_index)
track_index
- public int getTrackHeight(int track_idx)
public int getTotalHeight()
public int getDeltaAcrossTracks()
public double getNumTracksFractional()
public int trackIndexToYBaseline(int track_index)
public int trackIndexToYTop(int track_index)
public int trackIndexToYCenter(int track_index)
public int yCoordToSlotIndex(int y)
y
- public int yCoordToTrackIndex(int y)
y
- protected void clear(int track_height)
protected int init(java.util.Vector<VariableResolutionDataSet> slots, int track_height)
protected int init(java.util.Vector<VariableResolutionDataSet> slots, java.awt.Rectangle bottomMarkerBounds, int track_height, boolean isDetails)
protected int getDesiredTrackHeight(VariableResolutionDataSet slot, int track_index, int track_height, boolean isDetails)
slot
- track_index
- track_height
- Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.