Class TLcdMIFText

All Implemented Interfaces:
ILcdDataObject, ILcdMIFShape, ILcdBounded, ILcdEditableShapeList, ILcdShape, ILcdShapeList, ILcdCache, ILcdCloneable, ILcdFeatured, ILcdInvalidateable, Serializable, Cloneable

public class TLcdMIFText extends TLcdFeaturedShapeList implements ILcdMIFShape
This ILcdMIFShape represents MIF text objects.
See Also:
  • Constructor Details

    • TLcdMIFText

      public TLcdMIFText(Font aFont, Color aForeColor, Color aBackColor)
      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

      public void setFont(Font aFont)
      Sets this texts font.
      Parameters:
      aFont - the font to use to display this text on a map.
      See Also:
    • getFont

      public Font 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

      public void setForeColor(Color aForeColor)
      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

      public Color 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

      public void setBackColor(Color aBackColor)
      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

      public Color 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 interface ILcdMIFShape
      Returns:
      one of POINT, LINE, PLINE,...