com.nutiteq.ui
Class StringCopyright
java.lang.Object
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.
|
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 |
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
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).
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 onscreenWidth - map view widthscreenHeight - map view height