Package jmri.jmrit.operations.setup
Class Setup
- java.lang.Object
-
- jmri.beans.PropertyChangeSupport
-
- jmri.jmrit.operations.setup.Setup
-
- All Implemented Interfaces:
PropertyChangeFirer
,PropertyChangeProvider
,Disposable
,InstanceManagerAutoDefault
public class Setup extends PropertyChangeSupport implements InstanceManagerAutoDefault, Disposable
Operations settings.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AAR
static java.lang.String
ALLOW_CARS_TO_RETURN_PROPERTY_CHANGE
static java.lang.String
BLANK
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
DCC_ADDRESS
static java.lang.String
DESCRIPTIVE
static java.lang.String
DEST_TRACK
static java.lang.String
DESTINATION
static java.lang.String
DIVISION
static java.lang.String
DROP_COMMENT
static int
EAST
static java.lang.String
EAST_DIR
static java.lang.String
FEET
static java.lang.String
FEET_ABV
static java.lang.String
FINAL_DEST
static java.lang.String
FINAL_DEST_TRACK
static int
G_SCALE
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
HP
static java.lang.String
KERNEL
static java.lang.String
KERNEL_SIZE
static java.lang.String
LANDSCAPE
static java.lang.String
LENGTH
static java.lang.String
LOAD
static java.lang.String
LOAD_TYPE
static java.lang.String
LOCATION
static java.lang.String
MANIFEST_CSV_PROPERTY_CHANGE
static java.lang.String
METER
static java.lang.String
METER_ABV
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
OWNER
static java.lang.String
PAGE_NORMAL
static java.lang.String
PAGE_PER_TRAIN
static java.lang.String
PAGE_PER_VISIT
static java.lang.String
PICKUP_COMMENT
static java.lang.String
PORTRAIT
static java.lang.String
REAL_TIME_PROPERTY_CHANGE
static java.lang.String
ROAD
static java.lang.String
ROUTING_STAGING_PROPERTY_CHANGE
static java.lang.String
RWE
static int
S_SCALE
static java.lang.String
SAVE_TRAIN_MANIFEST_PROPERTY_CHANGE
static java.lang.String
SHOW_TRACK_MOVES_PROPERTY_CHANGE
static int
Sn3_SCALE
static int
SOUTH
static java.lang.String
SOUTH_DIR
static java.lang.String
STANDARD_FORMAT
static java.lang.String
SWITCH_LIST_CSV_PROPERTY_CHANGE
static java.lang.String
TAB
static java.lang.String
TAB2
static java.lang.String
TAB3
static java.lang.String
TRACK
static java.lang.String
TRAIN_DIRECTION_PROPERTY_CHANGE
static java.lang.String
TRAVEL_TIME_PROPERTY_CHANGE
static int
TT_SCALE
static java.lang.String
TWO_COLUMN_FORMAT
static java.lang.String
TWO_COLUMN_TRACK_FORMAT
static java.lang.String
TYPE
static java.lang.String
WEIGHT
static int
WEST
static java.lang.String
WEST_DIR
static int
Z_SCALE
-
Fields inherited from class jmri.beans.PropertyChangeSupport
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description Setup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
createTruncatedManifestMessageFormat(java.lang.String[] format)
void
dispose()
Called when disposing of a disposable.static int
getAddWeight()
static int
getBuildReportFontSize()
static java.lang.String
getBuildReportLevel()
static java.lang.String[]
getCarAttributes()
static javax.swing.JComboBox<java.lang.String>
getCarMessageComboBox()
static int
getCarMoves()
static java.lang.String
getCarTypes()
static java.awt.Color
getColor(java.lang.String colorName)
static java.lang.String
getComment()
static Setup
getDefault()
static int
getDirectionInt(java.lang.String direction)
Converts String direction to binary directionstatic java.lang.String
getDirectionString(int direction)
Converts binary direction to String directionstatic java.lang.String[]
getDirectionStrings(int directions)
Converts binary direction to a set of String directionsstatic java.lang.String
getDropCarPrefix()
static java.awt.Color
getDropColor()
static java.lang.String[]
getDropEngineMessageFormat()
static java.lang.String
getDropEnginePrefix()
static java.lang.String[]
getDropManifestMessageFormat()
static java.lang.String[]
getDropSwitchListMessageFormat()
static java.lang.String
getDropTextColor()
static java.lang.String[]
getDropTruncatedManifestMessageFormat()
static java.lang.String[]
getDropTwoColumnByTrackManifestMessageFormat()
static java.lang.String[]
getDropTwoColumnByTrackSwitchListMessageFormat()
static java.lang.String[]
getDropTwoColumnByTrackUtilityManifestMessageFormat()
static java.lang.String[]
getDropTwoColumnByTrackUtilitySwitchListMessageFormat()
static java.lang.String[]
getDropUtilityManifestMessageFormat()
static java.lang.String[]
getDropUtilitySwitchListMessageFormat()
static java.lang.String[]
getEngineAttributes()
static javax.swing.JComboBox<java.lang.String>
getEngineMessageComboBox()
static java.lang.String
getFontName()
static java.lang.String
getHazardousMsg()
static double
getHorsePowerPerTon()
static int
getInitalWeight()
static java.lang.String
getLengthUnit()
static java.lang.String
getLengthUnitAbv()
Abbreviation unit of lengthstatic java.awt.Color
getLocalColor()
static java.lang.String[]
getLocalManifestMessageFormat()
static java.lang.String
getLocalPrefix()
static java.lang.String[]
getLocalSwitchListMessageFormat()
static java.lang.String
getLocalTextColor()
static java.lang.String[]
getLocalUtilityManifestMessageFormat()
static java.lang.String[]
getLocalUtilitySwitchListMessageFormat()
static int
getManifestFontSize()
static java.lang.String
getManifestFormat()
static javax.swing.JComboBox<java.lang.String>
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<java.lang.String>
getOrientationComboBox()
static java.lang.String
getOwnerName()
static java.lang.String
getPanelName()
static java.lang.String
getPickupCarPrefix()
static java.awt.Color
getPickupColor()
static java.lang.String[]
getPickupEngineMessageFormat()
static java.lang.String
getPickupEnginePrefix()
static java.lang.String[]
getPickupManifestMessageFormat()
static java.lang.String[]
getPickupSwitchListMessageFormat()
static java.lang.String
getPickupTextColor()
static java.lang.String[]
getPickupTruncatedManifestMessageFormat()
static java.lang.String[]
getPickupTwoColumnByTrackManifestMessageFormat()
static java.lang.String[]
getPickupTwoColumnByTrackSwitchListMessageFormat()
static java.lang.String[]
getPickupTwoColumnByTrackUtilityManifestMessageFormat()
static java.lang.String[]
getPickupTwoColumnByTrackUtilitySwitchListMessageFormat()
static java.lang.String[]
getPickupUtilityManifestMessageFormat()
Gets the manifest format for utility cars.static java.lang.String[]
getPickupUtilitySwitchListMessageFormat()
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
getSwitchListDropCarPrefix()
static java.lang.String
getSwitchListLocalPrefix()
static java.lang.String
getSwitchListOrientation()
static java.lang.String
getSwitchListPageFormat()
static javax.swing.JComboBox<java.lang.String>
getSwitchListPageFormatComboBox()
static java.lang.String
getSwitchListPickupCarPrefix()
static int
getSwitchListPrefixLength()
static int
getSwitchTime()
static int
getTab1Length()
static int
getTab2Length()
static int
getTab3Length()
static int
getTrainDirection()
static javax.swing.JComboBox<java.lang.String>
getTrainDirectionComboBox()
static java.util.List<java.lang.String>
getTrainDirectionList()
Get train directions String formatstatic 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
getValueLabel()
static java.lang.String
getYearModeled()
static boolean
is12hrFormatEnabled()
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()
When true, router checks that the car's destination is serviced by departure track.static boolean
isCloseWindowOnSaveEnabled()
static boolean
isEngineLoggerEnabled()
static boolean
isForwardToYardEnabled()
static boolean
isGenerateCsvManifestEnabled()
static boolean
isGenerateCsvSwitchListEnabled()
static boolean
isGroupCarMovesEnabled()
static boolean
isLocalInterchangeMovesEnabled()
static boolean
isLocalSpurMovesEnabled()
static boolean
isLocalYardMovesEnabled()
static boolean
isMainMenuEnabled()
static boolean
isManifestEditorEnabled()
static boolean
isOnlyActiveTrainsEnabled()
static boolean
isPrintCabooseLoadEnabled()
static boolean
isPrintHeadersEnabled()
static boolean
isPrintLoadsAndEmptiesEnabled()
static boolean
isPrintLocationCommentsEnabled()
static boolean
isPrintPageHeaderEnabled()
static boolean
isPrintPassengerLoadEnabled()
static boolean
isPrintRouteCommentsEnabled()
static boolean
isPrintTrackSummaryEnabled()
static boolean
isPrintTrainScheduleNameEnabled()
static boolean
isPrintTruncateManifestEnabled()
static boolean
isPrintValidEnabled()
static boolean
isRfidEnabled()
static boolean
isSaveTrainManifestsEnabled()
static boolean
isShowTrackMovesEnabled()
static boolean
isSortByTrackNameEnabled()
when true manifest work is sorted by track names.static boolean
isStagingAllowReturnEnabled()
allow cars to return to the same staging location if no other options (tracks) are available.static boolean
isStagingPromptFromEnabled()
static boolean
isStagingPromptToEnabled()
static boolean
isStagingTrackImmediatelyAvail()
static boolean
isStagingTrainCheckEnabled()
static boolean
isStagingTryNormalBuildEnabled()
static boolean
isSwitchListAllTrainsEnabled()
When true switch list shows all trains visiting a location, even if the train doesn't have any work at that location.static boolean
isSwitchListFormatSameAsManifest()
static boolean
isSwitchListRealTime()
static boolean
isSwitchListRouteLocationCommentEnabled()
static boolean
isTabEnabled()
static boolean
isTrainIconAppendEnabled()
static boolean
isTrainIconCordEnabled()
static boolean
isTrainLoggerEnabled()
static boolean
isUseDepartureTimeEnabled()
static boolean
isUseSwitchListDepartureTimeEnabled()
static boolean
isValueEnabled()
static boolean
isVsdPhysicalLocationEnabled()
static void
load(org.jdom2.Element e)
static void
set12hrFormatEnabled(boolean enable)
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
setComment(java.lang.String comment)
protected static void
setDirtyAndFirePropertyChange(java.lang.String p, java.lang.Object old, java.lang.Object n)
static void
setDropCarPrefix(java.lang.String prefix)
static void
setDropColor(java.awt.Color c)
static void
setDropEngineMessageFormat(java.lang.String[] format)
static void
setDropEnginePrefix(java.lang.String prefix)
static void
setDropManifestMessageFormat(java.lang.String[] format)
static void
setDropSwitchListMessageFormat(java.lang.String[] format)
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
setGroupCarMoves(boolean b)
static void
setHazardousMsg(java.lang.String message)
static void
setHorsePowerPerTon(double value)
static void
setLengthUnit(java.lang.String unit)
static void
setLocalColor(java.awt.Color c)
static void
setLocalInterchangeMovesEnabled(boolean enabled)
static void
setLocalManifestMessageFormat(java.lang.String[] format)
static void
setLocalPrefix(java.lang.String prefix)
static void
setLocalSpurMovesEnabled(boolean enabled)
static void
setLocalSwitchListMessageFormat(java.lang.String[] format)
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)
Sets the format for manifestsstatic 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
setPickupCarPrefix(java.lang.String prefix)
static void
setPickupColor(java.awt.Color c)
static void
setPickupEngineMessageFormat(java.lang.String[] format)
static void
setPickupEnginePrefix(java.lang.String prefix)
static void
setPickupManifestMessageFormat(java.lang.String[] format)
static void
setPickupSwitchListMessageFormat(java.lang.String[] format)
static void
setPickupTextColor(java.lang.String color)
static void
setPrintCabooseLoadEnabled(boolean enable)
static void
setPrintHeadersEnabled(boolean enable)
static void
setPrintLoadsAndEmptiesEnabled(boolean enable)
static void
setPrintLocationCommentsEnabled(boolean enable)
static void
setPrintPageHeaderEnabled(boolean enable)
static void
setPrintPassengerLoadEnabled(boolean enable)
static void
setPrintRouteCommentsEnabled(boolean enable)
static void
setPrintTrackSummaryEnabled(boolean b)
static void
setPrintTrainScheduleNameEnabled(boolean enable)
static void
setPrintTruncateManifestEnabled(boolean b)
static void
setPrintValidEnabled(boolean enable)
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)
Sets the report level for the car router.static void
setSaveTrainManifestsEnabled(boolean enable)
static void
setScale(int s)
static void
setShowTrackMovesEnabled(boolean enable)
static void
setSortByTrackNameEnabled(boolean enable)
static void
setStagingAllowReturnEnabled(boolean enabled)
static void
setStagingPromptFromEnabled(boolean enabled)
static void
setStagingPromptToEnabled(boolean enabled)
static void
setStagingTrackImmediatelyAvail(boolean enabled)
static void
setStagingTrainCheckEnabled(boolean enabled)
Controls staging track selection, when true, the terminus staging track has to have the same characteristics as the train.static void
setStagingTryNormalBuildEnabled(boolean enabled)
static void
setSwitchListAllTrainsEnabled(boolean b)
static void
setSwitchListDropCarPrefix(java.lang.String prefix)
static void
setSwitchListFormatSameAsManifest(boolean b)
static void
setSwitchListLocalPrefix(java.lang.String prefix)
static void
setSwitchListOrientation(java.lang.String orientation)
static void
setSwitchListPageFormat(java.lang.String format)
Used to determine if there's spaces or form feed between trains and locations when printing switch lists. see getSwitchListPageFormatComboBox()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
setTrainLoggerEnabled(boolean enable)
static void
setTravelTime(int minutes)
static void
setUseDepartureTimeEnabled(boolean b)
static void
setUseSwitchListDepartureTimeEnabled(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.jdom2.Element
store()
-
Methods inherited from class jmri.beans.PropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Field Detail
-
NONE
public static final java.lang.String NONE
- See Also:
- Constant Field Values
-
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_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
-
PAGE_NORMAL
public static final java.lang.String PAGE_NORMAL
-
PAGE_PER_TRAIN
public static final java.lang.String PAGE_PER_TRAIN
-
PAGE_PER_VISIT
public static final java.lang.String PAGE_PER_VISIT
-
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
-
WEIGHT
public static final java.lang.String WEIGHT
-
HP
public static final java.lang.String HP
-
LOAD
public static final java.lang.String LOAD
-
LOAD_TYPE
public static final java.lang.String LOAD_TYPE
-
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
-
DCC_ADDRESS
public static final java.lang.String DCC_ADDRESS
-
KERNEL
public static final java.lang.String KERNEL
-
KERNEL_SIZE
public static final java.lang.String KERNEL_SIZE
-
OWNER
public static final java.lang.String OWNER
-
DIVISION
public static final java.lang.String DIVISION
-
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
-
BLANK
public static final java.lang.String BLANK
- 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
-
FEET
public static final java.lang.String FEET
-
METER
public static final java.lang.String METER
-
FEET_ABV
public static final java.lang.String FEET_ABV
-
METER_ABV
public static final java.lang.String METER_ABV
-
SWITCH_LIST_CSV_PROPERTY_CHANGE
public static final java.lang.String SWITCH_LIST_CSV_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
MANIFEST_CSV_PROPERTY_CHANGE
public static final java.lang.String MANIFEST_CSV_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
REAL_TIME_PROPERTY_CHANGE
public static final java.lang.String REAL_TIME_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
SHOW_TRACK_MOVES_PROPERTY_CHANGE
public static final java.lang.String SHOW_TRACK_MOVES_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
SAVE_TRAIN_MANIFEST_PROPERTY_CHANGE
public static final java.lang.String SAVE_TRAIN_MANIFEST_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
ALLOW_CARS_TO_RETURN_PROPERTY_CHANGE
public static final java.lang.String ALLOW_CARS_TO_RETURN_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
TRAIN_DIRECTION_PROPERTY_CHANGE
public static final java.lang.String TRAIN_DIRECTION_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
ROUTING_STAGING_PROPERTY_CHANGE
public static final java.lang.String ROUTING_STAGING_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
TRAVEL_TIME_PROPERTY_CHANGE
public static final java.lang.String TRAVEL_TIME_PROPERTY_CHANGE
- See Also:
- Constant Field Values
-
-
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()
When true, router checks that the car's destination is serviced by departure track. Very restrictive, not recommended.- Returns:
- true if enabled.
-
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)
-
isStagingTrainCheckEnabled
public static boolean isStagingTrainCheckEnabled()
-
setStagingTrainCheckEnabled
public static void setStagingTrainCheckEnabled(boolean enabled)
Controls staging track selection, when true, the terminus staging track has to have the same characteristics as the train.- Parameters:
enabled
- when true, the terminal staging track must service the same car types, loads, etc. as the train
-
isStagingTrackImmediatelyAvail
public static boolean isStagingTrackImmediatelyAvail()
-
setStagingTrackImmediatelyAvail
public static void setStagingTrackImmediatelyAvail(boolean enabled)
-
isStagingAllowReturnEnabled
public static boolean isStagingAllowReturnEnabled()
allow cars to return to the same staging location if no other options (tracks) are available. Also available on a per train basis.- Returns:
- true if cars are allowed to depart and return to same staging location
-
setStagingAllowReturnEnabled
public static void setStagingAllowReturnEnabled(boolean enabled)
-
isStagingPromptFromEnabled
public static boolean isStagingPromptFromEnabled()
-
setStagingPromptFromEnabled
public static void setStagingPromptFromEnabled(boolean enabled)
-
isStagingPromptToEnabled
public static boolean isStagingPromptToEnabled()
-
setStagingPromptToEnabled
public static void setStagingPromptToEnabled(boolean enabled)
-
isStagingTryNormalBuildEnabled
public static boolean isStagingTryNormalBuildEnabled()
-
setStagingTryNormalBuildEnabled
public static void setStagingTryNormalBuildEnabled(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(double value)
-
getHorsePowerPerTon
public static double 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()
-
getLengthUnitAbv
public static java.lang.String getLengthUnitAbv()
Abbreviation unit of length- Returns:
- symbol for feet or meter
-
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()
-
setComment
public static void setComment(java.lang.String comment)
-
getComment
public static java.lang.String getComment()
-
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)
Sets the report level for the car router.- Parameters:
level
- BUILD_REPORT_NORMAL, BUILD_REPORT_DETAILED, BUILD_REPORT_VERY_DETAILED
-
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()
-
setPrintTrackSummaryEnabled
public static void setPrintTrackSummaryEnabled(boolean b)
-
isPrintTrackSummaryEnabled
public static boolean isPrintTrackSummaryEnabled()
-
setSwitchListRouteLocationCommentEnabled
public static void setSwitchListRouteLocationCommentEnabled(boolean b)
-
isSwitchListRouteLocationCommentEnabled
public static boolean isSwitchListRouteLocationCommentEnabled()
-
setGroupCarMoves
public static void setGroupCarMoves(boolean b)
-
isGroupCarMovesEnabled
public static boolean isGroupCarMovesEnabled()
-
setSwitchListRealTime
public static void setSwitchListRealTime(boolean b)
-
isSwitchListRealTime
public static boolean isSwitchListRealTime()
-
setSwitchListAllTrainsEnabled
public static void setSwitchListAllTrainsEnabled(boolean b)
-
isSwitchListAllTrainsEnabled
public static boolean isSwitchListAllTrainsEnabled()
When true switch list shows all trains visiting a location, even if the train doesn't have any work at that location. When false, switch lists only report a train if it has work at the location.- Returns:
- When true show all trains visiting a location.
-
setSwitchListPageFormat
public static void setSwitchListPageFormat(java.lang.String format)
Used to determine if there's spaces or form feed between trains and locations when printing switch lists. see getSwitchListPageFormatComboBox()- Parameters:
format
- PAGE_NORMAL, PAGE_PER_TRAIN, or PAGE_PER_VISIT
-
getSwitchListPageFormat
public static java.lang.String getSwitchListPageFormat()
-
setPrintTruncateManifestEnabled
public static void setPrintTruncateManifestEnabled(boolean b)
-
isPrintTruncateManifestEnabled
public static boolean isPrintTruncateManifestEnabled()
-
setUseDepartureTimeEnabled
public static void setUseDepartureTimeEnabled(boolean b)
-
isUseDepartureTimeEnabled
public static boolean isUseDepartureTimeEnabled()
-
setUseSwitchListDepartureTimeEnabled
public static void setUseSwitchListDepartureTimeEnabled(boolean b)
-
isUseSwitchListDepartureTimeEnabled
public static boolean isUseSwitchListDepartureTimeEnabled()
-
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()
-
setPrintTrainScheduleNameEnabled
public static void setPrintTrainScheduleNameEnabled(boolean enable)
-
isPrintTrainScheduleNameEnabled
public static boolean isPrintTrainScheduleNameEnabled()
-
set12hrFormatEnabled
public static void set12hrFormatEnabled(boolean enable)
-
is12hrFormatEnabled
public static boolean is12hrFormatEnabled()
-
setPrintValidEnabled
public static void setPrintValidEnabled(boolean enable)
-
isPrintValidEnabled
public static boolean isPrintValidEnabled()
-
setSortByTrackNameEnabled
public static void setSortByTrackNameEnabled(boolean enable)
-
isSortByTrackNameEnabled
public static boolean isSortByTrackNameEnabled()
when true manifest work is sorted by track names.- Returns:
- true if work at a location is to be sorted by track names.
-
setPrintHeadersEnabled
public static void setPrintHeadersEnabled(boolean enable)
-
isPrintHeadersEnabled
public static boolean isPrintHeadersEnabled()
-
setPrintCabooseLoadEnabled
public static void setPrintCabooseLoadEnabled(boolean enable)
-
isPrintCabooseLoadEnabled
public static boolean isPrintCabooseLoadEnabled()
-
setPrintPassengerLoadEnabled
public static void setPrintPassengerLoadEnabled(boolean enable)
-
isPrintPassengerLoadEnabled
public static boolean isPrintPassengerLoadEnabled()
-
setShowTrackMovesEnabled
public static void setShowTrackMovesEnabled(boolean enable)
-
isShowTrackMovesEnabled
public static boolean isShowTrackMovesEnabled()
-
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)
-
isPrintPageHeaderEnabled
public static boolean isPrintPageHeaderEnabled()
-
setPrintPageHeaderEnabled
public static void setPrintPageHeaderEnabled(boolean enable)
-
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)
-
getManifestFormat
public static java.lang.String getManifestFormat()
-
setManifestFormat
public static void setManifestFormat(java.lang.String format)
Sets the format for manifests- Parameters:
format
- STANDARD_FORMAT, TWO_COLUMN_FORMAT, or TWO_COLUMN_TRACK_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)
-
isSaveTrainManifestsEnabled
public static boolean isSaveTrainManifestsEnabled()
-
setSaveTrainManifestsEnabled
public static void setSaveTrainManifestsEnabled(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()
-
getPickupManifestMessageFormat
public static java.lang.String[] getPickupManifestMessageFormat()
-
setPickupManifestMessageFormat
public static void setPickupManifestMessageFormat(java.lang.String[] format)
-
getDropManifestMessageFormat
public static java.lang.String[] getDropManifestMessageFormat()
-
setDropManifestMessageFormat
public static void setDropManifestMessageFormat(java.lang.String[] format)
-
getLocalManifestMessageFormat
public static java.lang.String[] getLocalManifestMessageFormat()
-
setLocalManifestMessageFormat
public static void setLocalManifestMessageFormat(java.lang.String[] format)
-
getMissingCarMessageFormat
public static java.lang.String[] getMissingCarMessageFormat()
-
setMissingCarMessageFormat
public static void setMissingCarMessageFormat(java.lang.String[] format)
-
getPickupSwitchListMessageFormat
public static java.lang.String[] getPickupSwitchListMessageFormat()
-
setPickupSwitchListMessageFormat
public static void setPickupSwitchListMessageFormat(java.lang.String[] format)
-
getDropSwitchListMessageFormat
public static java.lang.String[] getDropSwitchListMessageFormat()
-
setDropSwitchListMessageFormat
public static void setDropSwitchListMessageFormat(java.lang.String[] format)
-
getLocalSwitchListMessageFormat
public static java.lang.String[] getLocalSwitchListMessageFormat()
-
setLocalSwitchListMessageFormat
public static void setLocalSwitchListMessageFormat(java.lang.String[] format)
-
getPickupUtilityManifestMessageFormat
public static java.lang.String[] getPickupUtilityManifestMessageFormat()
Gets the manifest format for utility cars. The car's road, number, and color are not printed.- Returns:
- Utility car format
-
getDropUtilityManifestMessageFormat
public static java.lang.String[] getDropUtilityManifestMessageFormat()
-
getLocalUtilityManifestMessageFormat
public static java.lang.String[] getLocalUtilityManifestMessageFormat()
-
getPickupUtilitySwitchListMessageFormat
public static java.lang.String[] getPickupUtilitySwitchListMessageFormat()
-
getDropUtilitySwitchListMessageFormat
public static java.lang.String[] getDropUtilitySwitchListMessageFormat()
-
getLocalUtilitySwitchListMessageFormat
public static java.lang.String[] getLocalUtilitySwitchListMessageFormat()
-
getPickupTruncatedManifestMessageFormat
public static java.lang.String[] getPickupTruncatedManifestMessageFormat()
-
getDropTruncatedManifestMessageFormat
public static java.lang.String[] getDropTruncatedManifestMessageFormat()
-
createTruncatedManifestMessageFormat
public static java.lang.String[] createTruncatedManifestMessageFormat(java.lang.String[] format)
-
getPickupTwoColumnByTrackManifestMessageFormat
public static java.lang.String[] getPickupTwoColumnByTrackManifestMessageFormat()
-
getPickupTwoColumnByTrackSwitchListMessageFormat
public static java.lang.String[] getPickupTwoColumnByTrackSwitchListMessageFormat()
-
getPickupTwoColumnByTrackUtilityManifestMessageFormat
public static java.lang.String[] getPickupTwoColumnByTrackUtilityManifestMessageFormat()
-
getPickupTwoColumnByTrackUtilitySwitchListMessageFormat
public static java.lang.String[] getPickupTwoColumnByTrackUtilitySwitchListMessageFormat()
-
getDropTwoColumnByTrackManifestMessageFormat
public static java.lang.String[] getDropTwoColumnByTrackManifestMessageFormat()
-
getDropTwoColumnByTrackSwitchListMessageFormat
public static java.lang.String[] getDropTwoColumnByTrackSwitchListMessageFormat()
-
getDropTwoColumnByTrackUtilityManifestMessageFormat
public static java.lang.String[] getDropTwoColumnByTrackUtilityManifestMessageFormat()
-
getDropTwoColumnByTrackUtilitySwitchListMessageFormat
public static java.lang.String[] getDropTwoColumnByTrackUtilitySwitchListMessageFormat()
-
getDropTextColor
public static java.lang.String getDropTextColor()
-
setDropTextColor
public static void setDropTextColor(java.lang.String color)
-
setDropColor
public static void setDropColor(java.awt.Color c)
-
getPickupTextColor
public static java.lang.String getPickupTextColor()
-
setPickupTextColor
public static void setPickupTextColor(java.lang.String color)
-
setPickupColor
public static void setPickupColor(java.awt.Color c)
-
getLocalTextColor
public static java.lang.String getLocalTextColor()
-
setLocalTextColor
public static void setLocalTextColor(java.lang.String color)
-
setLocalColor
public static void setLocalColor(java.awt.Color c)
-
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<java.lang.String> getManifestFormatComboBox()
-
getOrientationComboBox
public static javax.swing.JComboBox<java.lang.String> getOrientationComboBox()
-
getSwitchListPageFormatComboBox
public static javax.swing.JComboBox<java.lang.String> getSwitchListPageFormatComboBox()
-
getEngineMessageComboBox
public static javax.swing.JComboBox<java.lang.String> getEngineMessageComboBox()
-
getCarMessageComboBox
public static javax.swing.JComboBox<java.lang.String> getCarMessageComboBox()
-
getTrainDirectionComboBox
public static javax.swing.JComboBox<java.lang.String> getTrainDirectionComboBox()
- Returns:
- JComboBox loaded with the strings (North, South, East, West) showing the available train directions for this railroad
-
getTrainDirectionList
public static java.util.List<java.lang.String> getTrainDirectionList()
Get train directions String format- 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.jdom2.Element store()
-
load
public static void load(org.jdom2.Element e)
-
setDirtyAndFirePropertyChange
protected static void setDirtyAndFirePropertyChange(java.lang.String p, java.lang.Object old, java.lang.Object n)
-
getDefault
public static Setup getDefault()
-
dispose
public void dispose()
Description copied from interface:Disposable
Called when disposing of a disposable.Note there are no assurances this method will not be called multiple times against a single instance of this Disposable. It is the responsibility of this Disposable to protect itself and the application from ensuring that calling this method multiple times has no unwanted side effects.
- Specified by:
dispose
in interfaceDisposable
-
-