001package jmri.jmrit.display;
002
003import jmri.jmrit.catalog.NamedIcon;
004
005/**
006 * An icon to display a status of a Memory.
007 * <p>
008 * The value of the memory can't be changed with this icon.
009 *
010 * @author Bob Jacobsen     Copyright (c) 2004
011 * @author Daniel Bergqvist Copyright (C) 2022
012 * @since 5.3.1
013 */
014public abstract class MemoryOrGVIcon extends PositionableLabel {
015
016    public MemoryOrGVIcon(String s, Editor editor) {
017        super(s, editor);
018    }
019
020    public MemoryOrGVIcon(NamedIcon s, Editor editor) {
021        super(s, editor);
022    }
023
024    public abstract void displayState();
025
026    public abstract int getOriginalX();
027
028    public abstract int getOriginalY();
029
030}