public class BaseDataModel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BaseDataModel.eDataType |
Modifier and Type | Field and Description |
---|---|
protected ChangeNotifier |
changeNotifier |
protected BaseDataModel.eDataType |
data_type |
protected MarkerCollection[] |
mc |
Constructor and Description |
---|
BaseDataModel(BaseDataModel.eDataType data_type,
int num_chromosomes) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
protected void |
fireChangeEvent() |
BaseDataModel.eDataType |
getDataType() |
static java.lang.String |
getDataTypeAsString(BaseDataModel.eDataType data)
static method
|
MarkerCollection |
getMarkersForContig(int contig) |
int |
getNumContigs() |
boolean |
hasData() |
boolean |
isMarkerType()
returns true if this is marker type
|
boolean |
isModificationsType()
returns true if this is base mods data type
|
boolean |
isReadsType()
returns true if this is reads type or unmapped read type
|
boolean |
isSummaryType()
returns true if this is summary type
|
boolean |
isVariantsType()
returns true if this is variants or vcf data type
|
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
setTypeAndNumContigs(BaseDataModel.eDataType data_type,
int num_contigs) |
protected BaseDataModel.eDataType data_type
protected MarkerCollection[] mc
protected ChangeNotifier changeNotifier
public BaseDataModel(BaseDataModel.eDataType data_type, int num_chromosomes)
public void setTypeAndNumContigs(BaseDataModel.eDataType data_type, int num_contigs)
public void addChangeListener(javax.swing.event.ChangeListener listener)
public void removeChangeListener(javax.swing.event.ChangeListener listener)
protected void fireChangeEvent()
public int getNumContigs()
public boolean hasData()
public MarkerCollection getMarkersForContig(int contig)
public BaseDataModel.eDataType getDataType()
public boolean isReadsType()
data
- public boolean isVariantsType()
data
- public boolean isModificationsType()
data
- public boolean isSummaryType()
data
- public boolean isMarkerType()
data
- public static java.lang.String getDataTypeAsString(BaseDataModel.eDataType data)
data
- Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.