public class MultipleFacetEditorHelperImpl extends java.lang.Object implements MultipleFacetEditorHelper
Constructor and Description |
---|
MultipleFacetEditorHelperImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bind(javax.swing.JComboBox common,
FacetEditor [] editors,
NotNullFunction<? super FacetEditor,? extends javax.swing.JComboBox> fun) |
void |
bind(javax.swing.JTextField common,
FacetEditor [] editors,
NotNullFunction<? super FacetEditor,? extends javax.swing.JTextField> fun) |
void |
bind(ThreeStateCheckBox common,
FacetEditor [] editors,
NotNullFunction<? super FacetEditor,? extends javax.swing.JCheckBox> fun)
Binds
common 3-state checkbox to checkboxes in facet editors in such a way that all changes in it will be propogated to
target checkboxes. |
void |
unbind()
Removes all bindings registered by this helper
|
public void bind(ThreeStateCheckBox common, FacetEditor [] editors, NotNullFunction<? super FacetEditor,? extends javax.swing.JCheckBox> fun)
MultipleFacetEditorHelper
common
3-state checkbox to checkboxes in facet editors in such a way that all changes in it will be propogated to
target checkboxes.bind
in interface MultipleFacetEditorHelper
common
- checkboxeditors
- editorsfun
- maps a facet editor to checkbox inside one of its tabspublic void bind(javax.swing.JTextField common, FacetEditor [] editors, NotNullFunction<? super FacetEditor,? extends javax.swing.JTextField> fun)
bind
in interface MultipleFacetEditorHelper
public void bind(javax.swing.JComboBox common, FacetEditor [] editors, NotNullFunction<? super FacetEditor,? extends javax.swing.JComboBox> fun)
bind
in interface MultipleFacetEditorHelper
public void unbind()
MultipleFacetEditorHelper
unbind
in interface MultipleFacetEditorHelper