public class TLcdMIFText extends TLcdFeaturedShapeList implements ILcdMIFShape
ILcdMIFShape
represents MIF text objects.ARC, COLLECTION, ELLIPSE, LINE, MULTIPOINT, NONE, PLINE, POINT, RECT, REGION, ROUNDRECT, TEXT
Constructor and Description |
---|
TLcdMIFText(Font aFont,
Color aForeColor,
Color aBackColor)
Constructs a TLcdMIFText object with preferred font foreground and background colors for
display.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBackColor()
Returns the background color this text is displayed on on a map.
|
Font |
getFont()
Returns the font to use to display this text on a map.
|
Color |
getForeColor()
Returns the color this text is displayed in on a map.
|
short |
getMIFType()
Returns the MIF type of this shape.
|
void |
setBackColor(Color aBackColor)
Sets the background color this text is displayed on on a map.
|
void |
setFont(Font aFont)
Sets this texts font.
|
void |
setForeColor(Color aForeColor)
Sets the color this text is displayed in on a map.
|
canSetFeature, clone, equals, getDataType, getDefaultDisplayNameIndex, getDisplayName, getFeature, getFeatureCount, getFeatures, getValue, getValue, hashCode, hasValue, hasValue, setDefaultDisplayNameIndex, setFeature, setFeatures, setValue, setValue, toString
addShape, addShape, addShapes, clearShapes, getShape, getShapeCount, removeShape, removeShape, removeShapes, setShape, setShape, setShapes, shapeChanged, shapeChanged, shapesChanged
calculateFocusPoint, clearCache, contains2D, contains3D, getBounds, getCachedObject, getFocusPoint, insertIntoCache, invalidateBounds, invalidateObject, removeCachedObject, setFocusPoint
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
canSetFeature, getFeature, getFeatureCount, setFeature
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public TLcdMIFText(Font aFont, Color aForeColor, Color aBackColor)
aFont
- the preferred font to display this text in.aForeColor
- the preferred foreground color to display this text in.aBackColor
- the preferred background color to display this text in.public void setFont(Font aFont)
aFont
- the font to use to display this text on a map.getFont()
public Font getFont()
setFont(java.awt.Font)
public void setForeColor(Color aForeColor)
aForeColor
- the color this text is displayed in on a map.getForeColor()
public Color getForeColor()
setForeColor(java.awt.Color)
public void setBackColor(Color aBackColor)
aBackColor
- the background color this text is displayed on on a map.getBackColor()
public Color getBackColor()
setBackColor(java.awt.Color)
public short getMIFType()
ILcdMIFShape
getMIFType
in interface ILcdMIFShape
POINT
, LINE
, PLINE
,...