001package jmri.jmrit.signalsystemeditor; 002 003/** 004 * A link to an image with its type. 005 * 006 * @author Daniel Bergqvist (C) 2022 007 */ 008public class ImageLink { 009 010 private String _imageLink; 011 private ImageType _type; 012 013 public ImageLink(String imageLink, ImageType type) { 014 this._imageLink = imageLink; 015 this._type = type; 016 } 017 018 public void setImageLink(String comment) { 019 this._imageLink = comment; 020 } 021 022 public String getImageLink() { 023 return this._imageLink; 024 } 025 026 public void setType(ImageType type) { 027 this._type = type; 028 } 029 030 public ImageType getType() { 031 return this._type; 032 } 033 034}