User Tools

Site Tools


01_user_documentation:03_interacting_with_groimp:02_panels:04_attribute_editor:02_property_editors

Property editors

This section presents the property editors. These editors are the interactive tool that enable to change properties value. They are displayed in the attribute editor. The properties of a node is a different name for the attributes.

Persistent fields (in the java sense) of a Node are attributes. Basically, all fields that are NOT static, const nor transient are attributes. The persistence management of the Node require each attribute to have accessors, which are declared in the node.

β†’ Read more...

Primitive properties

If not differently noted in the code, attributes of primitive types(int,float…) as well as Strings are added displayed in the attribute editor as text fields. The values can be changed via text input, but only valid inputs are stored (an integer attribute only stores integer values).

Changes in a text field are only saved if either enter was pressed or if another text field was selected.

Boolean properties

Boolean attributes are displayed as a checkbox where true is checked and false is unchecked.

Array properties

Starting with GroIMP 2.2.2, one and two dimensional arrays of primitive can be viewed and edited.

β†’ Read more...

File properties

Starting with GroIMP 2.2.2. attributes of the type java.io.File are represented by a widget of a button that open a java file chooser, a preview icon that shows whats currently selected and a text field with the current path.

Property annotations

Annotation can be used to change the appearance of an attribute in the Attribute editor.

β†’ Read more...

01_user_documentation/03_interacting_with_groimp/02_panels/04_attribute_editor/02_property_editors.txt Β· Last modified: 2025/10/07 16:45 by gaetan