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 static String getDefaultColor()
public static void setDefaultColor(String defaultColor)
defaultColor - nomen est omenpublic static double getDefaultLineWidth()
public static void setDefaultLineWidth(double defaultLineWidth)
defaultLineWidth - nomen est omenpublic static double getDefaultFontSize()
public static void setDefaultFontSize(double defaultFontSize)
defaultFontSize - nomen est omenpublic void shift(double v)
v - horizontal shift parameterpublic double getX()
public void setX(double x)
x - new horizontal marker positionpublic double getY()
public void setY(double y)
y - new vertical marker positionpublic String getLabel()
public void setLabel(String label)
label - new maker label stringpublic String getColor()
public void setColor(String color)
color - nomen est omenpublic double getLineWidth()
public void setLineWidth(double lineWidth)
lineWidth - nomen est omenpublic double getFontSize()
public void setFontSize(double fontSize)
fontSize - nomen est omenpublic String getStyle()
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.