Package jmri.jmrit.display.layoutEditor
Class LayoutTrackDrawingOptions
- java.lang.Object
-
- jmri.jmrit.display.layoutEditor.LayoutTrackDrawingOptions
-
public class LayoutTrackDrawingOptions extends java.lang.Object
Hold various values defining how to draw various LayoutTrack elements.- Since:
- 4.15.6 blockDefaultColor, blockOccupiedColor and blockAlternativeColor added here
-
-
Constructor Summary
Constructors Constructor Description LayoutTrackDrawingOptions(java.lang.String name)
LayoutTrackDrawingOptions(LayoutTrackDrawingOptions ltdo)
-
Method Summary
-
-
-
Constructor Detail
-
LayoutTrackDrawingOptions
public LayoutTrackDrawingOptions(java.lang.String name)
-
LayoutTrackDrawingOptions
public LayoutTrackDrawingOptions(LayoutTrackDrawingOptions ltdo)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getSideBallastWidth
public int getSideBallastWidth()
-
setSideBallastWidth
public void setSideBallastWidth(int val)
-
getSideBallastColor
public java.awt.Color getSideBallastColor()
-
setSideBallastColor
public void setSideBallastColor(@Nonnull java.awt.Color val)
-
getSideTieLength
public int getSideTieLength()
-
setSideTieLength
public void setSideTieLength(int val)
-
getSideTieColor
public java.awt.Color getSideTieColor()
-
setSideTieColor
public void setSideTieColor(@Nonnull java.awt.Color val)
-
getSideTieWidth
public int getSideTieWidth()
-
setSideTieWidth
public void setSideTieWidth(int val)
-
getSideTieGap
public int getSideTieGap()
-
setSideTieGap
public void setSideTieGap(int val)
-
getSideRailCount
public int getSideRailCount()
-
setSideRailCount
public void setSideRailCount(int val)
-
getSideRailWidth
public int getSideRailWidth()
-
setSideRailWidth
public void setSideRailWidth(int val)
-
getSideRailGap
public int getSideRailGap()
-
setSideRailGap
public void setSideRailGap(int val)
-
getSideRailColor
public java.awt.Color getSideRailColor()
-
setSideRailColor
public void setSideRailColor(@Nonnull java.awt.Color val)
-
getSideBlockLineDashPercentageX10
public int getSideBlockLineDashPercentageX10()
-
setSideBlockLineDashPercentageX10
public void setSideBlockLineDashPercentageX10(int val)
-
getSideBlockLineWidth
public int getSideBlockLineWidth()
-
setSideBlockLineWidth
public void setSideBlockLineWidth(int val)
-
getMainBallastWidth
public int getMainBallastWidth()
-
setMainBallastWidth
public void setMainBallastWidth(int val)
-
getMainBallastColor
public java.awt.Color getMainBallastColor()
-
setMainBallastColor
public void setMainBallastColor(@Nonnull java.awt.Color val)
-
getMainTieLength
public int getMainTieLength()
-
setMainTieLength
public void setMainTieLength(int val)
-
getMainTieColor
public java.awt.Color getMainTieColor()
-
setMainTieColor
public void setMainTieColor(@Nonnull java.awt.Color val)
-
getMainTieWidth
public int getMainTieWidth()
-
setMainTieWidth
public void setMainTieWidth(int val)
-
getMainTieGap
public int getMainTieGap()
-
setMainTieGap
public void setMainTieGap(int val)
-
getMainRailCount
public int getMainRailCount()
-
setMainRailCount
public void setMainRailCount(int val)
-
getMainRailWidth
public int getMainRailWidth()
-
setMainRailWidth
public void setMainRailWidth(int val)
-
getMainRailGap
public int getMainRailGap()
-
setMainRailGap
public void setMainRailGap(int val)
-
getMainRailColor
public java.awt.Color getMainRailColor()
-
setMainRailColor
public void setMainRailColor(@Nonnull java.awt.Color val)
-
getMainBlockLineDashPercentageX10
public int getMainBlockLineDashPercentageX10()
-
setMainBlockLineDashPercentageX10
public void setMainBlockLineDashPercentageX10(int val)
-
getMainBlockLineWidth
public int getMainBlockLineWidth()
-
setMainBlockLineWidth
public void setMainBlockLineWidth(int val)
-
getBlockDefaultColor
public java.awt.Color getBlockDefaultColor()
-
setBlockDefaultColor
public void setBlockDefaultColor(@Nonnull java.awt.Color val)
-
getBlockOccupiedColor
public java.awt.Color getBlockOccupiedColor()
-
setBlockOccupiedColor
public void setBlockOccupiedColor(@Nonnull java.awt.Color val)
-
getBlockAlternativeColor
public java.awt.Color getBlockAlternativeColor()
-
setBlockAlternativeColor
public void setBlockAlternativeColor(@Nonnull java.awt.Color val)
-
equalsAllButName
public boolean equalsAllButName(@Nonnull LayoutTrackDrawingOptions ltdo)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Hash on the header- Overrides:
hashCode
in classjava.lang.Object
-
-