public static class MTBRSMLProjectInfo.MTBRSMLStatusLabel extends Object implements Comparable<MTBRSMLProjectInfo.MTBRSMLStatusLabel>
| Modifier and Type | Field and Description |
|---|---|
private String |
abbrev
Abbreviation.
|
private int |
alpha
Transparency level of color.
|
private Color |
color
Color used when visualizing status in graphical environments.
|
static Color |
DEFAULT_STATUS_COLOR
Default status color.
|
private String |
name
Name of the status label.
|
private int |
numericalIdentifier
Numerical identifier.
|
| Constructor and Description |
|---|
MTBRSMLStatusLabel(String name,
String abbrev,
int nID,
Color color)
Constructor.
|
MTBRSMLStatusLabel(String name,
String abbrev,
int nID,
Color color,
int alpha)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MTBRSMLProjectInfo.MTBRSMLStatusLabel obj) |
String |
getAbbrev()
Get abbreviation.
|
int |
getAlpha()
Get the alpha value.
|
Color |
getColor()
Get the status color.
|
String |
getName()
Get the status label name.
|
int |
getNumericalIdentifier()
Get the numerical identifier.
|
void |
print()
Prints the status label information to standard output.
|
public static final Color DEFAULT_STATUS_COLOR
private String name
private String abbrev
private int numericalIdentifier
private Color color
private int alpha
public MTBRSMLStatusLabel(String name, String abbrev, int nID, Color color)
name - Name of status label.abbrev - Abbreviation.nID - Numerical ID.color - Color of status.public String getName()
public String getAbbrev()
public int getNumericalIdentifier()
public Color getColor()
public int getAlpha()
public int compareTo(MTBRSMLProjectInfo.MTBRSMLStatusLabel obj)
compareTo in interface Comparable<MTBRSMLProjectInfo.MTBRSMLStatusLabel>public void print()
Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.