Inspector is a property-editor panel. It accepts any IConfigurable object and renders its configurable properties inside a ScrollerView. Changes to properties are optionally recorded in an undo/redo history stack.
Everything documented on UIElement (layout, styles, events, data bindings, etc.) applies here too.
Usage
varinspector=newInspector();parent.addChild(inspector);// Inspect an object (any IConfigurable):inspector.inspect(myObject);// Inspect with a change listener:inspector.inspect(myObject,configurator->{System.out.println("Changed: "+configurator.getLabel());});// Inspect with change listener + close callback:inspector.inspect(myObject,configurator->System.out.println("Changed"),()->System.out.println("Closed"));// Clear the inspector:inspector.clear();