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,TLcdAzureMapsCopyrightIcon,TLcdAzureMapsGXYCopyrightIcon,TLcdAzureMapsLogoIcon,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,TLspAzureMapsCopyrightIcon,TLspBingMapsCopyrightIcon,TLspFXScaleIndicator,TLspScaleIndicator
A small fixed size picture, typically used to decorate components.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the fixed height of the icon.intReturns the fixed width of the icon.voidDraw theILcdIconat the specified location.Methods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Method Details
-
paintIcon
Draw theILcdIconat the specified location.ILcdIconimplementations may use theComponentargument 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.
-