public class DeviceWaveVectorSlider extends Device
Device.ActionSet
Modifier and Type | Field | Description |
---|---|---|
protected IntegratorHarmonic |
integrator |
controller, unit
Constructor | Description |
---|---|
DeviceWaveVectorSlider(Controller cont) |
Modifier and Type | Method | Description |
---|---|---|
void |
addRadioGroupActionListener(java.awt.event.ActionListener listener) |
Add the specified listener to the list of listeners that
will get invoked when the "Wave Vector" or "All Wave Vectors" radio button
is pushed.
|
void |
addWaveVectorNumSliderListener(javax.swing.event.ChangeListener listener) |
Add the specified listener to the list of listeners that
will get invoked when the 'wave vectors #' slider value changes.
|
Modifier |
getModifier() |
|
boolean |
getOneWVButtonsVisibility() |
|
double |
getWaveVectorNum() |
|
java.awt.Component |
graphic() |
|
boolean |
isAllWV() |
|
boolean |
isOneWV() |
|
void |
setAllWV() |
Set the "All Wave Vectors" button to its selected state.
|
void |
setController(Controller cont) |
Set the wavevector # slider controller.
|
void |
setEditValues(boolean b) |
Set whether the wavevector # text box should be editable.
|
void |
setIntegrator(IntegratorHarmonic i) |
Sets the integrator for the device.
|
void |
setMaximum(int max) |
Set the maximum value for the wavevector #.
|
void |
setMinimum(int min) |
Set the minimum value for the wavevector #.
|
void |
setModifier(Modifier mod) |
Set the wavevector # modifier object.
|
void |
setOneWV() |
Set the "wave vector" button to its selected state.
|
void |
setOneWVButtonsVisibility(boolean doShowOneWVButtons) |
|
void |
setShowValues(boolean b) |
Set whether the wavevector # text box should be displayed.
|
void |
setSliderMajorValues(int major) |
Set the number of "major" values that should be shown on the
temperature slider.
|
void |
setSliderPostAction(IAction action) |
Set the post slider value changed action.
|
void |
setWaveVectorNum(int value) |
Set the current value for the wavevector # slider/text box.
|
doAction, getController, getDimension, getPostAction, getPreAction, getUnit, setPostAction, setPreAction, setUnit
protected IntegratorHarmonic integrator
public DeviceWaveVectorSlider(Controller cont)
public void setOneWVButtonsVisibility(boolean doShowOneWVButtons)
public boolean getOneWVButtonsVisibility()
public void setOneWV()
public boolean isOneWV()
public void setAllWV()
public boolean isAllWV()
public void addWaveVectorNumSliderListener(javax.swing.event.ChangeListener listener)
listener
- public void addRadioGroupActionListener(java.awt.event.ActionListener listener)
listener
- public void setWaveVectorNum(int value)
public double getWaveVectorNum()
public void setShowValues(boolean b)
public void setEditValues(boolean b)
public void setMinimum(int min)
public void setMaximum(int max)
public void setSliderMajorValues(int major)
public java.awt.Component graphic()
public void setModifier(Modifier mod)
public Modifier getModifier()
public void setController(Controller cont)
setController
in class Device
cont
- The controller to set.public void setSliderPostAction(IAction action)
public void setIntegrator(IntegratorHarmonic i)
i
- Integrator