jmri
Interface SignalHeadManager

All Superinterfaces:
Manager
All Known Implementing Classes:
AbstractSignalHeadManager

public interface SignalHeadManager
extends Manager

Interface for obtaining signal heads.

This doesn't have a "new" method, as SignalHeads are separately implemented, instead of being system-specific.


This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Author:
Bob Jacobsen Copyright (C) 2001

Method Summary
 void dispose()
          Free resources when no longer used.
 SignalHead getBySystemName(String s)
           
 SignalHead getByUserName(String s)
           
 SignalHead getSignalHead(String name)
          Locate via user name, then system name if needed.
 List getSystemNameList()
          Get a list of all SignalHead system names.
 
Methods inherited from interface jmri.Manager
addPropertyChangeListener, deregister, makeSystemName, register, removePropertyChangeListener, systemLetter, typeLetter
 

Method Detail

dispose

void dispose()
Description copied from interface: Manager
Free resources when no longer used. Specifically, remove all references to and from this object, so it can be garbage-collected.

Specified by:
dispose in interface Manager

getSignalHead

SignalHead getSignalHead(String name)
Locate via user name, then system name if needed. Does not create a new one if nothing found

Parameters:
name -
Returns:
null if no match found

getByUserName

SignalHead getByUserName(String s)

getBySystemName

SignalHead getBySystemName(String s)

getSystemNameList

List getSystemNameList()
Get a list of all SignalHead system names.

Specified by:
getSystemNameList in interface Manager


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo