Class TLcdMessageIcon

java.lang.Object
com.luciad.gui.TLcdMessageIcon
All Implemented Interfaces:
ILcdIcon, ILcdCloneable, Serializable, Cloneable

public class TLcdMessageIcon extends Object implements ILcdIcon
Deprecated.
see TLcdTextIcon for an implementation that supports multiple lines
A ILcdIcon implementation that displays a message in a box. This class is useful to display messages on a ILcdGXYView with ILcdGXYView.putCornerIcon(com.luciad.gui.ILcdIcon, int), e.g. while loading data into the view.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Creates a message icon with an empty message.
    Deprecated.
    Creates a message icon with the given message.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns a TLcdMessageIcon with an empty message.
    Deprecated.
    Gets the fill color of the box.
    Deprecated.
    Gets the font the message is displayed in.
    Deprecated.
    Gets the font color for the message.
    int
    Deprecated.
    Gets the height of the icon.
    int
    Deprecated.
    Returns the fixed height of the icon.
    int
    Deprecated.
    Returns the fixed width of the icon.
    int
    Deprecated.
    Gets the width of the icon.
    boolean
    Deprecated.
    Returns whether to use anti-aliasing when painting.
    void
    paintIcon(Component c, Graphics g, int x, int y)
    Deprecated.
    Draw the ILcdIcon at the specified location.
    void
    setAntiAliasing(boolean aAntiAliasing)
    Deprecated.
    Sets whether to use anti-aliasing when painting.
    void
    Deprecated.
    Sets the fill color for the box.
    void
    setFont(Font aFont)
    Deprecated.
    Sets the font the message will be displayed in.
    void
    Deprecated.
    Gets the font color for the message.
    void
    setHeight(int aHeight)
    Deprecated.
    Sets the height of the icon.
    void
    setWidth(int aWidth)
    Deprecated.
    Sets the width of the icon.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TLcdMessageIcon

      public TLcdMessageIcon()
      Deprecated.
      Creates a message icon with an empty message.
    • TLcdMessageIcon

      public TLcdMessageIcon(String aMessage)
      Deprecated.
      Creates a message icon with the given message.
      Parameters:
      aMessage - the message to display in the icon.
  • Method Details

    • setBackground

      public void setBackground(Color aColor)
      Deprecated.
      Sets the fill color for the box.
      Parameters:
      aColor - the color to use to fill the background
      See Also:
    • getForeground

      public Color getForeground()
      Deprecated.
      Gets the font color for the message.
      Returns:
      the font color for the message.
      See Also:
    • setForeground

      public void setForeground(Color aColor)
      Deprecated.
      Gets the font color for the message.
      Parameters:
      aColor - the font color for the message.
      See Also:
    • getFont

      public Font getFont()
      Deprecated.
      Gets the font the message is displayed in.
      Returns:
      the font the message is displayed in.
      See Also:
    • setFont

      public void setFont(Font aFont)
      Deprecated.
      Sets the font the message will be displayed in.
      Parameters:
      aFont - the font the message will be displayed in.
      See Also:
    • getWidth

      public int getWidth()
      Deprecated.
      Gets the width of the icon.
      Returns:
      the width of the icon.
      See Also:
    • setWidth

      public void setWidth(int aWidth)
      Deprecated.
      Sets the width of the icon.
      Parameters:
      aWidth - the width of the icon.
      See Also:
    • getHeight

      public int getHeight()
      Deprecated.
      Gets the height of the icon.
      Returns:
      the height of the icon.
      See Also:
    • setHeight

      public void setHeight(int aHeight)
      Deprecated.
      Sets the height of the icon.
      Parameters:
      aHeight - the height of the icon.
      See Also:
    • getBackground

      public Color getBackground()
      Deprecated.
      Gets the fill color of the box.
      Returns:
      the fill color of the box.
      See Also:
    • isAntiAliasing

      public boolean isAntiAliasing()
      Deprecated.
      Returns whether to use anti-aliasing when painting.
      Returns:
      whether to use anti-aliasing when painting
      See Also:
    • setAntiAliasing

      public void setAntiAliasing(boolean aAntiAliasing)
      Deprecated.
      Sets whether to use anti-aliasing when painting.
      Parameters:
      aAntiAliasing - if true, uses anti-aliasing when painting
      See Also:
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Deprecated.
      Description copied from interface: ILcdIcon
      Draw the ILcdIcon at the specified location. ILcdIcon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.
      Specified by:
      paintIcon in interface ILcdIcon
      Parameters:
      c - a Component to retrieve properties from.
      g - the Graphics on which the icon will be painted.
      x - the x position where the icon will be painted. x is the first coordinate of the top left corner point of the icon.
      y - the y position where the icon will be painted. y is the second coordinate of the top left corner point of the icon.
    • getIconWidth

      public int getIconWidth()
      Deprecated.
      Description copied from interface: ILcdIcon
      Returns the fixed width of the icon.
      Specified by:
      getIconWidth in interface ILcdIcon
      Returns:
      the fixed width of the icon.
    • getIconHeight

      public int getIconHeight()
      Deprecated.
      Description copied from interface: ILcdIcon
      Returns the fixed height of the icon.
      Specified by:
      getIconHeight in interface ILcdIcon
      Returns:
      the fixed height of the icon.
    • clone

      public Object clone()
      Deprecated.
      Returns a TLcdMessageIcon with an empty message.
      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class Object
      Returns:
      a TLcdMessageIcon with an empty message.
      See Also: