Fork me on GitHub

Introduction

SteelBlue (modules)

Javadoc

Table of contents

Roles

TBD

Displayable, LocalizedDisplayable

UML UML

This role models something that can be displayed as a text.

MutableDisplayable, MutableLocalizedDisplayable

UML UML

This is mutable a variant of Displayable, that is the related property can be changed and change listeners are supported.

StringRenderable

UML

This roles models something that can be rendered to a string. The concept is very similar to the one of Displayable, only the exposed API is different.

PlainTextRenderable

UML

This specialisation of StringRenderable makes it clear that the rendered string is a plain text.

HtmlRenderable

UML

This specialisation of StringRenderable makes it clear that the rendered string is a HTML text.

Changeable

UML

This role models something that can be changed.

IconProvider, MutableIconProvider

UML UML

These roles model something that can have an icon. The mutable version supports change listeners.

UserAction

UML

This role represents a callback that can be attached to a UI component that can be activated with a mouse click, such as a button or a menu itme. It can have in turn further roles (typically at least a Displayable and an IconProvider) and an enabled/disabled property.

UserActionProvider

UML

This role is a factory of UserActions.

Selectable

UML

This role represents a callback that can be attached to a UI component that contains a list of items that can be selected.

Styleable

UML

This role represents something that can have a style attached to it, for controlling some aspect of rendering; for instance, a lefT/right/center text justification, or a font style such as bold or italic.

Visibility

UML

This role represents something that can be made visible or invisible.

PresentationModel

The PresentationModel is a specific role that works as an adapter between the model classes and a UI. It is basically a bag of roles, partly coming from the adapter object, and partly added in second moment.

PresentationModel

UML TBD

PresentationModelAggregate

This role is an aggregate of PresentationModels associated to a name. It is suitable for modelling data that must be rendered on a table or a treeview.

UML TBD

PresentationModelFactory

UML TBD