jmri.jmrit.throttle
Class ThrottlesPreferences

java.lang.Object
  extended by jmri.jmrit.throttle.ThrottlesPreferences

public class ThrottlesPreferences
extends Object


Constructor Summary
ThrottlesPreferences()
           
ThrottlesPreferences(String sfile)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
          Add an AddressListener.
 boolean compareTo(ThrottlesPreferences tp)
           
 Dimension getWindowDimension()
           
 boolean isAutoLoading()
           
 boolean isCleaningOnClose()
           
 boolean isEnablingRosterSearch()
           
 boolean isHidingUndefinedFuncButt()
           
 boolean isIgnoringThrottlePosition()
           
 boolean isResizingWindow()
           
 boolean isSavingThrottleOnLayoutSave()
           
 boolean isUsingExThrottle()
           
 boolean isUsingFunctionIcon()
           
 boolean isUsingRosterImage()
           
 boolean isUsingToolBar()
           
 void load(Element e)
           
 void removePropertyChangeListener(PropertyChangeListener l)
          Remove an AddressListener.
 void save()
           
 void set(ThrottlesPreferences tp)
           
 void setAutoLoad(boolean b)
           
 void setCleanOnClose(boolean b)
           
 void setEnableRosterSearch(boolean b)
           
 void setHideUndefinedFuncButt(boolean b)
           
 void setIgnoreThrottlePosition(boolean b)
           
 void setResizeWindow(boolean winImg)
           
 void setSaveThrottleOnLayoutSave(boolean b)
           
 void setUseExThrottle(boolean exThrottle)
           
 void setUseRosterImage(boolean rosterImage)
           
 void setUsingFunctionIcon(boolean useFunctionIcon)
           
 void setUsingToolBar(boolean win4all)
           
 void setWindowDimension(Dimension d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrottlesPreferences

public ThrottlesPreferences(String sfile)

ThrottlesPreferences

public ThrottlesPreferences()
Method Detail

load

public void load(Element e)

set

public void set(ThrottlesPreferences tp)

compareTo

public boolean compareTo(ThrottlesPreferences tp)

save

public void save()

getWindowDimension

public Dimension getWindowDimension()

setWindowDimension

public void setWindowDimension(Dimension d)

isUsingExThrottle

public boolean isUsingExThrottle()

setUseExThrottle

public void setUseExThrottle(boolean exThrottle)

isUsingToolBar

public boolean isUsingToolBar()

setUsingToolBar

public void setUsingToolBar(boolean win4all)

isUsingFunctionIcon

public boolean isUsingFunctionIcon()

setUsingFunctionIcon

public void setUsingFunctionIcon(boolean useFunctionIcon)

isResizingWindow

public boolean isResizingWindow()

setResizeWindow

public void setResizeWindow(boolean winImg)

isUsingRosterImage

public boolean isUsingRosterImage()

setUseRosterImage

public void setUseRosterImage(boolean rosterImage)

isEnablingRosterSearch

public boolean isEnablingRosterSearch()

setEnableRosterSearch

public void setEnableRosterSearch(boolean b)

setAutoLoad

public void setAutoLoad(boolean b)

isAutoLoading

public boolean isAutoLoading()

setHideUndefinedFuncButt

public void setHideUndefinedFuncButt(boolean b)

isHidingUndefinedFuncButt

public boolean isHidingUndefinedFuncButt()

setIgnoreThrottlePosition

public void setIgnoreThrottlePosition(boolean b)

isIgnoringThrottlePosition

public boolean isIgnoringThrottlePosition()

setCleanOnClose

public void setCleanOnClose(boolean b)

isCleaningOnClose

public boolean isCleaningOnClose()

setSaveThrottleOnLayoutSave

public void setSaveThrottleOnLayoutSave(boolean b)

isSavingThrottleOnLayoutSave

public boolean isSavingThrottleOnLayoutSave()

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Add an AddressListener. AddressListeners are notified when the user selects a new address and when a Throttle is acquired for that address

Parameters:
l -

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Remove an AddressListener.

Parameters:
l -


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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads