Modifier and Type | Field and Description |
---|---|
static byte |
CENTER_BOTTOM
Deprecated.
|
static byte |
CENTER_CENTER
Deprecated.
|
static byte |
CENTER_TOP
Deprecated.
|
static byte |
LEFT_BOTTOM
Deprecated.
|
static byte |
LEFT_CENTER
Deprecated.
|
static byte |
LEFT_TOP
Deprecated.
|
static byte |
RIGHT_BOTTOM
Deprecated.
|
static byte |
RIGHT_CENTER
Deprecated.
|
static byte |
RIGHT_TOP
Deprecated.
|
static double |
SQUARE
Deprecated.
|
Constructor and Description |
---|
FLabel()
Deprecated.
Crea un nuevo FLabel.
|
FLabel(String str)
Deprecated.
Crea un nuevo FLabel.
|
FLabel(String str,
Point2D pOrig,
double heightText,
double rotation)
Deprecated.
Crea un nuevo FLabel.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Clona el FLabel.
|
static FLabel |
createFLabel(Geometry geom)
Deprecated.
Método estático que crea un FLabel a partir de una Geometry.
|
static FLabel |
createFLabel(XMLEntity xml)
Deprecated.
Crea un Objeto de esta clase a partir de la información del XMLEntity.
|
static Point2D |
createLabelPoint(Geometry geom)
Deprecated.
|
void |
draw(Graphics2D g,
AffineTransform affineTransform,
Shape theShape,
ISymbol theSymbol)
Deprecated.
Por ahora, para extender el renderizado de etiquetas, habría que
crear otro FLabel y reimplementar este método para que haga caso
a otros símbolos.
|
Rectangle2D |
getBoundBox()
Deprecated.
|
Rectangle2D |
getBoundingBox(ViewPort vp)
Deprecated.
|
Color |
getColor()
Deprecated.
|
Font |
getFont(AffineTransform at,
Font font)
Deprecated.
|
double |
getHeight()
Deprecated.
Devuelve la altura del Label.
|
byte |
getJustification()
Deprecated.
Valores posibles para
m_Justification : Left/Top = 0
Center/Top = 6 Right/Top = 12 Left/Center = 1
Center/Center = 7 Right/Center = 13 Left/Bottom = 2
Center/Bottom = 8 Right/Bottom = 14 |
Point2D |
getOrig()
Deprecated.
Devuelve el punto de origen.
|
double |
getRotation()
Deprecated.
Devuelve la rotación.
|
String |
getString()
Deprecated.
Devuelve un String con el texto del Label.
|
int |
getStyle()
Deprecated.
|
XMLEntity |
getXMLEntity()
Deprecated.
Devuelve un Objeto XMLEntity con la información los atributos necesarios
para poder después volver a crear el objeto original.
|
void |
setBoundBox(Rectangle2D boundBox)
Deprecated.
|
void |
setColor(int i)
Deprecated.
|
void |
setFLabel(FLabel label)
Deprecated.
Introduce un nuevo FLabel al ya existente.
|
void |
setHeight(double height)
Deprecated.
Introduce la altura del Label.
|
void |
setJustification(byte justification)
Deprecated.
Valores posibles para
m_Justification : Left/Top = 0
Center/Top = 6 Right/Top = 12 Left/Center = 1
Center/Center = 7 Right/Center = 13 Left/Bottom = 2
Center/Bottom = 8 Right/Bottom = 14 |
void |
setOrig(Point2D orig)
Deprecated.
Introduce el punto de origen del Label.
|
void |
setRotation(double m_rotation)
Deprecated.
Introduce la rotación a aplicar al Label.
|
void |
setString(String str)
Deprecated.
Introduce el texto del Label.
|
void |
setTypeFont(String t)
Deprecated.
|
public static final byte LEFT_TOP
public static final byte LEFT_CENTER
public static final byte LEFT_BOTTOM
public static final byte CENTER_TOP
public static final byte CENTER_CENTER
public static final byte CENTER_BOTTOM
public static final byte RIGHT_TOP
public static final byte RIGHT_CENTER
public static final byte RIGHT_BOTTOM
public static final double SQUARE
public FLabel()
public FLabel(String str)
str
- DOCUMENT ME!public void setFLabel(FLabel label)
label
- public Object clone()
public double getHeight()
public Point2D getOrig()
public double getRotation()
public String getString()
public void setHeight(double height)
height
- The m_Height to set.public void setOrig(Point2D orig)
orig
- The m_Orig to set.public void setRotation(double m_rotation)
m_rotation
- The m_rotation to set.public void setString(String str)
str
- The m_Str to set.public byte getJustification()
m_Justification
: Left/Top = 0
Center/Top = 6 Right/Top = 12 Left/Center = 1
Center/Center = 7 Right/Center = 13 Left/Bottom = 2
Center/Bottom = 8 Right/Bottom = 14public void setJustification(byte justification)
m_Justification
: Left/Top = 0
Center/Top = 6 Right/Top = 12 Left/Center = 1
Center/Center = 7 Right/Center = 13 Left/Bottom = 2
Center/Bottom = 8 Right/Bottom = 14justification
- bytepublic XMLEntity getXMLEntity()
public static FLabel createFLabel(XMLEntity xml)
xml
- XMLEntitypublic static FLabel createFLabel(Geometry geom) throws CreateGeometryException
geom
- Geometry.CreateGeometryException
public static Point2D createLabelPoint(Geometry geom) throws CreateGeometryException
CreateGeometryException
public void setTypeFont(String t)
public int getStyle()
public void setBoundBox(Rectangle2D boundBox)
public Rectangle2D getBoundBox()
public Rectangle2D getBoundingBox(ViewPort vp)
public void setColor(int i)
public Color getColor()
public Font getFont(AffineTransform at, Font font)
public void draw(Graphics2D g, AffineTransform affineTransform, Shape theShape, ISymbol theSymbol)
g
- affineTransform
- theShape
- theSymbol
-