jmri.jmrit.operations.rollingstock.cars
Class CarOwners
java.lang.Object
jmri.jmrit.operations.rollingstock.cars.CarOwners
public class CarOwners
- extends Object
Represents the owner names that cars can have.
- Author:
- Daniel Boudreau Copyright (C) 2008
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CAROWNERS_NAME_CHANGED_PROPERTY
public static final String CAROWNERS_NAME_CHANGED_PROPERTY
- See Also:
- Constant Field Values
CAROWNERS_LENGTH_CHANGED_PROPERTY
public static final String CAROWNERS_LENGTH_CHANGED_PROPERTY
- See Also:
- Constant Field Values
CarOwners
public CarOwners()
instance
public static CarOwners instance()
dispose
public void dispose()
getNames
public String[] getNames()
setNames
public void setNames(String[] owners)
addName
public void addName(String owner)
deleteName
public void deleteName(String owner)
replaceName
public void replaceName(String oldName,
String newName)
containsName
public boolean containsName(String owner)
getComboBox
public JComboBox getComboBox()
updateComboBox
public void updateComboBox(JComboBox box)
getCurMaxNameLength
public int getCurMaxNameLength()
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
firePropertyChange
protected void firePropertyChange(String p,
Object old,
Object n)
Copyright © 1997 - 2011 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: