|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.orsay.lri.varna.models.rna.ModeleBase
fr.orsay.lri.varna.models.rna.ModeleBaseNucleotide
public class ModeleBaseNucleotide
The rna base model with the first character of the nitrogenous base and it display
| Nested Class Summary | |
|---|---|
private static class |
ModeleBaseNucleotide.STATE_SPECIAL_CHARS_STATES
|
| Field Summary | |
|---|---|
private String |
_c
|
private static HashMap<String,Character> |
_commands
|
private int |
_index
|
private static HashMap<Character,Character> |
_subscripts
|
private static HashMap<Character,Character> |
_superscripts
|
private static long |
serialVersionUID
|
| Fields inherited from class fr.orsay.lri.varna.models.rna.ModeleBase |
|---|
_center, _colorie, _coords, _elementStructure, _realIndex, _styleBase, _value |
| Constructor Summary | |
|---|---|
ModeleBaseNucleotide(int index)
Creates a new rna base with the default display style and a space as nitrogenous base |
|
ModeleBaseNucleotide(ModeleBaseNucleotide mb,
int index)
Creates a new rna base from another one with the same attributes |
|
ModeleBaseNucleotide(ModeleStyleBase msb,
int index,
int baseNumber)
Creates a new rna base with a display style |
|
ModeleBaseNucleotide(Point2D.Double coord,
int index)
Creates a new rna base with a space as the nitrogenous base and the display style |
|
ModeleBaseNucleotide(Point2D.Double coords,
Point2D.Double center,
boolean colorie,
String label,
ModeleStyleBase mb,
int elementStruct,
int index)
|
|
ModeleBaseNucleotide(String s,
int index)
Creates a new rna base with the nitrogenous base |
|
ModeleBaseNucleotide(String s,
int index,
int baseNumber)
Creates a new rna base with the nitrogenous base |
|
ModeleBaseNucleotide(String s,
ModeleStyleBase msb,
int index)
Creates a new rna base with the nitrogenous base and the display style |
|
| Method Summary | |
|---|---|
private static String |
decode(String s)
|
String |
get_c()
|
Boolean |
getColorie()
Gets this InterfaceBase color statement. |
String |
getContent()
|
int |
getElementStructure()
Gets this InterfaceBase associated structure element. |
int |
getIndex()
The internal index for this Base |
ModeleStyleBase |
getStyleBase()
Gets this InterfaceBase style. |
void |
set_c(String _s)
|
void |
setColorie(Boolean _colorie)
Sets this InterfaceBase color statement. |
String |
toString()
|
| Methods inherited from class fr.orsay.lri.varna.models.rna.ModeleBase |
|---|
compareTo, getBaseNumber, getCenter, getChecker, getCoords, getIntervDroite, getIntervGauche, getNumStrand, getStyleBP, getValue, removeElementStructure, setBaseNumber, setCenter, setChecker, setCoords, setElementStructure, setIntervDroite, setIntervGauche, setNumStrand, setStyleBase, setStyleBP, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private String _c
private int _index
private static HashMap<Character,Character> _subscripts
private static HashMap<Character,Character> _superscripts
private static HashMap<String,Character> _commands
| Constructor Detail |
|---|
public ModeleBaseNucleotide(int index)
index - The index of this base
public ModeleBaseNucleotide(String s,
int index)
s - The code of this baseindex - The index of this base
public ModeleBaseNucleotide(String s,
int index,
int baseNumber)
s - The full label, potentially requiring further decodingindex - The index of this basebaseNumber - The number of this base, which may differ from the index (e.g. discontinuous numbering)
public ModeleBaseNucleotide(String s,
ModeleStyleBase msb,
int index)
s - The full label, potentially requiring further decodingmsb - The display styleindex - The index of this base
public ModeleBaseNucleotide(ModeleStyleBase msb,
int index,
int baseNumber)
msb - The display style
public ModeleBaseNucleotide(Point2D.Double coord,
int index)
coord - index -
public ModeleBaseNucleotide(ModeleBaseNucleotide mb,
int index)
mb - The base to copy
public ModeleBaseNucleotide(Point2D.Double coords,
Point2D.Double center,
boolean colorie,
String label,
ModeleStyleBase mb,
int elementStruct,
int index)
| Method Detail |
|---|
public ModeleStyleBase getStyleBase()
ModeleBase
getStyleBase in class ModeleBasepublic String get_c()
public void set_c(String _s)
public Boolean getColorie()
ModeleBase
getColorie in class ModeleBasepublic void setColorie(Boolean _colorie)
ModeleBase
setColorie in class ModeleBase_colorie - - TRUE if you want this InterfaceBase to be colored, else
FALSEpublic int getElementStructure()
ModeleBase
getElementStructure in class ModeleBasepublic String getContent()
getContent in class ModeleBasepublic int getIndex()
ModeleBase
getIndex in class ModeleBasepublic String toString()
toString in class Objectprivate static String decode(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||