Package jmri

Interface SignalAppearanceMap

All Known Implementing Classes:
DefaultSignalAppearanceMap

public interface SignalAppearanceMap
Access to signal appearance information.

Maps to an appearance file in a signal system. This interface does not provide any methods to change the map.

  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int DANGER
    Constant representing the "danger" aspect for a signal
    static int DARK
    Constant representing the "dark" aspect for a signal
    static int HELD
    Constant representing the "held" aspect for a signal
    static int PERMISSIVE
    Constant representing the "permissive" aspect for a signal
  • Method Summary

    Modifier and Type Method Description
    boolean checkAspect​(String aspect)
    Check if an aspect can be displayed.
    Enumeration<String> getAspects()
    Get all available aspect names.
    String getImageLink​(String aspect, String key)
    Get an Image Link associated with a specific aspect and type
    Vector<String> getImageTypes​(String aspect)
    Get a list of valid icon sets.
    String getProperty​(String aspect, String key)
    Get a property associated with a specific aspect
    SignalSystem getSignalSystem()
    Get the associated signal system and the common information it contains.
    String getSpecificAppearance​(int appearance)
    Return the aspect for a specific appearance.
    String[] getValidAspectsForAdvancedAspect​(String advancedAspect)
    Get a list of potential aspects that we could set the SignalMast to, given the state of the advanced signal mast.
    String summary()
    Provide a multi-line summary of the signal system content, typically for printing.