Beans Support

Bean Descriptors

properties(Class class)
events(Class class)
methods(Class class)
> properties(class java.awt.Component)
["enabled", "foreground", "visible", "background", "font", "name"]

Setting Properties

property(Object bean , Object [ ] array)
or
(Object bean , Package pkg)
c1 = JCheckBox("Button1")
property(c1, [["mnemonic", '1'],
              ["actionCommand", "Button1"],
              ["selected", true]])
ta = JTextArea(row[i])
property(ta, $(`alignmentX = Component::LEFT_ALIGNMENT;
		background = Color::black; foreground = Color::white;
	        lineWrap = true; wrapStyleWord = true; editable = false;`))

Back