function Inspector(parent, object)
{
	Component.call(this, parent, "div");

	this.element.style.overflow = "auto";
	this.preventDragEvents();

	/**
	 * Object attached to this panel.
	 * 
	 * @property object
	 * @type {Object3D}
	 */ 
	this.object = null;
	this.attach(object);

	/**
	 * Inspector form.
	 *
	 * @property form
	 * @type {TableForm}
	 */
	this.form = new TableForm(this);
	this.form.setAutoSize(false);
}
A panel inspector is used to inspect and change the attributes of an object.

The panel has a form element that should be used to place the object attribute editing GUI.

@constructor
@class Inspector
@extends {Component}
@param {Component} parent
@param {Object} object Object to be edited by this inspector panel.