Interface BeanTableEditHandler
-
- All Superinterfaces:
TablePanelEditHandler
public interface BeanTableEditHandler extends TablePanelEditHandler
This interface defines methods, which allow to add a checkable column to a bean table and react on the events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Boolean
getCheckValue(java.lang.Object bean, java.lang.String propertyName)
boolean
isEditable()
void
setCheckValue(java.lang.Object bean, java.lang.String propertyName, boolean value)
sets the property of the bean as checked / unchecked-
Methods inherited from interface cern.accsoft.steering.jmad.gui.panels.TablePanelEditHandler
getCheckableColumnHeader
-
-
-
-
Method Detail
-
getCheckValue
java.lang.Boolean getCheckValue(java.lang.Object bean, java.lang.String propertyName)
- Parameters:
bean
-propertyName
-- Returns:
- true if the given property of the given bean is checked.
-
setCheckValue
void setCheckValue(java.lang.Object bean, java.lang.String propertyName, boolean value)
sets the property of the bean as checked / unchecked- Parameters:
bean
- the bean, for which to set the attribute as checkedpropertyName
- the propertyName to selectvalue
- true for select, false for deselect
-
isEditable
boolean isEditable()
- Returns:
- true if the table cells shall be editable, false otherwise
-
-