Package com.luciad.gui
Class TLcdMessageIcon
java.lang.Object
com.luciad.gui.TLcdMessageIcon
- All Implemented Interfaces:
ILcdIcon,ILcdCloneable,Serializable,Cloneable
Deprecated.
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
ConstructorsConstructorDescriptionDeprecated.Creates a message icon with an empty message.TLcdMessageIcon(String aMessage) Deprecated.Creates a message icon with the given message. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Returns aTLcdMessageIconwith an empty message.Deprecated.Gets the fill color of the box.getFont()Deprecated.Gets the font the message is displayed in.Deprecated.Gets the font color for the message.intDeprecated.Gets the height of the icon.intDeprecated.Returns the fixed height of the icon.intDeprecated.Returns the fixed width of the icon.intgetWidth()Deprecated.Gets the width of the icon.booleanDeprecated.Returns whether to use anti-aliasing when painting.voidDeprecated.Draw theILcdIconat the specified location.voidsetAntiAliasing(boolean aAntiAliasing) Deprecated.Sets whether to use anti-aliasing when painting.voidsetBackground(Color aColor) Deprecated.Sets the fill color for the box.voidDeprecated.Sets the font the message will be displayed in.voidsetForeground(Color aColor) Deprecated.Gets the font color for the message.voidsetHeight(int aHeight) Deprecated.Sets the height of the icon.voidsetWidth(int aWidth) Deprecated.Sets the width of the icon.
-
Constructor Details
-
TLcdMessageIcon
public TLcdMessageIcon()Deprecated.Creates a message icon with an empty message. -
TLcdMessageIcon
Deprecated.Creates a message icon with the given message.- Parameters:
aMessage- the message to display in the icon.
-
-
Method Details
-
setBackground
Deprecated.Sets the fill color for the box.- Parameters:
aColor- the color to use to fill the background- See Also:
-
getForeground
Deprecated.Gets the font color for the message.- Returns:
- the font color for the message.
- See Also:
-
setForeground
Deprecated.Gets the font color for the message.- Parameters:
aColor- the font color for the message.- See Also:
-
getFont
Deprecated.Gets the font the message is displayed in.- Returns:
- the font the message is displayed in.
- See Also:
-
setFont
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
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- iftrue, uses anti-aliasing when painting- See Also:
-
paintIcon
Deprecated.Description copied from interface:ILcdIconDraw theILcdIconat the specified location.ILcdIconimplementations may use theComponentargument to get properties useful for painting, e.g. the foreground or background color.- Specified by:
paintIconin interfaceILcdIcon- 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:ILcdIconReturns the fixed width of the icon.- Specified by:
getIconWidthin interfaceILcdIcon- Returns:
- the fixed width of the icon.
-
getIconHeight
public int getIconHeight()Deprecated.Description copied from interface:ILcdIconReturns the fixed height of the icon.- Specified by:
getIconHeightin interfaceILcdIcon- Returns:
- the fixed height of the icon.
-
clone
Deprecated.Returns aTLcdMessageIconwith an empty message.- Specified by:
clonein interfaceILcdCloneable- Overrides:
clonein classObject- Returns:
- a
TLcdMessageIconwith an empty message. - See Also:
-
TLcdTextIconfor an implementation that supports multiple lines