Java/Advanced Graphics/Tree
Версия от 18:01, 31 мая 2010;  (обсуждение)
Содержание
Custom Tree Layout
<source lang="java">
import java.awt.*; import javax.swing.*; import no.geosoft.cc.geometry.Geometry; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
- 
 * 
 - Nested GObject hierarchy *
 - Style inheritance *
 - Simple selection interaction *
 
* * @author
Graph Tree Model
Object HierarchyDemo
<source lang="java">
import java.awt.*; import javax.swing.*; import no.geosoft.cc.geometry.Geometry; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
- 
 * 
 - Nested GObject hierarchy *
 - Style inheritance *
 - Simple selection interaction *
 
* * @author
Object Reparent
<source lang="java">
import java.awt.*; import javax.swing.*; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
- 
 * 
 - A sample game application *
 - Graphics animation *
 - GObject reparenting *
 
* * @author
Style inheritance
<source lang="java">
import java.awt.*; import javax.swing.*; import no.geosoft.cc.geometry.Geometry; import no.geosoft.cc.graphics.*;
/**
* G demo program. Demonstrates: **
- 
 * 
 - Nested GObject hierarchy *
 - Style inheritance *
 - Simple selection interaction *
 
* * @author