public class DeviceCellNum3DSlider extends Device
Device.ActionSet
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected ISpecies |
species |
controller, unit
Constructor | Description |
---|---|
DeviceCellNum3DSlider(Controller cont) |
Modifier and Type | Method | Description |
---|---|---|
void |
addCellNumSliderListener(javax.swing.event.ChangeListener listener) |
Add the specified listener to the list of listeners that
will get invoked when the 'nCell #' slider value changes.
|
Box |
getBox() |
|
Modifier |
getNCellModifier() |
|
double |
getNCellNum() |
|
ISpecies |
getSpecies() |
|
java.awt.Component |
graphic() |
|
void |
setBox(Box newBox) |
|
void |
setController(Controller cont) |
Set the n- Cell # slider controller.
|
void |
setMaximum(int max) |
Set the maximum value for the N-Cell #.
|
void |
setMinimum(int min) |
Set the minimum value for the N-Cell #.
|
void |
setNCellModifier(Modifier mod) |
Set the n-Cell # modifier object.
|
void |
setNCellNum(int value) |
Set the current value for the N-Cell # slider/text box.
|
void |
setNSliderPostAction(IAction action) |
Set the post slider value changed action.
|
void |
setSliderMajorValues(int major) |
Set the number of "major" values that should be shown on the
n- CellNum slider.
|
void |
setSpecies(ISpecies newSpecies) |
doAction, getController, getDimension, getPostAction, getPreAction, getUnit, setPostAction, setPreAction, setUnit
public DeviceCellNum3DSlider(Controller cont)
public void addCellNumSliderListener(javax.swing.event.ChangeListener listener)
listener
- public void setNCellNum(int value)
public double getNCellNum()
public void setMinimum(int min)
public void setMaximum(int max)
public void setSliderMajorValues(int major)
public java.awt.Component graphic()
public void setNCellModifier(Modifier mod)
public Modifier getNCellModifier()
public void setController(Controller cont)
setController
in class Device
cont
- The controller to set.public void setNSliderPostAction(IAction action)
public void setBox(Box newBox)
public void setSpecies(ISpecies newSpecies)
public Box getBox()
public ISpecies getSpecies()