|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.graphic.style.IlvMapStyle
ilog.views.maps.graphic.style.IlvMapTextStyle
public class IlvMapTextStyle
Class holding main graphic attributes for a text.
| Field Summary | |
|---|---|
static String |
ALIGNMENT
The Alignment property name. |
static String |
ANGLE
The Angle property name. |
static String |
ANTIALIASING
The Antialiasing property name. |
static String |
ATTACHMENT
The Attachment property name. |
static String |
BACKGROUND_PAINT
The Background Paint property name. |
static String |
FILL_PAINT
The Fill Paint property name. |
static String |
FITTORECT
The FitToRect property name. |
static String |
FONT
The Font property name. |
static String |
FOREGROUND
The Foreground property name. |
static String |
FRAME_PAINT
The Frame Paint property name. |
static String |
INNER_MARGIN
The Inner Margin property name. |
static String |
INTERLINE
The Interline property name. |
static String |
MAXIMUM_HEIGHT
The Maximum Height property name. |
static String |
MAXIMUM_LINE_HEIGHT
The Maximum Line Height property name. |
static String |
MINIMUM_HEIGHT
The Minimum Height property name. |
static String |
STROKE_PAINT
The Stroke Paint property name. |
| Fields inherited from class ilog.views.maps.graphic.style.IlvMapStyle |
|---|
ALPHA, ALWAYS_ON_TOP, ATTRIBUTE_INFO, CATEGORY, LABEL_ATTRIBUTE, LEGEND_GROUP, PARENT, THIN_CLIENT_BACKGROUND, VISIBLE_IN_3DVIEW, VISIBLE_IN_OVERVIEW, VISIBLE_IN_TREE, VISIBLE_IN_VIEW |
| Constructor Summary | |
|---|---|
IlvMapTextStyle()
Constructs a IlvMapTextStyle. |
|
IlvMapTextStyle(IlvInputStream stream)
Reads an IlvMapTextStyle from an IlvInputStream. |
|
IlvMapTextStyle(IlvMapTextStyle source)
Constructs an IlvMapTextStyle by copying an
existing one. |
|
| Method Summary | |
|---|---|
IlvMapStyle |
copy()
Returns a copy of this IlvMapTextStyle |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
int |
getAlignment()
Retrieves the Alignment property value. |
double |
getAngle()
Retrieves the Angle property value. |
int |
getAttachment()
Retrieves the Attachment property value. |
Paint |
getBackgroundPaint()
Retrieves the BackgroundPaint property value. |
Paint |
getFillPaint()
Retrieves the FillPaint property value. |
Font |
getFont()
Retrieves the Font property value. |
Color |
getForeground()
Retrieve the FOREGROUND attribute value. |
Paint |
getFramePaint()
Retrieves the FramePaint property value. |
float |
getInnerMargin()
Retrieves the InnerMargin property value. |
float |
getInterline()
Retrieves the Interline property value. |
int |
getMaximumHeight()
Retrieves the MaximumHeight property value. |
int |
getMaximumLineHeight()
Retrieves the MaximumLineHeight property value. |
int |
getMinimumHeight()
Retrieves the MinimumHeight property value. |
Paint |
getStrokePaint()
Retrieves the StrokePaint property value. |
int |
hashCode()
|
boolean |
isAntialiasing()
Retrieves the Antialiasing property value. |
boolean |
isFitToRect()
Retrieves the FitToRect property value. |
void |
setAlignment(int alignment)
Sets the Alignment property value. |
void |
setAngle(double angle)
Sets the Angle property value. |
void |
setAntialiasing(boolean antialiasing)
Sets the Antialiasing property value. |
void |
setAttachment(int attachment)
Sets the Attachment property value. |
void |
setBackgroundPaint(Paint backgroundPaint)
Sets the BackgroundPaint property value. |
void |
setFillPaint(Paint paint)
Sets the FillPaint property value. |
void |
setFitToRect(boolean fit)
Sets the FitToRect property value. |
void |
setFont(Font font)
Sets the Font property value. |
void |
setForeground(Color c)
Sets the FOREGROUND attribute value. |
void |
setFramePaint(Paint paint)
Sets the FramePaint property value. |
void |
setInnerMargin(float margin)
Sets the InnerMargin property value. |
void |
setInterline(float interline)
Sets the Interline property value. |
void |
setMaximumHeight(int height)
Sets the MaximumHeight property value. |
void |
setMaximumLineHeight(int height)
Sets the MaximumHeight property value. |
void |
setMinimumHeight(int height)
Sets the MinimumHeight property value. |
void |
setStrokePaint(Paint paint)
Sets the StrokePaint property value. |
void |
write(IlvOutputStream stream)
Write a IlvMapStyle on a IlvOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FOREGROUND
public static final String ANTIALIASING
public static final String ATTACHMENT
public static final String FILL_PAINT
public static final String FONT
public static final String FRAME_PAINT
public static final String INNER_MARGIN
public static final String INTERLINE
public static final String MAXIMUM_HEIGHT
public static final String MAXIMUM_LINE_HEIGHT
public static final String MINIMUM_HEIGHT
public static final String STROKE_PAINT
public static final String ANGLE
public static final String BACKGROUND_PAINT
public static final String ALIGNMENT
public static final String FITTORECT
| Constructor Detail |
|---|
public IlvMapTextStyle()
IlvMapTextStyle.
public IlvMapTextStyle(IlvInputStream stream)
throws IlvReadFileException
IlvMapTextStyle from an IlvInputStream.
stream - The stream to read from.
IlvReadFileExceptionpublic IlvMapTextStyle(IlvMapTextStyle source)
IlvMapTextStyle by copying an
existing one.
source - The style to copy.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvMapStyle on a IlvOutputStream
write in interface IlvPersistentObjectwrite in class IlvMapStylestream - The stream to write to.
IOException - thrown when an exception occurs during
the write operation for this object.IlvMapStyle.write(ilog.views.io.IlvOutputStream)public IlvMapStyle copy()
IlvMapTextStyle
copy in class IlvMapStyleIlvMapStyle.copy()public int hashCode()
hashCode in class IlvMapStylepublic boolean equals(Object o)
equals in class IlvMapStyleIlvMapStyle.equals(java.lang.Object)public Color getForeground()
FOREGROUND attribute value.
FOREGROUND attribute value.public void setForeground(Color c)
FOREGROUND attribute value.
c - The FOREGROUND attribute value as a Colorpublic int getAlignment()
public void setAlignment(int alignment)
alignment - The Alignment property value.public void setFitToRect(boolean fit)
fit - The FitToRect property value.public boolean isFitToRect()
public boolean isAntialiasing()
public void setAntialiasing(boolean antialiasing)
antialiasing - The Antialiasing property value.public int getAttachment()
public void setAttachment(int attachment)
attachment - The Attachment property value.public Paint getFillPaint()
public void setFillPaint(Paint paint)
paint - The FillPaint property value.public Font getFont()
public void setFont(Font font)
font - The Font property value.public Paint getFramePaint()
public void setFramePaint(Paint paint)
paint - The FramePaint property value.public float getInnerMargin()
public void setInnerMargin(float margin)
margin - The InnerMargin property value.public float getInterline()
public void setInterline(float interline)
interline - The Interline property value.public int getMaximumHeight()
public void setMaximumHeight(int height)
height - The MaximumHeight property value.public int getMaximumLineHeight()
public void setMaximumLineHeight(int height)
height - The MaximumHeight property value.public int getMinimumHeight()
public void setMinimumHeight(int height)
height - The MinimumHeight property value.public Paint getStrokePaint()
public void setStrokePaint(Paint paint)
paint - The StrokePaint property value.public double getAngle()
public void setAngle(double angle)
angle - The Angle property value.public Paint getBackgroundPaint()
public void setBackgroundPaint(Paint backgroundPaint)
backgroundPaint - The BackgroundPaint property value.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||