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
ConstructorDescriptionDeprecated.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 aTLcdMessageIcon
with 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.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
getWidth()
Deprecated.Gets the width of the icon.boolean
Deprecated.Returns whether to use anti-aliasing when painting.void
Deprecated.Draw theILcdIcon
at the specified location.void
setAntiAliasing
(boolean aAntiAliasing) Deprecated.Sets whether to use anti-aliasing when painting.void
setBackground
(Color aColor) Deprecated.Sets the fill color for the box.void
Deprecated.Sets the font the message will be displayed in.void
setForeground
(Color aColor) 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.
-
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:ILcdIcon
Draw theILcdIcon
at the specified location.ILcdIcon
implementations may use theComponent
argument to get properties useful for painting, e.g. the foreground or background color.- Specified by:
paintIcon
in 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:ILcdIcon
Returns the fixed width of the icon.- Specified by:
getIconWidth
in interfaceILcdIcon
- 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 interfaceILcdIcon
- Returns:
- the fixed height of the icon.
-
clone
Deprecated.Returns aTLcdMessageIcon
with an empty message.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classObject
- Returns:
- a
TLcdMessageIcon
with an empty message. - See Also:
-
TLcdTextIcon
for an implementation that supports multiple lines