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

public class TLcdBingMapsGXYCopyrightIcon extends TLcdBingMapsCopyrightIcon
TLcdBingMapsCopyrightIcon for displaying copyright info for an ILcdGXYView.
Since:
11.0
See Also:
  • Constructor Details

    • TLcdBingMapsGXYCopyrightIcon

      public TLcdBingMapsGXYCopyrightIcon(ILcdGXYView aGXYView)
      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

      public void paintIcon(Component c, Graphics g, int x, int y)
      Description copied from interface: ILcdIcon
      Draw the ILcdIcon at the specified location. ILcdIcon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.
      Specified by:
      paintIcon in interface ILcdIcon
      Overrides:
      paintIcon in class TLcdBingMapsCopyrightIcon
      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

      public Object clone()
      Description copied from interface: ILcdCloneable

      Makes Object.clone() public.

      When for example extending from 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 interface ILcdCloneable
      Overrides:
      clone in class TLcdBingMapsCopyrightIcon
      See Also: