public class IlvMapTextStyle extends IlvMapStyle
Modifier and Type | Field and Description |
---|---|
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 |
BASE_TEXT_DIRECTION
The BaseTextDirection 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.
|
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 and Description |
---|
IlvMapTextStyle()
Constructs a
IlvMapTextStyle . |
IlvMapTextStyle(IlvInputStream stream)
Reads an
IlvMapTextStyle from an IlvInputStream . |
IlvMapTextStyle(IlvMapTextStyle source)
Constructs an
IlvMapTextStyle by copying an
existing one. |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getBaseTextDirection()
Retrieves the BaseTextDirection 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.
|
double |
getInnerMargin()
Retrieves the InnerMargin property value.
|
double |
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 |
setBaseTextDirection(int textDir)
Sets the base text direction.
|
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(double margin)
Sets the InnerMargin property value.
|
void |
setInterline(double 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 |
addAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInView
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
public static final String BASE_TEXT_DIRECTION
public IlvMapTextStyle()
IlvMapTextStyle
.public IlvMapTextStyle(IlvInputStream stream) throws IlvReadFileException
IlvMapTextStyle
from an IlvInputStream
.stream
- The stream to read from.IlvReadFileException
public IlvMapTextStyle(IlvMapTextStyle source)
IlvMapTextStyle
by copying an
existing one.source
- The style to copy.public void write(IlvOutputStream stream) throws IOException
IlvMapStyle
on a IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvMapStyle
stream
- 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 IlvMapStyle
IlvMapStyle.copy()
public int hashCode()
hashCode
in class IlvMapStyle
public boolean equals(Object o)
equals
in class IlvMapStyle
IlvMapStyle.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 Color
public 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 double getInnerMargin()
public void setInnerMargin(double margin)
margin
- The InnerMargin property value.public double getInterline()
public void setInterline(double 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.public void setBaseTextDirection(int textDir)
textDir
- New bas text directionpublic int getBaseTextDirection()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.