Class IconPainter.PickResult
- java.lang.Object
-
- com.metsci.glimpse.core.support.atlas.painter.IconPainter.PickResult
-
- Enclosing class:
- IconPainter
public class IconPainter.PickResult extends Object
-
-
Constructor Summary
Constructors Constructor Description PickResult(Object groupId, Object iconId, int iconIndex, GlimpseTargetStack stack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ObjectgetGroupId()ObjectgetIconId()intgetIconIndex()GlimpseTargetStackgetTargetStack()PickResults report a GlimpseTargetStack because they may be generated from instances of the painter draw to different GlimpseTargets.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PickResult
public PickResult(Object groupId, Object iconId, int iconIndex, GlimpseTargetStack stack)
-
-
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 likecom.metsci.glimpse.painter.track.LineStripTrackPainterhave 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.
-
-