Class TLcdBingMapsGXYCopyrightIcon
java.lang.Object
com.luciad.format.bingmaps.copyright.TLcdBingMapsCopyrightIcon
com.luciad.format.bingmaps.copyright.gxy.TLcdBingMapsGXYCopyrightIcon
- All Implemented Interfaces:
ILcdIcon
,ILcdChangeSource
,ILcdCloneable
,Serializable
,Cloneable
TLcdBingMapsCopyrightIcon for displaying copyright info for an
ILcdGXYView
.- Since:
- 11.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdBingMapsGXYCopyrightIcon
(ILcdGXYView aGXYView) Creates a new Bing Maps copyright icon that will automatically be kept consistent with the passed view. -
Method Summary
Methods inherited from class com.luciad.format.bingmaps.copyright.TLcdBingMapsCopyrightIcon
addChangeListener, asComponent, getAlignment, getCopyright, getFont, getFontColor, getIconHeight, getIconWidth, getMaxLineWidth, getShadowColor, removeChangeListener, setAlignment, setCopyright, setFont, setFontColor, setMaxLineWidth, setShadowColor
-
Constructor Details
-
TLcdBingMapsGXYCopyrightIcon
Creates a new Bing Maps copyright icon that will automatically be kept consistent with the passed view.- Parameters:
aGXYView
- the view for which the icon will display copyright information.
-
-
Method Details
-
paintIcon
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
- Overrides:
paintIcon
in classTLcdBingMapsCopyrightIcon
- 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.
-
clone
Description copied from interface:ILcdCloneable
Makes
When for example extending fromObject.clone()
public.java.lang.Object
, it can be implemented like this:public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { // Cannot happen: extends from Object and implements Cloneable (see also Object.clone) throw new RuntimeException( e ); } }
- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classTLcdBingMapsCopyrightIcon
- See Also:
-