[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing Co-ordinates Using Java
From: |
Marcus G. Daniels |
Subject: |
Re: Passing Co-ordinates Using Java |
Date: |
11 Feb 2002 09:16:10 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7 |
>>>>> "WA" == William Adam <address@hidden> writes:
WA> In the HeatbugObserverSwarm there is the statement :
WA> worldRaster.setButton$Client$Message (3, heatbugDisplay, new
WA> Selector (heatbugDisplay.getClass (), "makeProbeAtX$Y",true)); Is
WA> there a way to pass the co-ordinates (or the object clicked on)
WA> into a method using only java code - not utilising objective c ?
In that case, no, because the method specifically expects a
message/selector argument and a target to send it to. However, the
FArguments/FCall & FAction facility makes it possible to set up calls
directly to Java that can have complicated typing and do not involve
Objective C message dispatch when executed. There are several examples
in the mailing list archives. Use the search feature to find
documents with "TestFAction", "FArguments", "FCall", etc.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.