Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface RichText.StyleMapper

Computes a new style from an old one, for restyle.

Methods

public abstract TextStyle map(TextStyle style)Maps one style.

Method details

map

public abstract TextStyle map(TextStyle style)
Maps one style.

Parameters

style TextStyle
the style a run has

Returns

the style it should have