Package pulse.problem.statements
Class Pulse2D
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.statements.Pulse
-
- pulse.problem.statements.Pulse2D
-
- All Implemented Interfaces:
Serializable,Descriptive
public class Pulse2D extends Pulse
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pulsecopy()NumericPropertygetSpotDiameter()voidinitFrom(Pulse pulse)Set<NumericPropertyKeyword>listedKeywords()The listed parameters forPulseare:PulseShape, PULSE_WIDTH, SPOT_DIAMETER.voidset(NumericPropertyKeyword type, NumericProperty property)An abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)NumericProperties in subclasses ofAccessible.voidsetSpotDiameter(NumericProperty spotDiameter)StringtoString()-
Methods inherited from class pulse.problem.statements.Pulse
getLaserEnergy, getPulseDescriptor, getPulseShape, getPulseWidth, initListeners, listedTypes, setLaserEnergy, setPulseDescriptor, setPulseShape, setPulseWidth
-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getDescriptor, getListeners, getPrefix, ignoreSiblings, isListedNumericType, isListedParameter, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
-
-
-
Constructor Detail
-
Pulse2D
public Pulse2D()
Creates aPulsewith default values of pulse width and laser spot diameter (as per XML specification).
-
Pulse2D
public Pulse2D(Pulse p)
Copy constructor- Parameters:
p- the pulse, parameters of which will be copied.
-
-
Method Detail
-
getSpotDiameter
public NumericProperty getSpotDiameter()
-
setSpotDiameter
public void setSpotDiameter(NumericProperty spotDiameter)
-
listedKeywords
public Set<NumericPropertyKeyword> listedKeywords()
Description copied from class:PulseThe listed parameters forPulseare:PulseShape, PULSE_WIDTH, SPOT_DIAMETER.- Overrides:
listedKeywordsin classPulse- Returns:
- a set of
NumericPropertyKeywordinstances, which have been explicitly marked as a listed parameter for thisPropertyHolder.
-
set
public void set(NumericPropertyKeyword type, NumericProperty property)
Description copied from class:AccessibleAn abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)
NumericProperties in subclasses ofAccessible. Typically this involves aswitchstatement that goes through the different options for thetypeand invokes differentset(...)methods to update the matchingNumericPropertywithproperty.
-
-