jmri.jmrit.operations.setup
Class Setup

Show UML class diagram
java.lang.Object
  extended by jmri.jmrit.operations.setup.Setup

public class Setup
extends Object

Operations settings.


Field Summary
static String AAR
           
static String BLACK
           
static String BLUE
           
static String BOX
           
static String BUILD_REPORT_DETAILED
           
static String BUILD_REPORT_MINIMAL
           
static String BUILD_REPORT_NORMAL
           
static String BUILD_REPORT_VERY_DETAILED
           
static String COLOR
           
static String COMMENT
           
static String CONSIST
           
static String CYAN
           
static String DESCRIPTIVE
           
static String DEST_TRACK
           
static String DESTINATION
           
static String DROP_COMMENT
           
static int EAST
           
static String EAST_DIR
           
static String FEET
           
static String FINAL_DEST
           
static String FINAL_DEST_TRACK
           
static int G_SCALE
           
static String GRAY
           
static String GREEN
           
static String HALFPAGE
           
static String HANDHELD
           
static String HAZARDOUS
           
static int HO_SCALE
           
static int HOn3_SCALE
           
static String KERNEL
           
static String LANDSCAPE
           
static String LENGTH
           
static String LENGTHABV
           
static String LOAD
           
static String LOCATION
           
(package private) static org.slf4j.Logger log
           
static String MAGENTA
           
static String MANIFEST_CSV_PROPERTY_CHANGE
           
static String METER
           
static String MODEL
           
static String MONOSPACED
           
static int N_SCALE
           
static String NO_COLOR
           
static String NO_DEST_TRACK
           
static String NO_DESTINATION
           
static String NO_LOCATION
           
static String NO_NUMBER
           
static String NO_ROAD
           
static String NO_TRACK
           
static String NONE
           
static int NORTH
           
static String NORTH_DIR
           
static String NUMBER
           
static int O_SCALE
           
static int On3_SCALE
           
static int OO_SCALE
           
static String ORANGE
           
static String OWNER
           
(package private) static PropertyChangeSupport pcs
           
static String PICKUP_COMMENT
           
static String PINK
           
static String PORTRAIT
           
static String RED
           
static String ROAD
           
static String RWE
           
static int S_SCALE
           
static int Sn3_SCALE
           
static int SOUTH
           
static String SOUTH_DIR
           
static int STANDARD
           
static String STANDARD_FORMAT
           
static String SWITCH_LIST_CSV_PROPERTY_CHANGE
           
static String TAB
           
static String TAB2
           
static String TAB3
           
static String TRACK
           
static int TT_SCALE
           
static int TWO_COLUMN
           
static String TWO_COLUMN_FORMAT
           
static int TWO_COLUMN_TRACK
           
static String TWO_COLUMN_TRACK_FORMAT
           
static String TYPE
           
static int WEST
           
static String WEST_DIR
           
static String YELLOW
           
static int Z_SCALE
           
 
Constructor Summary
Setup()
           
 
Method Summary
static void addPropertyChangeListener(PropertyChangeListener l)
           
static int getAddWeight()
           
static int getBuildReportFontSize()
           
static String getBuildReportLevel()
           
static String[] getCarAttributes()
           
static JComboBox getCarMessageComboBox()
           
static int getCarMoves()
           
static String getCarTypes()
           
static Color getColor(String colorName)
           
static JComboBox getComboBox()
           
static int getDirectionInt(String direction)
          Converts String direction to binary direction
static String getDirectionString(int direction)
          Converts binary direction to String direction
static String[] getDirectionStrings(int directions)
          Converts binary direction to a set of String directions
static String[] getDropCarMessageFormat()
           
static String getDropCarPrefix()
           
static Color getDropColor()
           
static String[] getDropEngineMessageFormat()
           
static String getDropEnginePrefix()
           
static String getDropTextColor()
           
static String[] getEngineAttributes()
           
static JComboBox getEngineMessageComboBox()
           
static String getFontName()
           
static String getHazardousMsg()
           
static int getHorsePowerPerTon()
           
static int getInitalWeight()
           
static String getLengthUnit()
           
static List<String> getList()
          Get train directions
static Color getLocalColor()
           
static String[] getLocalMessageFormat()
           
static String getLocalPrefix()
           
static String getLocalTextColor()
           
static String[] getLocalUtilityCarMessageFormat()
           
static int getManifestFontSize()
           
static String getManifestFormat()
           
static JComboBox getManifestFormatComboBox()
           
static String getManifestLogoURL()
           
static String getManifestOrientation()
           
static int getManifestPrefixLength()
           
static int getMaxNumberEngines()
           
static int getMaxTrainLength()
           
static String getMiaComment()
           
static String[] getMissingCarMessageFormat()
           
static int getNumberPasses()
           
static JComboBox getOrientationComboBox()
           
static String getOwnerName()
           
static String getPanelName()
           
static String[] getPickupCarMessageFormat()
           
static String getPickupCarPrefix()
           
static Color getPickupColor()
           
static String[] getPickupEngineMessageFormat()
           
static String getPickupEnginePrefix()
           
static String getPickupTextColor()
           
static String[] getPickupUtilityCarMessageFormat()
          Gets the manifest format for utility cars.
static JComboBox getPrintColorComboBox()
           
static String getRailroadName()
           
static String getRfidLabel()
           
static String getRouterBuildReportLevel()
           
static int getScale()
           
static int getScaleRatio()
           
static int getScaleTonRatio()
           
static String[] getSetoutUtilityCarMessageFormat()
           
static String[] getSwitchListDropCarMessageFormat()
           
static String getSwitchListDropCarPrefix()
           
static String[] getSwitchListLocalMessageFormat()
           
static String getSwitchListLocalPrefix()
           
static String[] getSwitchListLocalUtilityCarMessageFormat()
           
static String getSwitchListOrientation()
           
static String[] getSwitchListPickupCarMessageFormat()
           
static String getSwitchListPickupCarPrefix()
           
static String[] getSwitchListPickupUtilityCarMessageFormat()
           
static int getSwitchListPrefixLength()
           
static String[] getSwitchListSetoutUtilityCarMessageFormat()
           
static int getSwitchTime()
           
static int getTab1Length()
           
static int getTab2Length()
           
static int getTab3Length()
           
static int getTrainDirection()
           
static String getTrainIconColorEast()
           
static String getTrainIconColorLocal()
           
static String getTrainIconColorNorth()
           
static String getTrainIconColorSouth()
           
static String getTrainIconColorTerminate()
           
static String getTrainIconColorWest()
           
static int getTravelTime()
           
static String[] getTruncatedPickupManifestMessageFormat()
           
static String[] getTruncatedSetoutManifestMessageFormat()
           
static String getValueLabel()
           
static String getYearModeled()
           
static boolean is12hrFormatEnabled()
           
static boolean isAllowReturnToStagingEnabled()
           
static boolean isAutoBackupEnabled()
           
static boolean isAutoSaveEnabled()
           
static boolean isBuildAggressive()
           
static boolean isBuildReportAlwaysPreviewEnabled()
           
static boolean isBuildReportEditorEnabled()
           
static boolean isBuildReportIndentEnabled()
           
static boolean isCarLoggerEnabled()
           
static boolean isCarRoutingEnabled()
           
static boolean isCarRoutingViaStagingEnabled()
           
static boolean isCarRoutingViaYardsEnabled()
           
static boolean isCheckCarDestinationEnabled()
           
static boolean isCloseWindowOnSaveEnabled()
           
static boolean isEngineLoggerEnabled()
           
static boolean isForwardToYardEnabled()
           
static boolean isGenerateCsvManifestEnabled()
           
static boolean isGenerateCsvSwitchListEnabled()
           
static boolean isLocalInterchangeMovesEnabled()
           
static boolean isLocalSpurMovesEnabled()
           
static boolean isLocalYardMovesEnabled()
           
static boolean isMainMenuEnabled()
           
static boolean isManifestEditorEnabled()
           
static boolean isOnlyActiveTrainsEnabled()
           
static boolean isPrintHeadersEnabled()
           
static boolean isPrintLoadsAndEmptiesEnabled()
           
static boolean isPrintLocationCommentsEnabled()
           
static boolean isPrintRouteCommentsEnabled()
           
static boolean isPrintTimetableNameEnabled()
           
static boolean isPrintValidEnabled()
           
static boolean isPromptFromStagingEnabled()
           
static boolean isPromptToStagingEnabled()
           
static boolean isRfidEnabled()
           
static boolean isSortByTrackEnabled()
           
static boolean isStagingTrackImmediatelyAvail()
           
static boolean isSwitchListAllTrainsEnabled()
           
static boolean isSwitchListFormatSameAsManifest()
           
static boolean isSwitchListPagePerTrainEnabled()
           
static boolean isSwitchListRealTime()
           
static boolean isSwitchListRouteLocationCommentEnabled()
           
static boolean isTabEnabled()
           
static boolean isTrainIconAppendEnabled()
           
static boolean isTrainIconCordEnabled()
           
static boolean isTrainIntoStagingCheckEnabled()
           
static boolean isTrainLoggerEnabled()
           
static boolean isTruncateManifestEnabled()
           
static boolean isTwoColumnFormatEnabled()
           
static boolean isUseDepartureTimeEnabled()
           
static boolean isValueEnabled()
           
static boolean isVsdPhysicalLocationEnabled()
           
static void load(org.jdom.Element e)
           
static void removePropertyChangeListener(PropertyChangeListener l)
           
static void set12hrFormatEnabled(boolean enable)
           
static void setAllowReturnToStagingEnabled(boolean enabled)
           
static void setAutoBackupEnabled(boolean enabled)
           
static void setAutoSaveEnabled(boolean enabled)
           
static void setBuildAggressive(boolean enabled)
           
static void setBuildReportAlwaysPreviewEnabled(boolean enable)
           
static void setBuildReportEditorEnabled(boolean enable)
           
static void setBuildReportFontSize(int size)
           
static void setBuildReportIndentEnabled(boolean enable)
           
static void setBuildReportLevel(String level)
           
static void setCarLoggerEnabled(boolean enable)
           
static void setCarMoves(int moves)
           
static void setCarRoutingEnabled(boolean enabled)
           
static void setCarRoutingViaStagingEnabled(boolean enabled)
           
static void setCarRoutingViaYardsEnabled(boolean enabled)
           
static void setCarTypes(String types)
           
static void setCheckCarDestinationEnabled(boolean enabled)
           
static void setCloseWindowOnSaveEnabled(boolean enabled)
           
protected static void setDirtyAndFirePropertyChange(String p, Object old, Object n)
           
static void setDropCarMessageFormat(String[] format)
           
static void setDropCarPrefix(String prefix)
           
static void setDropEngineMessageFormat(String[] format)
           
static void setDropEnginePrefix(String prefix)
           
static void setDropTextColor(String color)
           
static void setEngineLoggerEnabled(boolean enable)
           
static void setFontName(String name)
           
static void setForwardToYardEnabled(boolean enabled)
           
static void setGenerateCsvManifestEnabled(boolean enabled)
           
static void setGenerateCsvSwitchListEnabled(boolean enabled)
           
static void setHazardousMsg(String message)
           
static void setHorsePowerPerTon(int value)
           
static void setLengthUnit(String unit)
           
static void setLocalInterchangeMovesEnabled(boolean enabled)
           
static void setLocalMessageFormat(String[] format)
           
static void setLocalPrefix(String prefix)
           
static void setLocalSpurMovesEnabled(boolean enabled)
           
static void setLocalTextColor(String color)
           
static void setLocalYardMovesEnabled(boolean enabled)
           
static void setMainMenuEnabled(boolean enabled)
           
static void setManifestEditorEnabled(boolean enable)
           
static void setManifestFontSize(int size)
           
static void setManifestFormat(String format)
           
static void setManifestLogoURL(String pathName)
           
static void setManifestOrientation(String orientation)
           
static void setMaxNumberEngines(int value)
           
static void setMaxTrainLength(int length)
           
static void setMiaComment(String comment)
           
static void setMissingCarMessageFormat(String[] format)
           
static void setNumberPasses(int number)
           
static void setOnlyActiveTrainsEnabled(boolean enabled)
           
static void setOwnerName(String name)
           
static void setPanelName(String name)
           
static void setPickupCarMessageFormat(String[] format)
           
static void setPickupCarPrefix(String prefix)
           
static void setPickupEngineMessageFormat(String[] format)
           
static void setPickupEnginePrefix(String prefix)
           
static void setPickupTextColor(String color)
           
static void setPrintHeadersEnabled(boolean enable)
           
static void setPrintLoadsAndEmptiesEnabled(boolean enable)
           
static void setPrintLocationCommentsEnabled(boolean enable)
           
static void setPrintRouteCommentsEnabled(boolean enable)
           
static void setPrintTimetableNameEnabled(boolean enable)
           
static void setPrintValidEnabled(boolean enable)
           
static void setPromptFromStagingEnabled(boolean enabled)
           
static void setPromptToStagingEnabled(boolean enabled)
           
static void setRailroadName(String name)
           
static void setRfidEnabled(boolean enabled)
           
static void setRfidLabel(String label)
           
static void setRouterBuildReportLevel(String level)
           
static void setScale(int s)
           
static void setSortByTrackEnabled(boolean enable)
           
static void setStagingTrackImmediatelyAvail(boolean enabled)
           
static void setSwitchListAllTrainsEnabled(boolean b)
           
static void setSwitchListDropCarMessageFormat(String[] format)
           
static void setSwitchListDropCarPrefix(String prefix)
           
static void setSwitchListFormatSameAsManifest(boolean b)
           
static void setSwitchListLocalMessageFormat(String[] format)
           
static void setSwitchListLocalPrefix(String prefix)
           
static void setSwitchListOrientation(String orientation)
           
static void setSwitchListPagePerTrainEnabled(boolean b)
           
static void setSwitchListPickupCarMessageFormat(String[] format)
           
static void setSwitchListPickupCarPrefix(String prefix)
           
static void setSwitchListRealTime(boolean b)
           
static void setSwitchListRouteLocationCommentEnabled(boolean b)
           
static void setSwitchTime(int minutes)
           
static void setTab1length(int length)
           
static void setTab2length(int length)
           
static void setTab3length(int length)
           
static void setTabEnabled(boolean enable)
           
static void setTrainDirection(int direction)
           
static void setTrainIconAppendEnabled(boolean enable)
           
static void setTrainIconColorEast(String color)
           
static void setTrainIconColorLocal(String color)
           
static void setTrainIconColorNorth(String color)
           
static void setTrainIconColorSouth(String color)
           
static void setTrainIconColorTerminate(String color)
           
static void setTrainIconColorWest(String color)
           
static void setTrainIconCordEnabled(boolean enable)
           
static void setTrainIntoStagingCheckEnabled(boolean enabled)
           
static void setTrainLoggerEnabled(boolean enable)
           
static void setTravelTime(int minutes)
           
static void setTruncateManifestEnabled(boolean b)
           
static void setTwoColumnFormatEnabled(boolean enable)
           
static void setUseDepartureTimeEnabled(boolean b)
           
static void setValueEnabled(boolean enabled)
           
static void setValueLabel(String label)
           
static void setVsdPhysicalLocationEnabled(boolean enabled)
           
static void setYearModeled(String year)
           
static org.jdom.Element store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Z_SCALE

public static final int Z_SCALE
See Also:
Constant Field Values

N_SCALE

public static final int N_SCALE
See Also:
Constant Field Values

TT_SCALE

public static final int TT_SCALE
See Also:
Constant Field Values

HOn3_SCALE

public static final int HOn3_SCALE
See Also:
Constant Field Values

OO_SCALE

public static final int OO_SCALE
See Also:
Constant Field Values

HO_SCALE

public static final int HO_SCALE
See Also:
Constant Field Values

Sn3_SCALE

public static final int Sn3_SCALE
See Also:
Constant Field Values

S_SCALE

public static final int S_SCALE
See Also:
Constant Field Values

On3_SCALE

public static final int On3_SCALE
See Also:
Constant Field Values

O_SCALE

public static final int O_SCALE
See Also:
Constant Field Values

G_SCALE

public static final int G_SCALE
See Also:
Constant Field Values

EAST

public static final int EAST
See Also:
Constant Field Values

WEST

public static final int WEST
See Also:
Constant Field Values

NORTH

public static final int NORTH
See Also:
Constant Field Values

SOUTH

public static final int SOUTH
See Also:
Constant Field Values

EAST_DIR

public static final String EAST_DIR

WEST_DIR

public static final String WEST_DIR

NORTH_DIR

public static final String NORTH_DIR

SOUTH_DIR

public static final String SOUTH_DIR

DESCRIPTIVE

public static final String DESCRIPTIVE

AAR

public static final String AAR

MONOSPACED

public static final String MONOSPACED

STANDARD

public static final int STANDARD
See Also:
Constant Field Values

TWO_COLUMN

public static final int TWO_COLUMN
See Also:
Constant Field Values

TWO_COLUMN_TRACK

public static final int TWO_COLUMN_TRACK
See Also:
Constant Field Values

STANDARD_FORMAT

public static final String STANDARD_FORMAT

TWO_COLUMN_FORMAT

public static final String TWO_COLUMN_FORMAT

TWO_COLUMN_TRACK_FORMAT

public static final String TWO_COLUMN_TRACK_FORMAT

PORTRAIT

public static final String PORTRAIT

LANDSCAPE

public static final String LANDSCAPE

HALFPAGE

public static final String HALFPAGE

HANDHELD

public static final String HANDHELD

LENGTHABV

public static final String LENGTHABV

BUILD_REPORT_MINIMAL

public static final String BUILD_REPORT_MINIMAL
See Also:
Constant Field Values

BUILD_REPORT_NORMAL

public static final String BUILD_REPORT_NORMAL
See Also:
Constant Field Values

BUILD_REPORT_DETAILED

public static final String BUILD_REPORT_DETAILED
See Also:
Constant Field Values

BUILD_REPORT_VERY_DETAILED

public static final String BUILD_REPORT_VERY_DETAILED
See Also:
Constant Field Values

ROAD

public static final String ROAD

NUMBER

public static final String NUMBER

TYPE

public static final String TYPE

MODEL

public static final String MODEL

LENGTH

public static final String LENGTH

LOAD

public static final String LOAD

COLOR

public static final String COLOR

TRACK

public static final String TRACK

DESTINATION

public static final String DESTINATION

DEST_TRACK

public static final String DEST_TRACK

FINAL_DEST

public static final String FINAL_DEST

FINAL_DEST_TRACK

public static final String FINAL_DEST_TRACK

LOCATION

public static final String LOCATION

CONSIST

public static final String CONSIST

KERNEL

public static final String KERNEL

OWNER

public static final String OWNER

RWE

public static final String RWE

COMMENT

public static final String COMMENT

DROP_COMMENT

public static final String DROP_COMMENT

PICKUP_COMMENT

public static final String PICKUP_COMMENT

HAZARDOUS

public static final String HAZARDOUS

NONE

public static final String NONE
See Also:
Constant Field Values

TAB

public static final String TAB

TAB2

public static final String TAB2

TAB3

public static final String TAB3

BOX

public static final String BOX
See Also:
Constant Field Values

NO_ROAD

public static final String NO_ROAD
See Also:
Constant Field Values

NO_NUMBER

public static final String NO_NUMBER
See Also:
Constant Field Values

NO_COLOR

public static final String NO_COLOR
See Also:
Constant Field Values

NO_DESTINATION

public static final String NO_DESTINATION
See Also:
Constant Field Values

NO_DEST_TRACK

public static final String NO_DEST_TRACK
See Also:
Constant Field Values

NO_LOCATION

public static final String NO_LOCATION
See Also:
Constant Field Values

NO_TRACK

public static final String NO_TRACK
See Also:
Constant Field Values

BLACK

public static final String BLACK

RED

public static final String RED

ORANGE

public static final String ORANGE

YELLOW

public static final String YELLOW

GREEN

public static final String GREEN

BLUE

public static final String BLUE

GRAY

public static final String GRAY

PINK

public static final String PINK

CYAN

public static final String CYAN

MAGENTA

public static final String MAGENTA

FEET

public static final String FEET

METER

public static final String METER

SWITCH_LIST_CSV_PROPERTY_CHANGE

public static final String SWITCH_LIST_CSV_PROPERTY_CHANGE
See Also:
Constant Field Values

MANIFEST_CSV_PROPERTY_CHANGE

public static final String MANIFEST_CSV_PROPERTY_CHANGE
See Also:
Constant Field Values

pcs

static PropertyChangeSupport pcs

log

static org.slf4j.Logger log
Constructor Detail

Setup

public Setup()
Method Detail

isMainMenuEnabled

public static boolean isMainMenuEnabled()

setMainMenuEnabled

public static void setMainMenuEnabled(boolean enabled)

isCloseWindowOnSaveEnabled

public static boolean isCloseWindowOnSaveEnabled()

setCloseWindowOnSaveEnabled

public static void setCloseWindowOnSaveEnabled(boolean enabled)

isAutoSaveEnabled

public static boolean isAutoSaveEnabled()

setAutoSaveEnabled

public static void setAutoSaveEnabled(boolean enabled)

isAutoBackupEnabled

public static boolean isAutoBackupEnabled()

setAutoBackupEnabled

public static void setAutoBackupEnabled(boolean enabled)

isValueEnabled

public static boolean isValueEnabled()

setValueEnabled

public static void setValueEnabled(boolean enabled)

getValueLabel

public static String getValueLabel()

setValueLabel

public static void setValueLabel(String label)

isRfidEnabled

public static boolean isRfidEnabled()

setRfidEnabled

public static void setRfidEnabled(boolean enabled)

getRfidLabel

public static String getRfidLabel()

setRfidLabel

public static void setRfidLabel(String label)

isCarRoutingEnabled

public static boolean isCarRoutingEnabled()

setCarRoutingEnabled

public static void setCarRoutingEnabled(boolean enabled)

isCarRoutingViaYardsEnabled

public static boolean isCarRoutingViaYardsEnabled()

setCarRoutingViaYardsEnabled

public static void setCarRoutingViaYardsEnabled(boolean enabled)

isCarRoutingViaStagingEnabled

public static boolean isCarRoutingViaStagingEnabled()

setCarRoutingViaStagingEnabled

public static void setCarRoutingViaStagingEnabled(boolean enabled)

isForwardToYardEnabled

public static boolean isForwardToYardEnabled()

setForwardToYardEnabled

public static void setForwardToYardEnabled(boolean enabled)

isOnlyActiveTrainsEnabled

public static boolean isOnlyActiveTrainsEnabled()

setOnlyActiveTrainsEnabled

public static void setOnlyActiveTrainsEnabled(boolean enabled)

isCheckCarDestinationEnabled

public static boolean isCheckCarDestinationEnabled()

setCheckCarDestinationEnabled

public static void setCheckCarDestinationEnabled(boolean enabled)

isBuildAggressive

public static boolean isBuildAggressive()

setBuildAggressive

public static void setBuildAggressive(boolean enabled)

getNumberPasses

public static int getNumberPasses()

setNumberPasses

public static void setNumberPasses(int number)

isLocalInterchangeMovesEnabled

public static boolean isLocalInterchangeMovesEnabled()

setLocalInterchangeMovesEnabled

public static void setLocalInterchangeMovesEnabled(boolean enabled)

isLocalYardMovesEnabled

public static boolean isLocalYardMovesEnabled()

setLocalYardMovesEnabled

public static void setLocalYardMovesEnabled(boolean enabled)

isLocalSpurMovesEnabled

public static boolean isLocalSpurMovesEnabled()

setLocalSpurMovesEnabled

public static void setLocalSpurMovesEnabled(boolean enabled)

isTrainIntoStagingCheckEnabled

public static boolean isTrainIntoStagingCheckEnabled()

setTrainIntoStagingCheckEnabled

public static void setTrainIntoStagingCheckEnabled(boolean enabled)

isStagingTrackImmediatelyAvail

public static boolean isStagingTrackImmediatelyAvail()

setStagingTrackImmediatelyAvail

public static void setStagingTrackImmediatelyAvail(boolean enabled)

isAllowReturnToStagingEnabled

public static boolean isAllowReturnToStagingEnabled()

setAllowReturnToStagingEnabled

public static void setAllowReturnToStagingEnabled(boolean enabled)

isPromptFromStagingEnabled

public static boolean isPromptFromStagingEnabled()

setPromptFromStagingEnabled

public static void setPromptFromStagingEnabled(boolean enabled)

isPromptToStagingEnabled

public static boolean isPromptToStagingEnabled()

setPromptToStagingEnabled

public static void setPromptToStagingEnabled(boolean enabled)

isGenerateCsvManifestEnabled

public static boolean isGenerateCsvManifestEnabled()

setGenerateCsvManifestEnabled

public static void setGenerateCsvManifestEnabled(boolean enabled)

isGenerateCsvSwitchListEnabled

public static boolean isGenerateCsvSwitchListEnabled()

setGenerateCsvSwitchListEnabled

public static void setGenerateCsvSwitchListEnabled(boolean enabled)

isVsdPhysicalLocationEnabled

public static boolean isVsdPhysicalLocationEnabled()

setVsdPhysicalLocationEnabled

public static void setVsdPhysicalLocationEnabled(boolean enabled)

getRailroadName

public static String getRailroadName()

setRailroadName

public static void setRailroadName(String name)

getHazardousMsg

public static String getHazardousMsg()

setHazardousMsg

public static void setHazardousMsg(String message)

getMiaComment

public static String getMiaComment()

setMiaComment

public static void setMiaComment(String comment)

setTrainDirection

public static void setTrainDirection(int direction)

getTrainDirection

public static int getTrainDirection()

setMaxTrainLength

public static void setMaxTrainLength(int length)

getMaxTrainLength

public static int getMaxTrainLength()

setMaxNumberEngines

public static void setMaxNumberEngines(int value)

getMaxNumberEngines

public static int getMaxNumberEngines()

setHorsePowerPerTon

public static void setHorsePowerPerTon(int value)

getHorsePowerPerTon

public static int getHorsePowerPerTon()

setCarMoves

public static void setCarMoves(int moves)

getCarMoves

public static int getCarMoves()

getPanelName

public static String getPanelName()

setPanelName

public static void setPanelName(String name)

getLengthUnit

public static String getLengthUnit()

setLengthUnit

public static void setLengthUnit(String unit)

getYearModeled

public static String getYearModeled()

setYearModeled

public static void setYearModeled(String year)

getCarTypes

public static String getCarTypes()

setCarTypes

public static void setCarTypes(String types)

setTrainIconCordEnabled

public static void setTrainIconCordEnabled(boolean enable)

isTrainIconCordEnabled

public static boolean isTrainIconCordEnabled()

setTrainIconAppendEnabled

public static void setTrainIconAppendEnabled(boolean enable)

isTrainIconAppendEnabled

public static boolean isTrainIconAppendEnabled()

setBuildReportLevel

public static void setBuildReportLevel(String level)

getBuildReportLevel

public static String getBuildReportLevel()

setRouterBuildReportLevel

public static void setRouterBuildReportLevel(String level)

getRouterBuildReportLevel

public static String getRouterBuildReportLevel()

setManifestEditorEnabled

public static void setManifestEditorEnabled(boolean enable)

isManifestEditorEnabled

public static boolean isManifestEditorEnabled()

setBuildReportEditorEnabled

public static void setBuildReportEditorEnabled(boolean enable)

isBuildReportEditorEnabled

public static boolean isBuildReportEditorEnabled()

setBuildReportIndentEnabled

public static void setBuildReportIndentEnabled(boolean enable)

isBuildReportIndentEnabled

public static boolean isBuildReportIndentEnabled()

setBuildReportAlwaysPreviewEnabled

public static void setBuildReportAlwaysPreviewEnabled(boolean enable)

isBuildReportAlwaysPreviewEnabled

public static boolean isBuildReportAlwaysPreviewEnabled()

setSwitchListFormatSameAsManifest

public static void setSwitchListFormatSameAsManifest(boolean b)

isSwitchListFormatSameAsManifest

public static boolean isSwitchListFormatSameAsManifest()

setSwitchListRouteLocationCommentEnabled

public static void setSwitchListRouteLocationCommentEnabled(boolean b)

isSwitchListRouteLocationCommentEnabled

public static boolean isSwitchListRouteLocationCommentEnabled()

setSwitchListRealTime

public static void setSwitchListRealTime(boolean b)

isSwitchListRealTime

public static boolean isSwitchListRealTime()

setSwitchListAllTrainsEnabled

public static void setSwitchListAllTrainsEnabled(boolean b)

isSwitchListAllTrainsEnabled

public static boolean isSwitchListAllTrainsEnabled()

setSwitchListPagePerTrainEnabled

public static void setSwitchListPagePerTrainEnabled(boolean b)

isSwitchListPagePerTrainEnabled

public static boolean isSwitchListPagePerTrainEnabled()

setTruncateManifestEnabled

public static void setTruncateManifestEnabled(boolean b)

isTruncateManifestEnabled

public static boolean isTruncateManifestEnabled()

setUseDepartureTimeEnabled

public static void setUseDepartureTimeEnabled(boolean b)

isUseDepartureTimeEnabled

public static boolean isUseDepartureTimeEnabled()

setPrintLocationCommentsEnabled

public static void setPrintLocationCommentsEnabled(boolean enable)

isPrintLocationCommentsEnabled

public static boolean isPrintLocationCommentsEnabled()

setPrintRouteCommentsEnabled

public static void setPrintRouteCommentsEnabled(boolean enable)

isPrintRouteCommentsEnabled

public static boolean isPrintRouteCommentsEnabled()

setPrintLoadsAndEmptiesEnabled

public static void setPrintLoadsAndEmptiesEnabled(boolean enable)

isPrintLoadsAndEmptiesEnabled

public static boolean isPrintLoadsAndEmptiesEnabled()

setPrintTimetableNameEnabled

public static void setPrintTimetableNameEnabled(boolean enable)

isPrintTimetableNameEnabled

public static boolean isPrintTimetableNameEnabled()

set12hrFormatEnabled

public static void set12hrFormatEnabled(boolean enable)

is12hrFormatEnabled

public static boolean is12hrFormatEnabled()

setPrintValidEnabled

public static void setPrintValidEnabled(boolean enable)

isPrintValidEnabled

public static boolean isPrintValidEnabled()

setSortByTrackEnabled

public static void setSortByTrackEnabled(boolean enable)

isSortByTrackEnabled

public static boolean isSortByTrackEnabled()

setPrintHeadersEnabled

public static void setPrintHeadersEnabled(boolean enable)

isPrintHeadersEnabled

public static boolean isPrintHeadersEnabled()

setSwitchTime

public static void setSwitchTime(int minutes)

getSwitchTime

public static int getSwitchTime()

setTravelTime

public static void setTravelTime(int minutes)

getTravelTime

public static int getTravelTime()

setTrainIconColorNorth

public static void setTrainIconColorNorth(String color)

getTrainIconColorNorth

public static String getTrainIconColorNorth()

setTrainIconColorSouth

public static void setTrainIconColorSouth(String color)

getTrainIconColorSouth

public static String getTrainIconColorSouth()

setTrainIconColorEast

public static void setTrainIconColorEast(String color)

getTrainIconColorEast

public static String getTrainIconColorEast()

setTrainIconColorWest

public static void setTrainIconColorWest(String color)

getTrainIconColorWest

public static String getTrainIconColorWest()

setTrainIconColorLocal

public static void setTrainIconColorLocal(String color)

getTrainIconColorLocal

public static String getTrainIconColorLocal()

setTrainIconColorTerminate

public static void setTrainIconColorTerminate(String color)

getTrainIconColorTerminate

public static String getTrainIconColorTerminate()

getFontName

public static String getFontName()

setFontName

public static void setFontName(String name)

getManifestFontSize

public static int getManifestFontSize()

setManifestFontSize

public static void setManifestFontSize(int size)

getBuildReportFontSize

public static int getBuildReportFontSize()

setBuildReportFontSize

public static void setBuildReportFontSize(int size)

getManifestOrientation

public static String getManifestOrientation()

setManifestOrientation

public static void setManifestOrientation(String orientation)

getSwitchListOrientation

public static String getSwitchListOrientation()

setSwitchListOrientation

public static void setSwitchListOrientation(String orientation)

isTabEnabled

public static boolean isTabEnabled()

setTabEnabled

public static void setTabEnabled(boolean enable)

getTab1Length

public static int getTab1Length()

setTab1length

public static void setTab1length(int length)

getTab2Length

public static int getTab2Length()

setTab2length

public static void setTab2length(int length)

getTab3Length

public static int getTab3Length()

setTab3length

public static void setTab3length(int length)

isTwoColumnFormatEnabled

public static boolean isTwoColumnFormatEnabled()

setTwoColumnFormatEnabled

public static void setTwoColumnFormatEnabled(boolean enable)

getManifestFormat

public static String getManifestFormat()

setManifestFormat

public static void setManifestFormat(String format)

isCarLoggerEnabled

public static boolean isCarLoggerEnabled()

setCarLoggerEnabled

public static void setCarLoggerEnabled(boolean enable)

isEngineLoggerEnabled

public static boolean isEngineLoggerEnabled()

setEngineLoggerEnabled

public static void setEngineLoggerEnabled(boolean enable)

isTrainLoggerEnabled

public static boolean isTrainLoggerEnabled()

setTrainLoggerEnabled

public static void setTrainLoggerEnabled(boolean enable)

getPickupEnginePrefix

public static String getPickupEnginePrefix()

setPickupEnginePrefix

public static void setPickupEnginePrefix(String prefix)

getDropEnginePrefix

public static String getDropEnginePrefix()

setDropEnginePrefix

public static void setDropEnginePrefix(String prefix)

getPickupCarPrefix

public static String getPickupCarPrefix()

setPickupCarPrefix

public static void setPickupCarPrefix(String prefix)

getDropCarPrefix

public static String getDropCarPrefix()

setDropCarPrefix

public static void setDropCarPrefix(String prefix)

getLocalPrefix

public static String getLocalPrefix()

setLocalPrefix

public static void setLocalPrefix(String prefix)

getManifestPrefixLength

public static int getManifestPrefixLength()

getSwitchListPickupCarPrefix

public static String getSwitchListPickupCarPrefix()

setSwitchListPickupCarPrefix

public static void setSwitchListPickupCarPrefix(String prefix)

getSwitchListDropCarPrefix

public static String getSwitchListDropCarPrefix()

setSwitchListDropCarPrefix

public static void setSwitchListDropCarPrefix(String prefix)

getSwitchListLocalPrefix

public static String getSwitchListLocalPrefix()

setSwitchListLocalPrefix

public static void setSwitchListLocalPrefix(String prefix)

getSwitchListPrefixLength

public static int getSwitchListPrefixLength()

getEngineAttributes

public static String[] getEngineAttributes()

getPickupEngineMessageFormat

public static String[] getPickupEngineMessageFormat()

setPickupEngineMessageFormat

public static void setPickupEngineMessageFormat(String[] format)

getDropEngineMessageFormat

public static String[] getDropEngineMessageFormat()

setDropEngineMessageFormat

public static void setDropEngineMessageFormat(String[] format)

getCarAttributes

public static String[] getCarAttributes()

getPickupCarMessageFormat

public static String[] getPickupCarMessageFormat()

setPickupCarMessageFormat

public static void setPickupCarMessageFormat(String[] format)

getDropCarMessageFormat

public static String[] getDropCarMessageFormat()

setDropCarMessageFormat

public static void setDropCarMessageFormat(String[] format)

getLocalMessageFormat

public static String[] getLocalMessageFormat()

setLocalMessageFormat

public static void setLocalMessageFormat(String[] format)

getMissingCarMessageFormat

public static String[] getMissingCarMessageFormat()

setMissingCarMessageFormat

public static void setMissingCarMessageFormat(String[] format)

getSwitchListPickupCarMessageFormat

public static String[] getSwitchListPickupCarMessageFormat()

setSwitchListPickupCarMessageFormat

public static void setSwitchListPickupCarMessageFormat(String[] format)

getSwitchListDropCarMessageFormat

public static String[] getSwitchListDropCarMessageFormat()

setSwitchListDropCarMessageFormat

public static void setSwitchListDropCarMessageFormat(String[] format)

getSwitchListLocalMessageFormat

public static String[] getSwitchListLocalMessageFormat()

setSwitchListLocalMessageFormat

public static void setSwitchListLocalMessageFormat(String[] format)

getPickupUtilityCarMessageFormat

public static String[] getPickupUtilityCarMessageFormat()
Gets the manifest format for utility cars. The car's road, number, and color are not printed.

Returns:
Utility car format

getSetoutUtilityCarMessageFormat

public static String[] getSetoutUtilityCarMessageFormat()

getLocalUtilityCarMessageFormat

public static String[] getLocalUtilityCarMessageFormat()

getSwitchListPickupUtilityCarMessageFormat

public static String[] getSwitchListPickupUtilityCarMessageFormat()

getSwitchListSetoutUtilityCarMessageFormat

public static String[] getSwitchListSetoutUtilityCarMessageFormat()

getSwitchListLocalUtilityCarMessageFormat

public static String[] getSwitchListLocalUtilityCarMessageFormat()

getTruncatedPickupManifestMessageFormat

public static String[] getTruncatedPickupManifestMessageFormat()

getTruncatedSetoutManifestMessageFormat

public static String[] getTruncatedSetoutManifestMessageFormat()

getDropTextColor

public static String getDropTextColor()

setDropTextColor

public static void setDropTextColor(String color)

getPickupTextColor

public static String getPickupTextColor()

setPickupTextColor

public static void setPickupTextColor(String color)

getLocalTextColor

public static String getLocalTextColor()

setLocalTextColor

public static void setLocalTextColor(String color)

getPickupColor

public static Color getPickupColor()

getDropColor

public static Color getDropColor()

getLocalColor

public static Color getLocalColor()

getColor

public static Color getColor(String colorName)

getManifestLogoURL

public static String getManifestLogoURL()

setManifestLogoURL

public static void setManifestLogoURL(String pathName)

getOwnerName

public static String getOwnerName()

setOwnerName

public static void setOwnerName(String name)

getScaleRatio

public static int getScaleRatio()

getScaleTonRatio

public static int getScaleTonRatio()

getInitalWeight

public static int getInitalWeight()

getAddWeight

public static int getAddWeight()

getScale

public static int getScale()

setScale

public static void setScale(int s)

getManifestFormatComboBox

public static JComboBox getManifestFormatComboBox()

getOrientationComboBox

public static JComboBox getOrientationComboBox()

getPrintColorComboBox

public static JComboBox getPrintColorComboBox()
Returns:
the available text colors used for printing

getEngineMessageComboBox

public static JComboBox getEngineMessageComboBox()

getCarMessageComboBox

public static JComboBox getCarMessageComboBox()

getComboBox

public static JComboBox getComboBox()
Returns:
JComboBox loaded with the strings (North, South, East, West) showing the available train directions for this railroad

getList

public static List<String> getList()
Get train directions

Returns:
List of valid train directions

getDirectionString

public static String getDirectionString(int direction)
Converts binary direction to String direction

Parameters:
direction - EAST, WEST, NORTH, SOUTH
Returns:
String representation of a direction

getDirectionStrings

public static String[] getDirectionStrings(int directions)
Converts binary direction to a set of String directions

Parameters:
directions - EAST, WEST, NORTH, SOUTH
Returns:
String[] representation of a set of directions

getDirectionInt

public static int getDirectionInt(String direction)
Converts String direction to binary direction

Parameters:
direction - EAST_DIR WEST_DIR NORTH_DIR SOUTH_DIR
Returns:
integer representation of a direction

store

public static org.jdom.Element store()

load

public static void load(org.jdom.Element e)

addPropertyChangeListener

public static void addPropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

public static void removePropertyChangeListener(PropertyChangeListener l)

setDirtyAndFirePropertyChange

protected static void setDirtyAndFirePropertyChange(String p,
                                                    Object old,
                                                    Object n)


Copyright © 1997-2014 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