|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.core.v02.FLabel
Se utiliza para etiquetar. Las capas vectoriales tienen un arrayList (m_labels) de FLabel, un FLabel por cada registro.
Field Summary | |
static byte |
CENTER_BOTTOM
|
static byte |
CENTER_CENTER
|
static byte |
CENTER_TOP
|
static byte |
LEFT_BOTTOM
|
static byte |
LEFT_CENTER
|
static byte |
LEFT_TOP
|
static byte |
RIGHT_BOTTOM
|
static byte |
RIGHT_CENTER
|
static byte |
RIGHT_TOP
|
Constructor Summary | |
FLabel()
Crea un nuevo FLabel. |
|
FLabel(java.lang.String str)
Crea un nuevo FLabel. |
|
FLabel(java.lang.String str,
java.awt.geom.Point2D pOrig,
double heightText,
double rotation)
Crea un nuevo FLabel. |
Method Summary | |
java.lang.Object |
clone()
Clona el FLabel. |
static FLabel |
createFLabel(XMLEntity xml)
Crea un Objeto de esta clase a partir de la información del XMLEntity. |
double |
getHeight()
Devuelve la altura del Label. |
byte |
getJustification()
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 |
java.awt.geom.Point2D |
getOrig()
Devuelve el punto de origen. |
double |
getRotation()
Devuelve la rotación. |
java.lang.String |
getString()
Devuelve un String con el texto del Label. |
XMLEntity |
getXMLEntity()
Devuelve un Objeto XMLEntity con la información los atributos necesarios para poder después volver a crear el objeto original. |
void |
setFLabel(FLabel label)
Introduce un nuevo FLabel al ya existente. |
void |
setHeight(double height)
Introduce la altura del Label. |
void |
setJustification(byte justification)
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(java.awt.geom.Point2D orig)
Introduce el punto de origen del Label. |
void |
setRotation(double m_rotation)
Introduce la rotación a aplicar al Label. |
void |
setString(java.lang.String str)
Introduce el texto del Label. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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
Constructor Detail |
public FLabel()
public FLabel(java.lang.String str)
str
- DOCUMENT ME!public FLabel(java.lang.String str, java.awt.geom.Point2D pOrig, double heightText, double rotation)
str
- pOrig
- heightText
- rotation
- Method Detail |
public void setFLabel(FLabel label)
label
- public java.lang.Object clone()
public double getHeight()
public java.awt.geom.Point2D getOrig()
public double getRotation()
public java.lang.String getString()
public void setHeight(double height)
height
- The m_Height to set.public void setOrig(java.awt.geom.Point2D orig)
orig
- The m_Orig to set.public void setRotation(double m_rotation)
m_rotation
- The m_rotation to set.public void setString(java.lang.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 = 14
public 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 = 14
justification
- bytepublic XMLEntity getXMLEntity()
public static FLabel createFLabel(XMLEntity xml)
xml
- XMLEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |