Package com.luciad.gui
Interface ILcdIcon
- All Superinterfaces:
Cloneable
,ILcdCloneable
,Serializable
- All Known Subinterfaces:
ILcdAnchoredIcon
,ILcdResizeableIcon
,ILcdS52Icon
,ILcdS52Text
- All Known Implementing Classes:
ALcdScaleIndicator
,TLcdAnchoredIcon
,TLcdAWTImageIcon
,TLcdBingMapsCopyrightIcon
,TLcdBingMapsGXYCopyrightIcon
,TLcdBingMapsLogoIcon
,TLcdBoxIcon
,TLcdCGMIcon
,TLcdCompositeIcon
,TLcdContrastIcon
,TLcdGreyIcon
,TLcdGUIIcon
,TLcdGXYScaleIndicator
,TLcdHaloIcon
,TLcdImageIcon
,TLcdMessageIcon
,TLcdResizeableIcon
,TLcdRotatingIcon
,TLcdS52CombinedIcon
,TLcdS52Symbol
,TLcdS52Text
,TLcdShapeIcon
,TLcdSingleIconProvider
,TLcdSVGIcon
,TLcdSymbol
,TLcdTextIcon
,TLcdTranslatedIcon
,TLcdTTFIcon
,TLcdVectorIcon
,TLspBingMapsCopyrightIcon
,TLspFXScaleIndicator
,TLspScaleIndicator
A small fixed size picture, typically used to decorate components.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the fixed height of the icon.int
Returns the fixed width of the icon.void
Draw theILcdIcon
at the specified location.Methods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Method Details
-
paintIcon
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.- Parameters:
aComponent
- a Component to retrieve properties from.aGraphics
- the Graphics on which the icon will be painted.aX
- the x position where the icon will be painted. x is the first coordinate of the top left corner point of the icon.aY
- the y position where the icon will be painted. y is the second coordinate of the top left corner point of the icon.
-
getIconWidth
int getIconWidth()Returns the fixed width of the icon.- Returns:
- the fixed width of the icon.
-
getIconHeight
int getIconHeight()Returns the fixed height of the icon.- Returns:
- the fixed height of the icon.
-