Extending a Region to create a JUNG Layout

Danno Ferrin danno.ferrin at shemnon.com
Mon Jun 2 20:46:10 UTC 2014


Except the license.txt page points to the OSI page that is... BSD 2 Clause.

Here's the zoom pane as BSD 2 clause...

https://github.com/shemnon/FollowTheBitcoin/commit/effd601965875fec8891f8202afea1f84f1daf54

If you really want me to add the non-endorsement clause I can, but it is
kind of awkwardly worded for individual contributors.



On Sun, Jun 1, 2014 at 10:49 PM, Jeffrey Guenther <
guenther.jeffrey at gmail.com> wrote:

> BSD - 3 Clause - http://jung.sourceforge.net/license.txt
>
>
> On Sat, May 31, 2014 at 6:17 PM, Danno Ferrin <danno.ferrin at shemnon.com>
> wrote:
>
>> The new matrix classes exposed in JavaFX 8 help a lot.
>>
>> I'll re-license it BSD.  2 clause, 3 clause, new?  Can you point me to a
>> preferred header?
>>
>>
>> On Fri, May 30, 2014 at 6:11 PM, Jeffrey Guenther <
>> guenther.jeffrey at gmail.com> wrote:
>>
>>> Danno, thanks! It works super well and has so little code!
>>>
>>> If I use the class in my JUNG work, I need a BSD license. The rest of
>>> that codebase is BSD already. I’ll contact you off list if I go that
>>> direction. Right now, I’m trying to get my head wrapped around what it
>>> would take to modernize JUNG.
>>>
>>>
>>> On May 30, 2014, at 4:20 PM, Danno Ferrin <danno.ferrin at oracle.com>
>>> wrote:
>>>
>>> > You may find this class valuable, it is a pane that listens to zoom
>>> and mouse scroll events in a group, essential for large graphs:
>>> >
>>> >
>>> https://github.com/shemnon/FollowTheBitcoin/blob/master/src/main/groovy/com/shemnon/btc/view/ZoomPane.java
>>> >
>>> > I haven't had time to harden it and componentize it into a standalone
>>> release.  If you don't like the license let me know what license you would
>>> like.
>>> >
>>> > --Danno
>>> >
>>> > ----- Original Message -----
>>> > From: sven.reimers at gmail.com
>>> > To: guenther.jeffrey at gmail.com
>>> > Cc: openjfx-dev at openjdk.java.net
>>> > Sent: Friday, May 30, 2014 1:27:48 AM GMT -07:00 US/Canada Mountain
>>> > Subject: Re: Extending a Region to create a JUNG Layout
>>> >
>>> > Hi Jeffrey,
>>> >
>>> > I did some prototyping with Jung JavaFX and Java 8, the results are
>>> here
>>> >
>>> > https://bitbucket.org/sreimers/jung8
>>> >
>>> > It uses gradle to build and contains an additional library for jungfx.
>>> >
>>> > Enjoy
>>> >
>>> > -Sven
>>> >
>>> >
>>> > On Fri, May 30, 2014 at 8:44 AM, Jeffrey Guenther <
>>> > guenther.jeffrey at gmail.com> wrote:
>>> >
>>> >> Hi,
>>> >>
>>> >> I'm in the midst of exploring how I might port JUNG(
>>> >> http://jung.sourceforge.net/index.html) to JavaFX. JUNG is a
>>> graph/layout
>>> >> tool my lab uses for some of their data visualizations. With the
>>> release of
>>> >> JavaFX 2, we've started building our prototypes in JavaFX.
>>> >>
>>> >> Rather than use the JFXSwingPanel, I want to try modifying the JUNG
>>> to work
>>> >> "natively" in JavaFX. In the long term, I'd like to see JUNG ported
>>> >> completely to JavaFX using properties, CSS and the like.
>>> >>
>>> >> I've built a quick demo (
>>> >> https://gist.github.com/jrguenther/9d0c37329f9928a2b56e) and need
>>> help
>>> >> going forward. I've been reading the docs and hitting google, but I
>>> think I
>>> >> need more info.
>>> >>
>>> >> Can someone point me to a detailed explanation of how to extend
>>> Region to
>>> >> create my own layout?
>>> >> In particular, how can I get a region to relayout it's children when
>>> it's
>>> >> being resized?
>>> >> When does a the region's parent call layoutChildren()?
>>> >> If the height and width of the region are set to Double.MAX_VALUE
>>> >> indicating the area can grow infinitely, how does the region know
>>> what size
>>> >> to set itself to?
>>> >>
>>> >> Thanks,
>>> >> Jeff
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Sven Reimers
>>> >
>>> > * Senior Expert Software Architect
>>> > * NetBeans Dream Team Member: http://dreamteam.netbeans.org
>>> > * Community Leader  NetBeans: http://community.java.net/netbeans
>>> >                              Desktop Java:
>>> > http://community.java.net/javadesktop
>>> > * JUG Leader JUG Bodensee: http://www.jug-bodensee.de
>>> > * Duke's Choice Award Winner 2009
>>> > * Blog: https://www.java.net//blog/sven
>>> >
>>> > * XING: https://www.xing.com/profile/Sven_Reimers8
>>> > * LinkedIn: http://www.linkedin.com/in/svenreimers
>>> >
>>> > Join the NetBeans Groups:
>>> > * XING: http://www.xing.com/group-20148.82db20
>>> > * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
>>> > * LinkedIn: http://www.linkedin.com/groups?gid=1860468
>>> >                   http://www.linkedin.com/groups?gid=107402
>>> >                   http://www.linkedin.com/groups?gid=1684717
>>> > * Oracle: https://mix.oracle.com/groups/18497
>>>
>>>
>>
>


More information about the openjfx-dev mailing list