Hello,
When I listening to button clicks using XActionListener,
I receive an ActionEvent.

ActionEvent has a string ActionCommand attribute.
What are the values that actionCommand string can take?
Any enumeration or constant group exists?

the api reference says:
he object that implements the
XActionListener<http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/XActionListener.html>
interface
gets this ActionEvent when the event occurs. The listener is therefore
spared the details of processing individual mouse movements and mouse
clicks, and can instead process a "meaningful" (semantic) event like
"button pressed".

so, should I check:
actionCommand.compareTo("button pressed")==0 ?


On Fri, Jul 26, 2013 at 8:17 PM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Hello Oliver,
>
> Thank you..!
>
>
> On Fri, Jul 26, 2013 at 8:08 PM, Oliver Brinzing 
> <oliver.brinz...@gmx.de>wrote:
>
>> Hi Rajath,
>>
>> i am sending you an example extension via email
>>
>> Regards
>>
>> Oliver
>>
>> --
>>
>> GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>
>>
>
>
> --
> Rajath S,
> M.Sc(Hons.) Physics,
> Birla Institute of Technology and Science - Pilani,
> Pilani
>



-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani

Reply via email to