com.nutiteq.ui
Class StringCopyright

java.lang.Object
  extended by com.nutiteq.ui.StringCopyright
All Implemented Interfaces:
Copyright

public class StringCopyright
extends java.lang.Object
implements Copyright

Default copyright implementation painting notice in lower-right corner of map display.


Field Summary
static int COPYRIGHT_FONT_LARGE
           
static int COPYRIGHT_FONT_MEDIUM
           
static int COPYRIGHT_FONT_SMALL
           
 
Constructor Summary
StringCopyright(java.lang.String copyright)
          Create copyright notice
StringCopyright(java.lang.String copyright, int fontSize)
          Create copyright notice with given font size.
 
Method Summary
 void paint(com.nutiteq.wrappers.Graphics g, int screenWidth, int screenHeight)
          Paint copyright notice on map view
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_FONT_SMALL

public static final int COPYRIGHT_FONT_SMALL
See Also:
Constant Field Values

COPYRIGHT_FONT_MEDIUM

public static final int COPYRIGHT_FONT_MEDIUM
See Also:
Constant Field Values

COPYRIGHT_FONT_LARGE

public static final int COPYRIGHT_FONT_LARGE
See Also:
Constant Field Values
Constructor Detail

StringCopyright

public StringCopyright(java.lang.String copyright)
Create copyright notice

Parameters:
copyright - copyright text

StringCopyright

public StringCopyright(java.lang.String copyright,
                       int fontSize)
Create copyright notice with given font size.

Parameters:
copyright - copyright text.
fontSize - font size defined in J2ME implementation (small, medium, large).
Method Detail

paint

public void paint(com.nutiteq.wrappers.Graphics g,
                  int screenWidth,
                  int screenHeight)
Description copied from interface: Copyright
Paint copyright notice on map view

Specified by:
paint in interface Copyright
Parameters:
g - graphics object to paint on
screenWidth - map view width
screenHeight - map view height