MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: GUIKit / GraphEditor - java code for SetPropertyValue[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51369] Re: [mg51331] GUIKit / GraphEditor - java code for SetPropertyValue[]
  • From: Jeff Adams <jeffa at wolfram.com>
  • Date: Fri, 15 Oct 2004 02:47:00 -0400 (EDT)
  • References: <200410141037.GAA14957@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Oct 14, 2004, at 5:37 AM, Wishmaster7 wrote:

> hello all.
>
> in the Graph Editor example, the Mathematica code calls the
> SetPropertyValue[] function, that changes the value of the graph. can
> someone tell me where is the java code that is applied when we call
> that function?
>
> I really need to do that change to the code, so if someone can help
> me, I will be very thankful.
>
> Wishmaster7

Hello,

You really do not want to look at or modify the general underlying code
of SetPropertyValue[].  This is a fundamental GUIKit framework function
for modifying any and all properties of all widgets in the entire 
system.

You are more specifically interested in the "expr" property of the 
"GraphPanel"
and so you want to look at the code that gets and sets this specific 
property.

As I have mentioned to you in previous personal correspondences, this 
would be
in the com.wolfram.guikit.graph.* classes
and in particular, the setExpr(Expr e) method on the class 
com.wolfram.guikit.graph.ExprAccessibleGraphPane.java
This is where all of the construction of the nodes and edges of the 
graph begin by reading the corresponding
Mathematica graph expression structure and this is where you would 
begin to look at or modify how
the GraphEdit visual nodes and edges are constructed based on the 
Mathematica expression being passed in.

Thanks,
Jeff Adams
Wolfram Research


  • Prev by Date: Re: FilledPlot Sideways?
  • Next by Date: Re: Need Help: 1st order nonlinear differential equation
  • Previous by thread: GUIKit / GraphEditor - java code for SetPropertyValue[]
  • Next by thread: GUI Support for Zoom