public class TLcdBingMapsGXYCopyrightIcon extends TLcdBingMapsCopyrightIcon
ILcdGXYView
.Constructor and Description |
---|
TLcdBingMapsGXYCopyrightIcon(ILcdGXYView aGXYView)
Creates a new Bing Maps copyright icon that will automatically be kept consistent with the passed
view.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Makes
Object.clone() public. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Draw the
ILcdIcon at the specified location. |
addChangeListener, asComponent, getAlignment, getCopyright, getFont, getFontColor, getIconHeight, getIconWidth, getMaxLineWidth, getShadowColor, removeChangeListener, setAlignment, setCopyright, setFont, setFontColor, setMaxLineWidth, setShadowColor
public TLcdBingMapsGXYCopyrightIcon(ILcdGXYView aGXYView)
aGXYView
- the view for which the icon will display copyright information.public void paintIcon(Component c, Graphics g, int x, int y)
ILcdIcon
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.paintIcon
in interface ILcdIcon
paintIcon
in class TLcdBingMapsCopyrightIcon
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.public Object clone()
ILcdCloneable
Makes Object.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 );
}
}
clone
in interface ILcdCloneable
clone
in class TLcdBingMapsCopyrightIcon
Object.clone()