/*
|
* To change this template, choose Tools | Templates
|
* and open the template in the editor.
|
*/
|
|
/**
|
*
|
* @author nbriere
|
*/
|
public class cRadio extends javax.swing.JRadioButton
|
{
|
cRadio(String name)
|
{
|
super(name);
|
|
//setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
|
setBorder(new javax.swing.border.EtchedBorder());
|
}
|
|
Object3D GetObject()
|
{
|
return object;
|
}
|
|
void SetObject(Object3D o)
|
{
|
object = o;
|
}
|
|
void SetCamera(Camera c, boolean link)
|
{
|
if (link)
|
camera = c;
|
else
|
camera = (Camera)Grafreed.clone(c);
|
}
|
|
//byte[] versions[] = new byte[100][];
|
//boolean[] user = new boolean[100];
|
|
//int versionindex = -1;
|
|
// Patch to avoid bug with transparency.
|
boolean hadMaterial;
|
|
Object3D object;
|
Camera camera;
|
cButton layout;
|
}
|