Code covered by the BSD License  

Highlights from
Property grid using JIDE implementation

image thumbnail

Property grid using JIDE implementation

by

 

A graphical user control based on the JIDE PropertyGrid that mimics MatLab's property inspector.

example_propertyeditor
% Demonstrates how to use the property editor.
%
% See also: PropertyEditor

% Copyright 2010 Levente Hunyadi
function example_propertyeditor

% create figure
f = figure( ...
    'MenuBar', 'none', ...
    'Name', 'Property editor demo - Copyright 2010 Levente Hunyadi', ...
    'NumberTitle', 'off', ...
    'Toolbar', 'none');
items = { SampleObject SampleObject };
editor = PropertyEditor(f, 'Items', items);
editor.AddItem(SampleNestedObject, 1);
editor.RemoveItem(1);

Contact us