public class LabelledMarker extends Object
| Constructor and Description |
|---|
LabelledMarker(double x,
String label) |
LabelledMarker(double x,
String label,
String color) |
LabelledMarker(double x,
String label,
String color,
double lineWidth) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor() |
static String |
getDefaultColor() |
static double |
getDefaultFontSize() |
static double |
getDefaultLineWidth() |
double |
getFontSize() |
String |
getLabel() |
double |
getLineWidth() |
String |
getStyle()
Gets the style string for the marker.
|
double |
getX() |
double |
getY() |
void |
setColor(String color) |
static void |
setDefaultColor(String defaultColor) |
static void |
setDefaultFontSize(double defaultFontSize) |
static void |
setDefaultLineWidth(double defaultLineWidth) |
void |
setFontSize(double fontSize) |
void |
setLabel(String label) |
void |
setLineWidth(double lineWidth) |
void |
setX(double x) |
void |
setY(double y) |
void |
shift(double v)
shift horizontal marker coordinate by shift parameter 'v'
|
public LabelledMarker(double x,
String label)
x - new X coordinatelabel - marker namepublic LabelledMarker(double x,
String label,
String color)
x - new X coordinatelabel - marker namecolor - maker colorpublic String getColor()
public double getFontSize()
public String getLabel()
public double getLineWidth()
public String getStyle()
public double getX()
public double getY()
public void setColor(String color)
color - nomen est omenpublic void setFontSize(double fontSize)
fontSize - nomen est omenpublic void setLabel(String label)
label - new maker label stringpublic void setLineWidth(double lineWidth)
lineWidth - nomen est omenpublic void setX(double x)
x - new horizontal marker positionpublic void setY(double y)
y - new vertical marker positionpublic void shift(double v)
v - horizontal shift parameterpublic static String getDefaultColor()
public static double getDefaultFontSize()
public static double getDefaultLineWidth()
public static void setDefaultColor(String defaultColor)
defaultColor - nomen est omenpublic static void setDefaultFontSize(double defaultFontSize)
defaultFontSize - nomen est omenpublic static void setDefaultLineWidth(double defaultLineWidth)
defaultLineWidth - nomen est omenCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.