|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.util.HitColoringAndAlignmentOptions
public class HitColoringAndAlignmentOptions
Class for specifying coloring and alignment options.
| Field Summary | |
|---|---|
static int |
ALIGNMENT_OFF
The structure is displayed with the original coordinates. |
static int |
ALIGNMENT_PARTIAL_CLEAN
The substructure part of the target will get the exact coordinates of the query, and new coordinates will be generated for the remainder of the structure. |
static int |
ALIGNMENT_ROTATE
The structure is rotated according to the substructure. |
int |
alignmentMode
Specifies what form of alignment to use for hit display. |
boolean |
coloring
Specifies if substructure hit coloring should be used. |
static int |
DISSIMILARITY
The dissimilarity score is shown and stored in the MPropertyContainer of the Molecule. |
boolean |
enumerateMarkush
Deprecated. use markushDisplayMode |
java.awt.Color |
hitColor
Determines the color of the substructure hit. |
java.awt.Color |
hitHomologyColor
Determines the color of the user defined homologies in a substructure hit. |
static int |
MARKUSH_REDUCTION
Constant value specifying, that in case of markush searching the markush structure is expanded according to the query structure. |
static int |
MARKUSH_REDUCTION_HGEXPANSION
Constant value specifying, that in case of markush searching the markush structure is expanded according to the query structure and homology groups are also replaced by the query structure matching on them. |
int |
markushDisplayMode
Specifies the display of markush hits. |
java.awt.Color |
nonHitColor
Determines the color of the target which is not part of the substructure. |
java.awt.Color |
nonHitColor3D
Determines the color of the 3D target which is not part of the substructure. |
static int |
ORIGINAL_MARKUSH
Constant value specifying, that in case of markush searching hit is displayed on the markush structure. |
static java.lang.String |
QUERY_LABEL
Label for the query part of a similarity hit. |
static int |
SIMILARITY
The similarity score is shown and stored in the MPropertyContainer of the Molecule. |
static java.lang.String |
SIMILARITY_LABEL
Label for the similarity score part of the hit. |
static int |
SIMILARITY_OFF
The similarity score is neither shown nor stored in the MPropertyContainer of the Molecule. |
int |
similarityScoreDisplay
Mode of similarity score display. |
static java.lang.String |
TARGET_LABEL
Label for the target part of the similarity hit. |
| Constructor Summary | |
|---|---|
HitColoringAndAlignmentOptions()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Makes an identical copy of the Options |
java.awt.Color |
getHitHomologyColor()
Get the color used for highlighting user defined homologies in a substructure hit |
boolean |
isDisplayLabelsAndBoxes()
Gets whether bounding boxes and labels are to be displayed for the components of the search. |
boolean |
isQueryDisplay()
Gets whether the query should be displayed in the upper left corner along with the hit. |
boolean |
isRemoveUnusedDefitions()
Gets whether unused definitions should be removed or not. |
void |
setDisplayLabelsAndBoxes(boolean value)
Set the option to show labels and bounding boxes for the parts of the result: target, query, score. |
void |
setHitHomologyColor(java.awt.Color hitHomologyColor)
Set the color of user defined homologies in a substructure hit |
static void |
setOptions(HitColoringAndAlignmentOptions hcaaOptions,
java.lang.String hitColorAndAlignOptionList)
Parses the option list given while updating a HitColoringAndAlignmentOptions object. |
void |
setQueryDisplay(boolean value)
Set query display option |
void |
setRemoveUnusedDefinitions(boolean value)
Sets the remove unused definitions option. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ALIGNMENT_OFF
public static final int ALIGNMENT_ROTATE
public static final int ALIGNMENT_PARTIAL_CLEAN
public static final int ORIGINAL_MARKUSH
public static final int MARKUSH_REDUCTION
public static final int MARKUSH_REDUCTION_HGEXPANSION
public boolean coloring
public boolean enumerateMarkush
markushDisplayMode
public int markushDisplayMode
ORIGINAL_MARKUSH,
MARKUSH_REDUCTION,
MARKUSH_REDUCTION_HGEXPANSIONpublic int alignmentMode
public java.awt.Color hitColor
Color.blue
public java.awt.Color hitHomologyColor
Color.green
public java.awt.Color nonHitColor
Color.black
nonHitColor3Dpublic java.awt.Color nonHitColor3D
Color.gray
nonHitColorpublic static final int SIMILARITY_OFF
similarityScoreDisplay,
Constant Field Valuespublic static final int DISSIMILARITY
similarityScoreDisplay,
Constant Field Valuespublic static final int SIMILARITY
similarityScoreDisplay,
Constant Field Valuespublic int similarityScoreDisplay
SIMILARITY (default)DISSIMILARITYSIMILARITY_OFF
public static final java.lang.String QUERY_LABEL
public static final java.lang.String TARGET_LABEL
public static final java.lang.String SIMILARITY_LABEL
| Constructor Detail |
|---|
public HitColoringAndAlignmentOptions()
| Method Detail |
|---|
public boolean isQueryDisplay()
public void setQueryDisplay(boolean value)
value - true if query is to be displayed
false if not.
See:
public boolean isRemoveUnusedDefitions()
true
true if definitions are to be removed
false if not.setRemoveUnusedDefinitions(boolean)public void setRemoveUnusedDefinitions(boolean value)
true
value - true if definitions are to be removed
false if not.isRemoveUnusedDefitions()public boolean isDisplayLabelsAndBoxes()
public void setHitHomologyColor(java.awt.Color hitHomologyColor)
hitHomologyColor - color used for highlighting homolgies in a hitpublic java.awt.Color getHitHomologyColor()
public void setDisplayLabelsAndBoxes(boolean value)
value - true if labels and boxes to be displayed false otherwise.
public static void setOptions(HitColoringAndAlignmentOptions hcaaOptions,
java.lang.String hitColorAndAlignOptionList)
throws java.lang.Exception
hcaaOptions - HitColoringAndAlignmentOptions to be updated
based on option list providedhitColorAndAlignOptionList - options list to be parsed
java.lang.Exceptionpublic java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||