public class BigWarpViewerSettings extends Object
Modifier and Type | Field and Description |
---|---|
protected Color |
currentInactiveSpotColor |
protected Color |
currentSpotColor |
double |
currentSpotSize |
static Color |
DEFAULT_HIGHLIGHT_COLOR
The default color for highlighting.
|
static Color |
DEFAULT_INACTIVE_SPOT_COLOR |
static Color |
DEFAULT_SPOT_COLOR
The default color for spots.
|
static double |
DEFAULT_SPOT_SIZE |
static Color |
DEFAULT_UNMATCHED_SPOT_COLOR |
protected Map<String,Object> |
displaySettings |
static Stroke |
HIGHLIGHT_STROKE |
static String |
KEY_COLOR
Defines the key for the main color.
|
static String |
KEY_DISPLAY_SPOT_NAMES
Defines the key for the spot name display.
|
static String |
KEY_INACTIVE_COLOR |
static String |
KEY_SPOT_RADIUS_RATIO
Defines the key for the spot radius ratio.
|
static String |
KEY_SPOT_SIZE |
static String |
KEY_SPOTS_VISIBLE
Defines the key for the spot visibility.
|
static String |
KEY_UNMATCHED_COLOR |
static Stroke |
NORMAL_STROKE |
Constructor and Description |
---|
BigWarpViewerSettings() |
Modifier and Type | Method and Description |
---|---|
Boolean |
areLandmarksVisible() |
Boolean |
areNamesVisible() |
protected Map<String,Object> |
createDisplaySettings() |
Object |
get(String key) |
Color |
getInactiveSpotColor() |
Color |
getSpotColor() |
double |
getSpotSize() |
void |
setSpotColor(Color c) |
void |
setSpotSize(double size) |
void |
toggleNamesVisible() |
void |
togglePointsVisible() |
public static final String KEY_COLOR
public static final String KEY_INACTIVE_COLOR
public static final String KEY_UNMATCHED_COLOR
public static final String KEY_SPOTS_VISIBLE
false
, spots are not visible.public static final String KEY_DISPLAY_SPOT_NAMES
false
, spot names are not visible.public static final String KEY_SPOT_RADIUS_RATIO
Double
object. Spots will be rendered with a radius equals to
their actual radius multiplied by this ratio.public static final String KEY_SPOT_SIZE
public static final Color DEFAULT_SPOT_COLOR
public static final Color DEFAULT_INACTIVE_SPOT_COLOR
public static final Color DEFAULT_UNMATCHED_SPOT_COLOR
public static final Stroke NORMAL_STROKE
public static final Stroke HIGHLIGHT_STROKE
public static final Color DEFAULT_HIGHLIGHT_COLOR
public static final double DEFAULT_SPOT_SIZE
protected Color currentSpotColor
protected Color currentInactiveSpotColor
public double currentSpotSize
public Boolean areLandmarksVisible()
public void togglePointsVisible()
public void setSpotColor(Color c)
public Color getSpotColor()
public Color getInactiveSpotColor()
public void setSpotSize(double size)
public double getSpotSize()
public Boolean areNamesVisible()
public void toggleNamesVisible()
Copyright © 2015–2021 Fiji. All rights reserved.