[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

MappedText

inherits from Text

Object <- Text <- MappedText



Operations

Get list of all operations

DestroyKeepOriginal
Init
RemapText


Attributes

Get list of all attributes

Info
TextMappingParameter


Fields

Field Type
MappedText: originalText: Text
mappedText: Text
textMapping: TextMapping
textMappingParameter: Object


Instance template

instance MappedText tag;
   originalText: nilObject;
     mappedText: nilObject;
    textMapping: nilObject;
textMappingParameter: nilObject;
end instance;

Class definition

Define Class MappedText;
    inherits from Text;

    field originalText: Text;
    field mappedText: Text;
    field textMapping: TextMapping;
    field textMappingParameter: Object, getter, setter, weak;

    overrides Init, Info;

    operation RemapText();                      
        // re-map original text into myself
    operation DestroyKeepOriginal(): Text;      
        // destroy mappedText object and return original text passed to Init
    attribute TextMappingParameter: Object;
end class;