Class IconPainter.PickResult

    • Method Detail

      • getGroupId

        public Object getGroupId()
      • getIconId

        public Object getIconId()
      • getIconIndex

        public int getIconIndex()
      • getTargetStack

        public GlimpseTargetStack getTargetStack()
        PickResults report a GlimpseTargetStack because they may be generated from instances of the painter draw to different GlimpseTargets. A particular listener might only care about icon selections from one of those GlimpseTargets. Other painters like com.metsci.glimpse.painter.track.LineStripTrackPainter have similar issues. There is not a Glimpse-wide solution to this general problem which was introduced as an ugly side-effect of the painter retargeting changes made in Glimpse 0.8.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object