Class OpticPointImpl
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.optics.OpticPointImpl
-
- All Implemented Interfaces:
OpticPoint,NamedBean
- Direct Known Subclasses:
EditableOpticPointImpl
public class OpticPointImpl extends java.lang.Object implements NamedBean, OpticPoint
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOGGERthe logger for the classstatic java.util.List<MadxTwissVariable>MADX_VARIABLESall the madx-variables that are available at an optics-point
-
Constructor Summary
Constructors Constructor Description OpticPointImpl(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfirePropertyChanged()this method may be overridden by subclasses in order to notify their listeners.java.lang.DoublegetAlfx()java.lang.DoublegetAlfy()java.lang.DoublegetBetx()java.lang.DoublegetBety()java.lang.DoublegetDdpx()java.lang.DoublegetDdpy()java.lang.DoublegetDdx()java.lang.DoublegetDdy()java.lang.DoublegetDpx()java.lang.DoublegetDpy()java.lang.DoublegetDx()java.lang.DoublegetDy()java.util.List<MadxTwissVariable>getMadxVariables()java.lang.DoublegetMux()java.lang.DoublegetMuy()java.lang.StringgetName()java.lang.DoublegetPosition()java.lang.DoublegetPx()java.lang.DoublegetPy()java.lang.DoublegetValue(JMadTwissVariable variable, JMadPlane plane)java.lang.DoublegetValue(MadxTwissVariable variable)java.lang.DoublegetX()java.lang.DoublegetY()voidsetValue(MadxTwissVariable variable, java.lang.Double value)
-
-
-
Field Detail
-
LOGGER
protected static final org.slf4j.Logger LOGGER
the logger for the class
-
MADX_VARIABLES
public static final java.util.List<MadxTwissVariable> MADX_VARIABLES
all the madx-variables that are available at an optics-point
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceNamedBean- Specified by:
getNamein interfaceOpticPoint- Returns:
- the name of the instance
-
getValue
public java.lang.Double getValue(MadxTwissVariable variable)
- Specified by:
getValuein interfaceOpticPoint
-
setValue
public void setValue(MadxTwissVariable variable, java.lang.Double value)
-
getValue
public java.lang.Double getValue(JMadTwissVariable variable, JMadPlane plane)
- Specified by:
getValuein interfaceOpticPoint
-
getBetx
public java.lang.Double getBetx()
- Specified by:
getBetxin interfaceOpticPoint
-
getBety
public java.lang.Double getBety()
- Specified by:
getBetyin interfaceOpticPoint
-
getMux
public java.lang.Double getMux()
- Specified by:
getMuxin interfaceOpticPoint
-
getMuy
public java.lang.Double getMuy()
- Specified by:
getMuyin interfaceOpticPoint
-
getDx
public java.lang.Double getDx()
- Specified by:
getDxin interfaceOpticPoint
-
getDy
public java.lang.Double getDy()
- Specified by:
getDyin interfaceOpticPoint
-
getAlfx
public java.lang.Double getAlfx()
- Specified by:
getAlfxin interfaceOpticPoint
-
getAlfy
public java.lang.Double getAlfy()
- Specified by:
getAlfyin interfaceOpticPoint
-
getDdx
public java.lang.Double getDdx()
- Specified by:
getDdxin interfaceOpticPoint
-
getDpx
public java.lang.Double getDpx()
- Specified by:
getDpxin interfaceOpticPoint
-
getDpy
public java.lang.Double getDpy()
- Specified by:
getDpyin interfaceOpticPoint
-
getDdy
public java.lang.Double getDdy()
- Specified by:
getDdyin interfaceOpticPoint
-
getDdpx
public java.lang.Double getDdpx()
- Specified by:
getDdpxin interfaceOpticPoint
-
getDdpy
public java.lang.Double getDdpy()
- Specified by:
getDdpyin interfaceOpticPoint
-
getX
public java.lang.Double getX()
- Specified by:
getXin interfaceOpticPoint
-
getPx
public java.lang.Double getPx()
- Specified by:
getPxin interfaceOpticPoint
-
getY
public java.lang.Double getY()
- Specified by:
getYin interfaceOpticPoint
-
getPy
public java.lang.Double getPy()
- Specified by:
getPyin interfaceOpticPoint
-
getMadxVariables
public java.util.List<MadxTwissVariable> getMadxVariables()
-
firePropertyChanged
protected void firePropertyChanged()
this method may be overridden by subclasses in order to notify their listeners. For the moment we do nothing here!
-
getPosition
public java.lang.Double getPosition()
- Specified by:
getPositionin interfaceOpticPoint
-
-