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.Logger
LOGGER
the logger for the classstatic java.util.List<MadxTwissVariable>
MADX_VARIABLES
all 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 void
firePropertyChanged()
this method may be overridden by subclasses in order to notify their listeners.java.lang.Double
getAlfx()
java.lang.Double
getAlfy()
java.lang.Double
getBetx()
java.lang.Double
getBety()
java.lang.Double
getDdpx()
java.lang.Double
getDdpy()
java.lang.Double
getDdx()
java.lang.Double
getDdy()
java.lang.Double
getDpx()
java.lang.Double
getDpy()
java.lang.Double
getDx()
java.lang.Double
getDy()
java.util.List<MadxTwissVariable>
getMadxVariables()
java.lang.Double
getMux()
java.lang.Double
getMuy()
java.lang.String
getName()
java.lang.Double
getPosition()
java.lang.Double
getPx()
java.lang.Double
getPy()
java.lang.Double
getValue(JMadTwissVariable variable, JMadPlane plane)
java.lang.Double
getValue(MadxTwissVariable variable)
java.lang.Double
getX()
java.lang.Double
getY()
void
setValue(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:
getName
in interfaceNamedBean
- Specified by:
getName
in interfaceOpticPoint
- Returns:
- the name of the instance
-
getValue
public java.lang.Double getValue(MadxTwissVariable variable)
- Specified by:
getValue
in interfaceOpticPoint
-
setValue
public void setValue(MadxTwissVariable variable, java.lang.Double value)
-
getValue
public java.lang.Double getValue(JMadTwissVariable variable, JMadPlane plane)
- Specified by:
getValue
in interfaceOpticPoint
-
getBetx
public java.lang.Double getBetx()
- Specified by:
getBetx
in interfaceOpticPoint
-
getBety
public java.lang.Double getBety()
- Specified by:
getBety
in interfaceOpticPoint
-
getMux
public java.lang.Double getMux()
- Specified by:
getMux
in interfaceOpticPoint
-
getMuy
public java.lang.Double getMuy()
- Specified by:
getMuy
in interfaceOpticPoint
-
getDx
public java.lang.Double getDx()
- Specified by:
getDx
in interfaceOpticPoint
-
getDy
public java.lang.Double getDy()
- Specified by:
getDy
in interfaceOpticPoint
-
getAlfx
public java.lang.Double getAlfx()
- Specified by:
getAlfx
in interfaceOpticPoint
-
getAlfy
public java.lang.Double getAlfy()
- Specified by:
getAlfy
in interfaceOpticPoint
-
getDdx
public java.lang.Double getDdx()
- Specified by:
getDdx
in interfaceOpticPoint
-
getDpx
public java.lang.Double getDpx()
- Specified by:
getDpx
in interfaceOpticPoint
-
getDpy
public java.lang.Double getDpy()
- Specified by:
getDpy
in interfaceOpticPoint
-
getDdy
public java.lang.Double getDdy()
- Specified by:
getDdy
in interfaceOpticPoint
-
getDdpx
public java.lang.Double getDdpx()
- Specified by:
getDdpx
in interfaceOpticPoint
-
getDdpy
public java.lang.Double getDdpy()
- Specified by:
getDdpy
in interfaceOpticPoint
-
getX
public java.lang.Double getX()
- Specified by:
getX
in interfaceOpticPoint
-
getPx
public java.lang.Double getPx()
- Specified by:
getPx
in interfaceOpticPoint
-
getY
public java.lang.Double getY()
- Specified by:
getY
in interfaceOpticPoint
-
getPy
public java.lang.Double getPy()
- Specified by:
getPy
in 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:
getPosition
in interfaceOpticPoint
-
-