public class GraphicsEdges extends AbstractPlotControlsModel
PlotConfigurator
,
PlotConfiguration
Modifier and Type | Field and Description |
---|---|
protected boolean |
clip
Whether to clip the plotted data.
|
static double |
GAP_MAX
The suggested maximum fraction.
|
static double |
GAP_MIN
The suggested minimum fraction.
|
static double |
GAP_STEP
The suggested fraction resolution (i.e.
|
protected double |
xLeft
Fraction of plot to keep for left labels.
|
protected double |
xRight
Fraction of plot to keep for right labels.
|
protected double |
yBottom
Fraction of plot to keep for the bottom labels.
|
protected double |
yTop
Fraction of plot to keep for the top labels.
|
listeners
Constructor and Description |
---|
GraphicsEdges()
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(Element rootElement)
Encode the internal state of this object so that it is rooted
in the given Element.
|
String |
getTagName()
The name of our enclosing tag.
|
double |
getXLeft()
Get the fraction of display reserved for X labelling on the left.
|
double |
getXRight()
Get the fraction of display reserved for X labelling on the right.
|
double |
getYBottom()
Get the fraction of display reserved for Y labelling at the bottom.
|
double |
getYTop()
Get the fraction of display reserved for Y labelling at the top.
|
boolean |
isClipped()
See if graphics should be clipped to lie within border.
|
void |
setClipped(boolean clip)
Set if graphics should be clipped to lie within border.
|
void |
setDefaults()
Set object back to its defaults.
|
void |
setFromString(String name,
String value)
Set the value of a member variable by matching its name to a
known local property string.
|
void |
setXLeft(double xLeft)
Set the fraction of display reserved for X labelling on the left.
|
void |
setXRight(double xRight)
Set the fraction of display reserved for X labelling on the right.
|
void |
setYBottom(double yBottom)
Set the fraction of display reserved for Y labelling at the bottom.
|
void |
setYTop(double yTop)
Set the fraction of display reserved for Y labelling at the top.
|
addChangeListener, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, booleanFromString, booleanToString, colorFromString, colorToString, decode, doubleFromString, doubleToString, fireChanged, fontFromString, fontToString, getChildren, getElementName, getElementValue, intFromString, intToString, longFromString, longToString, removeChangeListener
protected boolean clip
protected double xLeft
protected double xRight
protected double yTop
protected double yBottom
public static final double GAP_MIN
public static final double GAP_MAX
public static final double GAP_STEP
public void setDefaults()
public boolean isClipped()
public void setClipped(boolean clip)
public double getXLeft()
public double getXRight()
public void setXLeft(double xLeft)
public void setXRight(double xRight)
public double getYTop()
public double getYBottom()
public void setYTop(double yTop)
public void setYBottom(double yBottom)
public String getTagName()
public void encode(Element rootElement)
XMLEncodeDecode
encode
in interface XMLEncodeDecode
encode
in class AbstractPlotControlsModel
rootElement
- the Element within which the object should
store its configuration.public void setFromString(String name, String value)
setFromString
in class AbstractPlotControlsModel
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.