Interface SelectedVarManager
- 
- All Superinterfaces:
 MadxVarSelector
- All Known Implementing Classes:
 SelectedVarManagerImpl
public interface SelectedVarManager extends MadxVarSelector
This is the interface of a class that collects selected variables for one axis. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSelectedVarManager.VarSelectionModethis mode represents, if only one variable can be selected, or multiple ones. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(cern.accsoft.steering.jmad.domain.var.TwissVariable twissVariable)adds a new variablevoidclear()clears the variablesSelectedVarManager.VarSelectionModegetVarSelectionMode()voidremove(cern.accsoft.steering.jmad.domain.var.TwissVariable twissVariable)remove the given variablevoidsetVarSelectionMode(SelectedVarManager.VarSelectionMode varSelectionMode)defines, if one or more variables may be selected.- 
Methods inherited from interface cern.accsoft.steering.jmad.gui.panels.var.MadxVarSelector
getSelectedVariable, getSelectedVariables 
 - 
 
 - 
 
- 
- 
Method Detail
- 
add
void add(cern.accsoft.steering.jmad.domain.var.TwissVariable twissVariable)
adds a new variable- Parameters:
 twissVariable- the variable to add
 
- 
remove
void remove(cern.accsoft.steering.jmad.domain.var.TwissVariable twissVariable)
remove the given variable- Parameters:
 twissVariable- the variable to remove
 
- 
clear
void clear()
clears the variables 
- 
setVarSelectionMode
void setVarSelectionMode(SelectedVarManager.VarSelectionMode varSelectionMode)
defines, if one or more variables may be selected.- Parameters:
 varSelectionMode-
 
- 
getVarSelectionMode
SelectedVarManager.VarSelectionMode getVarSelectionMode()
- Returns:
 - the actual selection mode
 
 
 - 
 
 -