public class DefaultGrfContainer extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
angle |
protected double[] |
bbox |
protected int |
grfType
The internal state of container object.
|
static int |
LINE
Types of GRF states.
|
static int |
MARK |
protected DefaultGrfState |
state |
protected String |
text |
static int |
TEXT |
protected int |
value |
protected double |
xPos |
protected double[] |
xPositions |
protected double |
yPos |
protected double[] |
yPositions |
Constructor and Description |
---|
DefaultGrfContainer()
Create and initialise a default container.
|
DefaultGrfContainer(int type,
double[] x,
double[] y,
DefaultGrfState gstate)
Create and initialise a container.
|
DefaultGrfContainer(int type,
double[] x,
double[] y,
int assoc,
DefaultGrfState gstate)
Create and initialise a container.
|
DefaultGrfContainer(int type,
String ltext,
double x,
double y,
double langle,
double[] lbbox,
DefaultGrfState gstate)
Create and initialise a container.
|
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Gets the angle attribute of the DefaultGrfContainer object
|
double[] |
getBBox()
Gets the bBox attribute of the DefaultGrfContainer object
|
DefaultGrfState |
getGrfState()
Gets the grfState attribute of the DefaultGrfContainer object
|
int |
getInt()
Gets the int attribute of the DefaultGrfContainer object
|
String |
getText()
Gets the text attribute of the DefaultGrfContainer object
|
int |
getType()
Return the internal state.
|
double |
getX()
Gets the x attribute of the DefaultGrfContainer object
|
double[] |
getXPositions()
Gets the xPositions attribute of the DefaultGrfContainer object
|
double |
getY()
Gets the y attribute of the DefaultGrfContainer object
|
double[] |
getYPositions()
Gets the yPositions attribute of the DefaultGrfContainer object
|
void |
setAngle(double angle)
Sets the angle attribute of the DefaultGrfContainer object
|
void |
setBBox(double[] bbox)
Sets the bBox attribute of the DefaultGrfContainer object
|
void |
setGrfState(DefaultGrfState state)
Sets the grfState attribute of the DefaultGrfContainer object
|
void |
setInt(int value)
Sets the int attribute of the DefaultGrfContainer object
|
void |
setText(String text)
Sets the text attribute of the DefaultGrfContainer object
|
void |
setType(int type)
Sets the type attribute of the DefaultGrfContainer object
|
void |
setX(double xPos)
Sets the x attribute of the DefaultGrfContainer object
|
void |
setXPositions(double[] xPositions)
Sets the xPositions attribute of the DefaultGrfContainer object
|
void |
setY(double yPos)
Sets the y attribute of the DefaultGrfContainer object
|
void |
setYPositions(double[] yPositions)
Sets the yPositions attribute of the DefaultGrfContainer object
|
protected int grfType
protected double[] xPositions
protected double[] yPositions
protected double[] bbox
protected double xPos
protected double yPos
protected double angle
protected int value
protected DefaultGrfState state
protected String text
public static final int LINE
public static final int TEXT
public static final int MARK
public DefaultGrfContainer()
public DefaultGrfContainer(int type, double[] x, double[] y, DefaultGrfState gstate)
public DefaultGrfContainer(int type, double[] x, double[] y, int assoc, DefaultGrfState gstate)
public DefaultGrfContainer(int type, String ltext, double x, double y, double langle, double[] lbbox, DefaultGrfState gstate)
public int getType()
public void setType(int type)
public int getInt()
public void setInt(int value)
public double[] getXPositions()
public void setXPositions(double[] xPositions)
public double[] getYPositions()
public void setYPositions(double[] yPositions)
public double getX()
public void setX(double xPos)
public double getY()
public void setY(double yPos)
public double getAngle()
public void setAngle(double angle)
public double[] getBBox()
public void setBBox(double[] bbox)
public String getText()
public void setText(String text)
public DefaultGrfState getGrfState()
public void setGrfState(DefaultGrfState state)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.