jmri.jmrit.operations.setup
Class Setup

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

public class Setup
extends java.lang.Object

Operations settings.


Field Summary
static java.lang.String AAR
           
static java.lang.String BLACK
           
static java.lang.String BLUE
           
static java.lang.String BOX
           
static java.lang.String BUILD_REPORT_DETAILED
           
static java.lang.String BUILD_REPORT_MINIMAL
           
static java.lang.String BUILD_REPORT_NORMAL
           
static java.lang.String BUILD_REPORT_VERY_DETAILED
           
static java.lang.String COLOR
           
static java.lang.String COMMENT
           
static java.lang.String CONSIST
           
static java.lang.String DESCRIPTIVE
           
static java.lang.String DEST_TRACK
           
static java.lang.String DESTINATION
           
static java.lang.String DROP_COMMENT
           
static int EAST
           
static java.lang.String EAST_DIR
           
static java.lang.String FEET
           
static java.lang.String FINAL_DEST
           
static java.lang.String FINAL_DEST_TRACK
           
static int G_SCALE
           
static java.lang.String GRAY
           
static java.lang.String GREEN
           
static java.lang.String HALFPAGE
           
static java.lang.String HANDHELD
           
static java.lang.String HAZARDOUS
           
static int HO_SCALE
           
static int HOn3_SCALE
           
static java.lang.String KERNEL
           
static java.lang.String LANDSCAPE
           
static java.lang.String LENGTH
           
static java.lang.String LENGTHABV
           
static java.lang.String LOAD
           
static java.lang.String LOCATION
           
(package private) static org.slf4j.Logger log
           
static java.lang.String METER
           
static java.lang.String MODEL
           
static java.lang.String MONOSPACED
           
static int N_SCALE
           
static java.lang.String NO_COLOR
           
static java.lang.String NO_DEST_TRACK
           
static java.lang.String NO_DESTINATION
           
static java.lang.String NO_LOCATION
           
static java.lang.String NO_NUMBER
           
static java.lang.String NO_ROAD
           
static java.lang.String NO_TRACK
           
static java.lang.String NONE
           
static int NORTH
           
static java.lang.String NORTH_DIR
           
static java.lang.String NUMBER
           
static int O_SCALE
           
static int On3_SCALE
           
static int OO_SCALE
           
static java.lang.String ORANGE
           
static java.lang.String OWNER
           
static java.lang.String PICKUP_COMMENT
           
static java.lang.String PORTRAIT
           
static java.lang.String RED
           
static java.lang.String ROAD
           
static java.lang.String RWE
           
static int S_SCALE
           
static int Sn3_SCALE
           
static int SOUTH
           
static java.lang.String SOUTH_DIR
           
static int STANDARD
           
static java.lang.String STANDARD_FORMAT
           
static java.lang.String TAB
           
static java.lang.String TAB2
           
static java.lang.String TAB3
           
static java.lang.String TRACK
           
static int TT_SCALE
           
static int TWO_COLUMN
           
static java.lang.String TWO_COLUMN_FORMAT
           
static int TWO_COLUMN_TRACK
           
static java.lang.String TWO_COLUMN_TRACK_FORMAT
           
static java.lang.String TYPE
           
static int WEST
           
static java.lang.String WEST_DIR
           
static java.lang.String YELLOW
           
static int Z_SCALE
           
 
Constructor Summary
Setup()
           
 
Method Summary
static int getAddWeight()
           
static int getBuildReportFontSize()
           
static java.lang.String getBuildReportLevel()
           
static java.lang.String[] getCarAttributes()
           
static javax.swing.JComboBox getCarMessageComboBox()
           
static int getCarMoves()
           
static java.lang.String getCarTypes()
           
static java.awt.Color getColor(java.lang.String colorName)
           
static javax.swing.JComboBox getComboBox()
           
static int getDirectionInt(java.lang.String direction)
          Converts String direction to binary direction
static java.lang.String getDirectionString(int direction)
          Converts binary direction to String direction
static java.lang.String[] getDirectionStrings(int directions)
          Converts binary direction to a set of String directions
static java.lang.String[] getDropCarMessageFormat()
           
static java.lang.String getDropCarPrefix()
           
static java.awt.Color getDropColor()
           
static java.lang.String[] getDropEngineMessageFormat()
           
static java.lang.String getDropEnginePrefix()
           
static java.lang.String getDropTextColor()
           
static java.lang.String[] getEngineAttributes()
           
static javax.swing.JComboBox getEngineMessageComboBox()
           
static java.lang.String getFontName()
           
static java.lang.String getHazardousMsg()
           
static int getHorsePowerPerTon()
           
static int getInitalWeight()
           
static java.lang.String getLengthUnit()
           
static java.util.List<java.lang.String> getList()
          Get train directions
static java.awt.Color getLocalColor()
           
static java.lang.String[] getLocalMessageFormat()
           
static java.lang.String getLocalPrefix()
           
static java.lang.String getLocalTextColor()
           
static java.lang.String[] getLocalUtilityCarMessageFormat()
           
static int getManifestFontSize()
           
static java.lang.String getManifestFormat()
           
static javax.swing.JComboBox getManifestFormatComboBox()
           
static java.lang.String getManifestLogoURL()
           
static java.lang.String getManifestOrientation()
           
static int getManifestPrefixLength()
           
static int getMaxNumberEngines()
           
static int getMaxTrainLength()
           
static java.lang.String getMiaComment()
           
static java.lang.String[] getMissingCarMessageFormat()
           
static int getNumberPasses()
           
static javax.swing.JComboBox getOrientationComboBox()
           
static java.lang.String getOwnerName()
           
static java.lang.String getPanelName()
           
static java.lang.String[] getPickupCarMessageFormat()
           
static java.lang.String getPickupCarPrefix()
           
static java.awt.Color getPickupColor()
           
static java.lang.String[] getPickupEngineMessageFormat()
           
static java.lang.String getPickupEnginePrefix()
           
static java.lang.String getPickupTextColor()
           
static java.lang.String[] getPickupUtilityCarMessageFormat()
          Gets the manifest format for utility cars.
static javax.swing.JComboBox getPrintColorComboBox()
           
static java.lang.String getRailroadName()
           
static java.lang.String getRfidLabel()
           
static java.lang.String getRouterBuildReportLevel()
           
static int getScale()
           
static int getScaleRatio()
           
static int getScaleTonRatio()
           
static java.lang.String[] getSetoutUtilityCarMessageFormat()
           
static java.lang.String[] getSwitchListDropCarMessageFormat()
           
static java.lang.String getSwitchListDropCarPrefix()
           
static java.lang.String[] getSwitchListLocalMessageFormat()
           
static java.lang.String getSwitchListLocalPrefix()
           
static java.lang.String[] getSwitchListLocalUtilityCarMessageFormat()
           
static java.lang.String getSwitchListOrientation()
           
static java.lang.String[] getSwitchListPickupCarMessageFormat()
           
static java.lang.String getSwitchListPickupCarPrefix()
           
static java.lang.String[] getSwitchListPickupUtilityCarMessageFormat()
           
static int getSwitchListPrefixLength()
           
static java.lang.String[] getSwitchListSetoutUtilityCarMessageFormat()
           
static int getSwitchTime()
           
static int getTab1Length()
           
static int getTab2Length()
           
static int getTab3Length()
           
static int getTrainDirection()
           
static java.lang.String getTrainIconColorEast()
           
static java.lang.String getTrainIconColorLocal()
           
static java.lang.String getTrainIconColorNorth()
           
static java.lang.String getTrainIconColorSouth()
           
static java.lang.String getTrainIconColorTerminate()
           
static java.lang.String getTrainIconColorWest()
           
static int getTravelTime()
           
static java.lang.String[] getTruncatedPickupManifestMessageFormat()
           
static java.lang.String[] getTruncatedSetoutManifestMessageFormat()
           
static java.lang.String getValueLabel()
           
static java.lang.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 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(java.lang.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(java.lang.String types)
           
static void setCheckCarDestinationEnabled(boolean enabled)
           
static void setCloseWindowOnSaveEnabled(boolean enabled)
           
static void setDropCarMessageFormat(java.lang.String[] format)
           
static void setDropCarPrefix(java.lang.String prefix)
           
static void setDropEngineMessageFormat(java.lang.String[] format)
           
static void setDropEnginePrefix(java.lang.String prefix)
           
static void setDropTextColor(java.lang.String color)
           
static void setEngineLoggerEnabled(boolean enable)
           
static void setFontName(java.lang.String name)
           
static void setForwardToYardEnabled(boolean enabled)
           
static void setGenerateCsvManifestEnabled(boolean enabled)
           
static void setGenerateCsvSwitchListEnabled(boolean enabled)
           
static void setHazardousMsg(java.lang.String message)
           
static void setHorsePowerPerTon(int value)
           
static void setLengthUnit(java.lang.String unit)
           
static void setLocalInterchangeMovesEnabled(boolean enabled)
           
static void setLocalMessageFormat(java.lang.String[] format)
           
static void setLocalPrefix(java.lang.String prefix)
           
static void setLocalSpurMovesEnabled(boolean enabled)
           
static void setLocalTextColor(java.lang.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(java.lang.String format)
           
static void setManifestLogoURL(java.lang.String pathName)
           
static void setManifestOrientation(java.lang.String orientation)
           
static void setMaxNumberEngines(int value)
           
static void setMaxTrainLength(int length)
           
static void setMiaComment(java.lang.String comment)
           
static void setMissingCarMessageFormat(java.lang.String[] format)
           
static void setNumberPasses(int number)
           
static void setOnlyActiveTrainsEnabled(boolean enabled)
           
static void setOwnerName(java.lang.String name)
           
static void setPanelName(java.lang.String name)
           
static void setPickupCarMessageFormat(java.lang.String[] format)
           
static void setPickupCarPrefix(java.lang.String prefix)
           
static void setPickupEngineMessageFormat(java.lang.String[] format)
           
static void setPickupEnginePrefix(java.lang.String prefix)
           
static void setPickupTextColor(java.lang.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(java.lang.String name)
           
static void setRfidEnabled(boolean enabled)
           
static void setRfidLabel(java.lang.String label)
           
static void setRouterBuildReportLevel(java.lang.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(java.lang.String[] format)
           
static void setSwitchListDropCarPrefix(java.lang.String prefix)
           
static void setSwitchListFormatSameAsManifest(boolean b)
           
static void setSwitchListLocalMessageFormat(java.lang.String[] format)
           
static void setSwitchListLocalPrefix(java.lang.String prefix)
           
static void setSwitchListOrientation(java.lang.String orientation)
           
static void setSwitchListPagePerTrainEnabled(boolean b)
           
static void setSwitchListPickupCarMessageFormat(java.lang.String[] format)
           
static void setSwitchListPickupCarPrefix(java.lang.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(java.lang.String color)
           
static void setTrainIconColorLocal(java.lang.String color)
           
static void setTrainIconColorNorth(java.lang.String color)
           
static void setTrainIconColorSouth(java.lang.String color)
           
static void setTrainIconColorTerminate(java.lang.String color)
           
static void setTrainIconColorWest(java.lang.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(java.lang.String label)
           
static void setVsdPhysicalLocationEnabled(boolean enabled)
           
static void setYearModeled(java.lang.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 java.lang.String EAST_DIR

WEST_DIR

public static final java.lang.String WEST_DIR

NORTH_DIR

public static final java.lang.String NORTH_DIR

SOUTH_DIR

public static final java.lang.String SOUTH_DIR

DESCRIPTIVE

public static final java.lang.String DESCRIPTIVE

AAR

public static final java.lang.String AAR

MONOSPACED

public static final java.lang.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 java.lang.String STANDARD_FORMAT

TWO_COLUMN_FORMAT

public static final java.lang.String TWO_COLUMN_FORMAT

TWO_COLUMN_TRACK_FORMAT

public static final java.lang.String TWO_COLUMN_TRACK_FORMAT

PORTRAIT

public static final java.lang.String PORTRAIT

LANDSCAPE

public static final java.lang.String LANDSCAPE

HALFPAGE

public static final java.lang.String HALFPAGE

HANDHELD

public static final java.lang.String HANDHELD

LENGTHABV

public static final java.lang.String LENGTHABV

BUILD_REPORT_MINIMAL

public static final java.lang.String BUILD_REPORT_MINIMAL
See Also:
Constant Field Values

BUILD_REPORT_NORMAL

public static final java.lang.String BUILD_REPORT_NORMAL
See Also:
Constant Field Values

BUILD_REPORT_DETAILED

public static final java.lang.String BUILD_REPORT_DETAILED
See Also:
Constant Field Values

BUILD_REPORT_VERY_DETAILED

public static final java.lang.String BUILD_REPORT_VERY_DETAILED
See Also:
Constant Field Values

ROAD

public static final java.lang.String ROAD

NUMBER

public static final java.lang.String NUMBER

TYPE

public static final java.lang.String TYPE

MODEL

public static final java.lang.String MODEL

LENGTH

public static final java.lang.String LENGTH

LOAD

public static final java.lang.String LOAD

COLOR

public static final java.lang.String COLOR

TRACK

public static final java.lang.String TRACK

DESTINATION

public static final java.lang.String DESTINATION

DEST_TRACK

public static final java.lang.String DEST_TRACK

FINAL_DEST

public static final java.lang.String FINAL_DEST

FINAL_DEST_TRACK

public static final java.lang.String FINAL_DEST_TRACK

LOCATION

public static final java.lang.String LOCATION

CONSIST

public static final java.lang.String CONSIST

KERNEL

public static final java.lang.String KERNEL

OWNER

public static final java.lang.String OWNER

RWE

public static final java.lang.String RWE

COMMENT

public static final java.lang.String COMMENT

DROP_COMMENT

public static final java.lang.String DROP_COMMENT

PICKUP_COMMENT

public static final java.lang.String PICKUP_COMMENT

HAZARDOUS

public static final java.lang.String HAZARDOUS

NONE

public static final java.lang.String NONE
See Also:
Constant Field Values

TAB

public static final java.lang.String TAB

TAB2

public static final java.lang.String TAB2

TAB3

public static final java.lang.String TAB3

BOX

public static final java.lang.String BOX
See Also:
Constant Field Values

NO_ROAD

public static final java.lang.String NO_ROAD
See Also:
Constant Field Values

NO_NUMBER

public static final java.lang.String NO_NUMBER
See Also:
Constant Field Values

NO_COLOR

public static final java.lang.String NO_COLOR
See Also:
Constant Field Values

NO_DESTINATION

public static final java.lang.String NO_DESTINATION
See Also:
Constant Field Values

NO_DEST_TRACK

public static final java.lang.String NO_DEST_TRACK
See Also:
Constant Field Values

NO_LOCATION

public static final java.lang.String NO_LOCATION
See Also:
Constant Field Values

NO_TRACK

public static final java.lang.String NO_TRACK
See Also:
Constant Field Values

BLACK

public static final java.lang.String BLACK

RED

public static final java.lang.String RED

ORANGE

public static final java.lang.String ORANGE

YELLOW

public static final java.lang.String YELLOW

GREEN

public static final java.lang.String GREEN

BLUE

public static final java.lang.String BLUE

GRAY

public static final java.lang.String GRAY

FEET

public static final java.lang.String FEET

METER

public static final java.lang.String METER

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 java.lang.String getValueLabel()

setValueLabel

public static void setValueLabel(java.lang.String label)

isRfidEnabled

public static boolean isRfidEnabled()

setRfidEnabled

public static void setRfidEnabled(boolean enabled)

getRfidLabel

public static java.lang.String getRfidLabel()

setRfidLabel

public static void setRfidLabel(java.lang.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 java.lang.String getRailroadName()

setRailroadName

public static void setRailroadName(java.lang.String name)

getHazardousMsg

public static java.lang.String getHazardousMsg()

setHazardousMsg

public static void setHazardousMsg(java.lang.String message)

getMiaComment

public static java.lang.String getMiaComment()

setMiaComment

public static void setMiaComment(java.lang.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 java.lang.String getPanelName()

setPanelName

public static void setPanelName(java.lang.String name)

getLengthUnit

public static java.lang.String getLengthUnit()

setLengthUnit

public static void setLengthUnit(java.lang.String unit)

getYearModeled

public static java.lang.String getYearModeled()

setYearModeled

public static void setYearModeled(java.lang.String year)

getCarTypes

public static java.lang.String getCarTypes()

setCarTypes

public static void setCarTypes(java.lang.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(java.lang.String level)

getBuildReportLevel

public static java.lang.String getBuildReportLevel()

setRouterBuildReportLevel

public static void setRouterBuildReportLevel(java.lang.String level)

getRouterBuildReportLevel

public static java.lang.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(java.lang.String color)

getTrainIconColorNorth

public static java.lang.String getTrainIconColorNorth()

setTrainIconColorSouth

public static void setTrainIconColorSouth(java.lang.String color)

getTrainIconColorSouth

public static java.lang.String getTrainIconColorSouth()

setTrainIconColorEast

public static void setTrainIconColorEast(java.lang.String color)

getTrainIconColorEast

public static java.lang.String getTrainIconColorEast()

setTrainIconColorWest

public static void setTrainIconColorWest(java.lang.String color)

getTrainIconColorWest

public static java.lang.String getTrainIconColorWest()

setTrainIconColorLocal

public static void setTrainIconColorLocal(java.lang.String color)

getTrainIconColorLocal

public static java.lang.String getTrainIconColorLocal()

setTrainIconColorTerminate

public static void setTrainIconColorTerminate(java.lang.String color)

getTrainIconColorTerminate

public static java.lang.String getTrainIconColorTerminate()

getFontName

public static java.lang.String getFontName()

setFontName

public static void setFontName(java.lang.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 java.lang.String getManifestOrientation()

setManifestOrientation

public static void setManifestOrientation(java.lang.String orientation)

getSwitchListOrientation

public static java.lang.String getSwitchListOrientation()

setSwitchListOrientation

public static void setSwitchListOrientation(java.lang.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 java.lang.String getManifestFormat()

setManifestFormat

public static void setManifestFormat(java.lang.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 java.lang.String getPickupEnginePrefix()

setPickupEnginePrefix

public static void setPickupEnginePrefix(java.lang.String prefix)

getDropEnginePrefix

public static java.lang.String getDropEnginePrefix()

setDropEnginePrefix

public static void setDropEnginePrefix(java.lang.String prefix)

getPickupCarPrefix

public static java.lang.String getPickupCarPrefix()

setPickupCarPrefix

public static void setPickupCarPrefix(java.lang.String prefix)

getDropCarPrefix

public static java.lang.String getDropCarPrefix()

setDropCarPrefix

public static void setDropCarPrefix(java.lang.String prefix)

getLocalPrefix

public static java.lang.String getLocalPrefix()

setLocalPrefix

public static void setLocalPrefix(java.lang.String prefix)

getManifestPrefixLength

public static int getManifestPrefixLength()

getSwitchListPickupCarPrefix

public static java.lang.String getSwitchListPickupCarPrefix()

setSwitchListPickupCarPrefix

public static void setSwitchListPickupCarPrefix(java.lang.String prefix)

getSwitchListDropCarPrefix

public static java.lang.String getSwitchListDropCarPrefix()

setSwitchListDropCarPrefix

public static void setSwitchListDropCarPrefix(java.lang.String prefix)

getSwitchListLocalPrefix

public static java.lang.String getSwitchListLocalPrefix()

setSwitchListLocalPrefix

public static void setSwitchListLocalPrefix(java.lang.String prefix)

getSwitchListPrefixLength

public static int getSwitchListPrefixLength()

getEngineAttributes

public static java.lang.String[] getEngineAttributes()

getPickupEngineMessageFormat

public static java.lang.String[] getPickupEngineMessageFormat()

setPickupEngineMessageFormat

public static void setPickupEngineMessageFormat(java.lang.String[] format)

getDropEngineMessageFormat

public static java.lang.String[] getDropEngineMessageFormat()

setDropEngineMessageFormat

public static void setDropEngineMessageFormat(java.lang.String[] format)

getCarAttributes

public static java.lang.String[] getCarAttributes()

getPickupCarMessageFormat

public static java.lang.String[] getPickupCarMessageFormat()

setPickupCarMessageFormat

public static void setPickupCarMessageFormat(java.lang.String[] format)

getDropCarMessageFormat

public static java.lang.String[] getDropCarMessageFormat()

setDropCarMessageFormat

public static void setDropCarMessageFormat(java.lang.String[] format)

getLocalMessageFormat

public static java.lang.String[] getLocalMessageFormat()

setLocalMessageFormat

public static void setLocalMessageFormat(java.lang.String[] format)

getMissingCarMessageFormat

public static java.lang.String[] getMissingCarMessageFormat()

setMissingCarMessageFormat

public static void setMissingCarMessageFormat(java.lang.String[] format)

getSwitchListPickupCarMessageFormat

public static java.lang.String[] getSwitchListPickupCarMessageFormat()

setSwitchListPickupCarMessageFormat

public static void setSwitchListPickupCarMessageFormat(java.lang.String[] format)

getSwitchListDropCarMessageFormat

public static java.lang.String[] getSwitchListDropCarMessageFormat()

setSwitchListDropCarMessageFormat

public static void setSwitchListDropCarMessageFormat(java.lang.String[] format)

getSwitchListLocalMessageFormat

public static java.lang.String[] getSwitchListLocalMessageFormat()

setSwitchListLocalMessageFormat

public static void setSwitchListLocalMessageFormat(java.lang.String[] format)

getPickupUtilityCarMessageFormat

public static java.lang.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 java.lang.String[] getSetoutUtilityCarMessageFormat()

getLocalUtilityCarMessageFormat

public static java.lang.String[] getLocalUtilityCarMessageFormat()

getSwitchListPickupUtilityCarMessageFormat

public static java.lang.String[] getSwitchListPickupUtilityCarMessageFormat()

getSwitchListSetoutUtilityCarMessageFormat

public static java.lang.String[] getSwitchListSetoutUtilityCarMessageFormat()

getSwitchListLocalUtilityCarMessageFormat

public static java.lang.String[] getSwitchListLocalUtilityCarMessageFormat()

getTruncatedPickupManifestMessageFormat

public static java.lang.String[] getTruncatedPickupManifestMessageFormat()

getTruncatedSetoutManifestMessageFormat

public static java.lang.String[] getTruncatedSetoutManifestMessageFormat()

getDropTextColor

public static java.lang.String getDropTextColor()

setDropTextColor

public static void setDropTextColor(java.lang.String color)

getPickupTextColor

public static java.lang.String getPickupTextColor()

setPickupTextColor

public static void setPickupTextColor(java.lang.String color)

getLocalTextColor

public static java.lang.String getLocalTextColor()

setLocalTextColor

public static void setLocalTextColor(java.lang.String color)

getPickupColor

public static java.awt.Color getPickupColor()

getDropColor

public static java.awt.Color getDropColor()

getLocalColor

public static java.awt.Color getLocalColor()

getColor

public static java.awt.Color getColor(java.lang.String colorName)

getManifestLogoURL

public static java.lang.String getManifestLogoURL()

setManifestLogoURL

public static void setManifestLogoURL(java.lang.String pathName)

getOwnerName

public static java.lang.String getOwnerName()

setOwnerName

public static void setOwnerName(java.lang.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 javax.swing.JComboBox getManifestFormatComboBox()

getOrientationComboBox

public static javax.swing.JComboBox getOrientationComboBox()

getPrintColorComboBox

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

getEngineMessageComboBox

public static javax.swing.JComboBox getEngineMessageComboBox()

getCarMessageComboBox

public static javax.swing.JComboBox getCarMessageComboBox()

getComboBox

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

getList

public static java.util.List<java.lang.String> getList()
Get train directions

Returns:
List of valid train directions

getDirectionString

public static java.lang.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 java.lang.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(java.lang.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)


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