hep.wired.cut
Class CutSetEditor
java.lang.Object
hep.wired.cut.CutSetEditor
public class CutSetEditor
- extends Object
GUI elements and logic for editing CutSet
s.
- Version:
- $Id: $
- Author:
- Dmitry Onoprienko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CutSetEditor
public CutSetEditor()
setCutSet
public void setCutSet(CutSet cutSet)
- Sets CutSet to be edited.
If the CutSet has cuts previously unknown to this editor, adds them.
If the CutSet does not have some of the cuts known ti this editor, adds them to the CutSet in disabled state.
setActionNew
public void setActionNew(Action action)
setActionDelete
public void setActionDelete(Action action)
setActionLoad
public void setActionLoad(Action action)
setActionSave
public void setActionSave(Action action)
setEnabled
public void setEnabled(boolean enabled)
getCutEditor
public CutEditor getCutEditor()
getActionNew
public Action getActionNew()
getActionDelete
public Action getActionDelete()
getActionLoad
public Action getActionLoad()
getActionSave
public Action getActionSave()
getEnableBox
public JCheckBox getEnableBox()
getInvertBox
public JCheckBox getInvertBox()
getPassThroughBox
public JCheckBox getPassThroughBox()
getCutTable
public JTable getCutTable()
getActionsButton
public JButton getActionsButton()
getSelectedCut
public Cut getSelectedCut()
getCuts
public List<Cut> getCuts()
delete
public void delete(Cut cut)
- Deletes the specified cut.
The cut is removed from the list maintained by this editor, and Cut's
Cut.remove(hep.wired.cut.Condition)
method is called.
add
public void add(Cut cut)
- Adds the specified cut.
The cut is added to the list maintained by this editor and to the currently
edited
CutSet
. GUI is updated.
Copyright © 1996-2013 FreeHEP. All Rights Reserved.