Development Notes: Attributes

Updated for release version: 1.0.7-alpha

This page discusses the modelGUI Attibute and AttributeList classes, and their descendants. These classes provide a standard way to define and modify attributes for interface objects in mgui. Examples of attribute functions are: the rendering and behaviour of an Interface Shape; the specification of a Data Source; or parameter definitions for a Dynamic Model.

Introduction

Attribute class

Instantiation

Getting and setting a value

AttributeListeners

AttributeList class

Instantiation

Getting and setting values

Firing listeners

AttributeSelection class

Instantiation

Getting and setting values

Tutorials

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License