/** * @param remove icons with given position * @return the number of remaining icons */ public int removeIcon(final int position) { return icons.removeIcon(position); }
/** * remove last icon * * @return the number of remaining icons. */ public int removeIcon() { return icons.removeIcon(); }
public List<MindIcon> getIcons() { return icons.getIcons(); }
public MindIcon getIcon(final int position) { return icons.getIcon(position); }
public void addIcon(final MindIcon icon, final int position) { icons.addIcon(icon, position); getMap().getIconRegistry().addIcon(icon); }
public void addIcon(final MindIcon icon) { icons.addIcon(icon); if (map != null) { map.getIconRegistry().addIcon(icon); } }