MathGroup Archive 2004

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

Search the Archive

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

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

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


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 

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

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
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.

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