Package com.luciad.format.mif
Class TLcdMIFText
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.ALcdShapeList
com.luciad.shape.TLcdShapeList
com.luciad.shape.TLcdFeaturedShapeList
com.luciad.format.mif.TLcdMIFText
- All Implemented Interfaces:
ILcdDataObject
,ILcdMIFShape
,ILcdBounded
,ILcdEditableShapeList
,ILcdShape
,ILcdShapeList
,ILcdCache
,ILcdCloneable
,ILcdFeatured
,ILcdInvalidateable
,Serializable
,Cloneable
This
ILcdMIFShape
represents MIF text objects.- See Also:
-
Field Summary
Fields inherited from interface com.luciad.format.mif.ILcdMIFShape
ARC, COLLECTION, ELLIPSE, LINE, MULTIPOINT, NONE, PLINE, POINT, RECT, REGION, ROUNDRECT, TEXT
-
Constructor Summary
ConstructorDescriptionTLcdMIFText
(Font aFont, Color aForeColor, Color aBackColor) Constructs a TLcdMIFText object with preferred font foreground and background colors for display. -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color this text is displayed on on a map.getFont()
Returns the font to use to display this text on a map.Returns the color this text is displayed in on a map.short
Returns the MIF type of this shape.void
setBackColor
(Color aBackColor) Sets the background color this text is displayed on on a map.void
Sets this texts font.void
setForeColor
(Color aForeColor) Sets the color this text is displayed in on a map.Methods inherited from class com.luciad.shape.TLcdFeaturedShapeList
canSetFeature, clone, equals, getDataType, getDefaultDisplayNameIndex, getDisplayName, getFeature, getFeatureCount, getFeatures, getValue, getValue, hashCode, hasValue, hasValue, setDefaultDisplayNameIndex, setFeature, setFeatures, setValue, setValue, toString
Methods inherited from class com.luciad.shape.TLcdShapeList
addShape, addShape, addShapes, clearShapes, getShape, getShapeCount, removeShape, removeShape, removeShapes, setShape, setShape, setShapes, shapeChanged, shapeChanged, shapesChanged
Methods inherited from class com.luciad.shape.ALcdShapeList
calculateFocusPoint, clearCache, contains2D, contains3D, getBounds, getCachedObject, getFocusPoint, insertIntoCache, invalidateBounds, invalidateObject, removeCachedObject, setFocusPoint
Methods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObject
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.util.ILcdFeatured
canSetFeature, getFeature, getFeatureCount, setFeature
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdMIFText
Constructs a TLcdMIFText object with preferred font foreground and background colors for display.- Parameters:
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.
-
-
Method Details
-
setFont
Sets this texts font.- Parameters:
aFont
- the font to use to display this text on a map.- See Also:
-
getFont
Returns the font to use to display this text on a map.- Returns:
- the font to use to display this text on a map.
- See Also:
-
setForeColor
Sets the color this text is displayed in on a map.- Parameters:
aForeColor
- the color this text is displayed in on a map.- See Also:
-
getForeColor
Returns the color this text is displayed in on a map.- Returns:
- the color this text is displayed in on a map.
- See Also:
-
setBackColor
Sets the background color this text is displayed on on a map.- Parameters:
aBackColor
- the background color this text is displayed on on a map.- See Also:
-
getBackColor
Returns the background color this text is displayed on on a map.- Returns:
- the background color this text is displayed on on a map.
- See Also:
-
getMIFType
public short getMIFType()Description copied from interface:ILcdMIFShape
Returns the MIF type of this shape.- Specified by:
getMIFType
in interfaceILcdMIFShape
- Returns:
- one of
POINT
,LINE
,PLINE
,...
-