Class LayoutTrackViewXml
java.lang.Object
jmri.configurexml.AbstractXmlAdapter
jmri.jmrit.display.layoutEditor.configurexml.LayoutTrackViewXml
- All Implemented Interfaces:
XmlAdapter
- Direct Known Subclasses:
LayoutSlipViewXml,LayoutTraverserViewXml,LayoutTurnoutViewXml,LayoutTurntableViewXml,LevelXingViewXml,PositionablePointViewXml,TrackSegmentViewXml
Base class for Xml classes for classes that inherits LayoutTrackView.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.configurexml.AbstractXmlAdapter
AbstractXmlAdapter.EnumIO<T extends Enum<T>>, AbstractXmlAdapter.EnumIoMapped<T extends Enum<T>>, AbstractXmlAdapter.EnumIoNames<T extends Enum<T>>, AbstractXmlAdapter.EnumIoNamesNumbers<T extends Enum<T>>, AbstractXmlAdapter.EnumIoOrdinals<T extends Enum<T>> -
Field Summary
FieldsFields inherited from class jmri.configurexml.AbstractXmlAdapter
STR_FALSE, STR_NO, STR_TRUE, STR_YES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidloadLogixNG_Data(LayoutTrackView ltv, org.jdom2.Element element) protected doubleroundForStore(double value) Common routine to round a floating point value to a specific number of digits before storing it.voidstoreLogixNG_Data(LayoutTrackView ltv, org.jdom2.Element element) Methods inherited from class jmri.configurexml.AbstractXmlAdapter
getAttributeBooleanValue, getAttributeDoubleValue, getAttributeFloatValue, getAttributeIntegerValue, getExceptionHandler, handleException, load, load, load, load, loadDeferred, loadOrder, setExceptionHandler, storeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jmri.configurexml.XmlAdapter
store
-
Field Details
-
shortenPrecision
boolean shortenPrecision
-
-
Constructor Details
-
LayoutTrackViewXml
public LayoutTrackViewXml()
-
-
Method Details
-
storeLogixNG_Data
-
loadLogixNG_Data
-
roundForStore
Common routine to round a floating point value to a specific number of digits before storing it.
-