Dukascopy Support Board

Add custom tags for IChartObject
Page 1 of 1

Author:  mtnfx [ Tue 30 Oct, 2018, 19:38 ]
Post subject:  Add custom tags for IChartObject

Add ability to attach custom data to chart objects, for example via following API (assuming allowed tag values are Strings or Java primitives - numbers and boolean).
Viewing/editing their values in simple key-value table in JForex UI is also needed.
    public interface IChartObject {
        List<String> getTagKeys();
        Object getTag(String tagKey);
        void setTag(String tagKey, Object tagValue);
        void removeTag(String tagKey);
        void removeAllTags();

  Page 1 of 1