001package jmri.jmrit.display;
002
003import java.util.ArrayList;
004import jmri.NamedBeanHandle;
005import jmri.Sensor;
006import jmri.jmrit.logix.OBlock;
007
008/**
009 * Defines track objects that display status color.
010 *
011 * @author Pete Cressman Copyright (c) 2010
012 */
013public interface IndicatorTrack extends Positionable {
014
015    void setOccSensor(String pName);
016
017    void setOccSensorHandle(NamedBeanHandle<Sensor> senHandle);
018
019    Sensor getOccSensor();
020
021    NamedBeanHandle<Sensor> getNamedOccSensor();
022
023    void setOccBlock(String pName);
024
025    void setOccBlockHandle(NamedBeanHandle<OBlock> blockHandle);
026
027    OBlock getOccBlock();
028
029    NamedBeanHandle<OBlock> getNamedOccBlock();
030
031    void setShowTrain(boolean set);
032
033    boolean showTrain();
034
035    ArrayList<String> getPaths();
036
037    void addPath(String path);
038
039    void removePath(String path);
040
041    void setStatus(int state);
042}