|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.ResidueSelectionManager
public class ResidueSelectionManager
Constructor Summary | |
---|---|
ResidueSelectionManager()
|
Method Summary | |
---|---|
static void |
addResidueByPosition(int position)
|
static void |
addToCurrentSelection(FuncResidueImpl newSelection)
Adds an element to the current selection. |
static FuncResidueImpl |
contains(FuncResidueImpl funcResidue)
|
static boolean |
contains(int position)
|
static boolean |
contains(int position,
char aa)
|
static void |
emptyCurrentSelection()
Clear the current selection |
static java.util.Vector<FuncResidueImpl> |
getCurrentSelection()
|
static S3DetObject |
getS3detobj()
|
static SequencePainter |
getSeqPainter()
|
static boolean |
isEmpty()
Checks if the selection is empty |
static void |
setCurrentSelection(java.util.Vector<FuncResidueImpl> currentSelection)
|
static void |
setS3detobj(S3DetObject s3detobj)
|
static void |
setSeqPainter(SequencePainter seqPainter)
|
static void |
toggleSelection(FuncResidueImpl newSelection)
Adds an element to the current selection. |
static void |
updateSeqPainter()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResidueSelectionManager()
Method Detail |
---|
public static java.util.Vector<FuncResidueImpl> getCurrentSelection()
public static void emptyCurrentSelection()
public static void setCurrentSelection(java.util.Vector<FuncResidueImpl> currentSelection)
currentSelection
- the currentSelection to setpublic static void addToCurrentSelection(FuncResidueImpl newSelection)
Integer
- newSelectionpublic static void toggleSelection(FuncResidueImpl newSelection)
Integer
- newSelectionpublic static S3DetObject getS3detobj()
public static void setS3detobj(S3DetObject s3detobj)
s3detobj
- the s3detobj to setpublic static void addResidueByPosition(int position)
position
- the position of the sequencein s3detobjpublic static SequencePainter getSeqPainter()
public static void setSeqPainter(SequencePainter seqPainter)
seqPainter
- the seqPainter to setpublic static void updateSeqPainter()
seqPainter
- the seqPainter to setpublic static FuncResidueImpl contains(FuncResidueImpl funcResidue)
funcResidue
- funcResidue to findpublic static boolean contains(int position, char aa)
position
- position of the aminoacid to findaa
- aminoacid symbol to findpublic static boolean contains(int position)
position
- position of the aminoacid to findpublic static boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |