[OpenMap Users] Set Label To an OMRaster

From: Magdalini Zachariadou <m.zachariadou_at_rheinmetall.it>
Date: Fri, 26 Oct 2007 14:28:27 +0200

Hello everyone, I hope someone can help me...

To start, just the facts:

1) I have an OMGraphicHandlerLayer.

2) I have an OMGraphicList which contains an OMRaster .

Now, the problem:
I see the icon (the OMRaster) but I can not find a way to set and view a label or a text or a String related to the Icon.
Just as you would do it for a JButton and Its' label for example.

Here bellow I attach a piece of my code:

"........
OMGraphicHandlerLayer handler = new OMGraphicHandlerLayer();

Image myImage = Toolkit.getDefaultToolkit().getImage("image.png");

OMRaster myObject = new OMRaster(20f, 30f,myImage);

OMGraphicList mylist = new OMGraphicList();

mylist.addOMGraphic(myObject );

handler.setList(mylist);

........"

If anyone has tips for me, I would really appreciate it.

Thank You,

Mandy
 






Si comunica che a seguito del cambiamento di ragione sociale della nostra ditta da "Oerlikon Contraves SpA" a "Rheinmetall Italia SpA", a partire dal 01/08/2007 il dominio di posta elettronica oci.it č stato sostituito dal nuovo dominio rheinmetall.it.
Tutti gli indirizzi n.cognome_at_oci.it esistenti sono sostituiti dai corrispondenti n.cognome_at_rheinmetall.it ; il vecchio dominio continuerą a funzionare, in ricezione, sino al 31/12/2007.
Please be informed that the mail domain oci.it has changed to the new domain rheinmetall.it, as a consequence of the company name change from "Oerlikon Contraves SpA" to "Rheinmetall Italia SpA".
All present n.surname_at_oci.it e-mail addresses have been replaced by the corresponding n.surname_at_rheinmetall.it . Old addresses n.surname_at_oci.it will still be active in reception only until 31/12/2007.

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Oct 26 2007 - 08:37:37 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:08 EDT