public class GearCaracteristicsEditorUIModel extends AbstractTuttiTableUIModel<Object,GearCaracteristicsEditorRowModel,GearCaracteristicsEditorUIModel>
| Modifier and Type | Field and Description |
|---|---|
protected List<Caracteristic> |
availableCaracteristics |
protected CaracteristicMap |
caracteristicMap |
protected boolean |
editable |
protected Gear |
gear |
static String |
PROPERTY_AVAILABLE_CARACTERISTICS |
static String |
PROPERTY_EDITABLE |
static String |
PROPERTY_GEAR |
static String |
PROPERTY_REMOVE_CARACTERISTIC_ENABLED |
protected boolean |
removeCaracteristicEnabled
Can user remove a selected caracteristic?
|
PROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
GearCaracteristicsEditorUIModel() |
| Modifier and Type | Method and Description |
|---|---|
List<Caracteristic> |
getAvailableCaracteristics() |
CaracteristicMap |
getCaracteristicMap() |
Gear |
getGear() |
boolean |
isEditable() |
boolean |
isRemoveCaracteristicEnabled() |
protected Object |
newEntity() |
void |
setAvailableCaracteristics(List<Caracteristic> availableCaracteristics) |
void |
setEditable(boolean editable) |
void |
setGear(Gear gear) |
void |
setRemoveCaracteristicEnabled(boolean removeCaracteristicEnabled) |
addRowInError, getRowCount, getRows, getRowsInError, removeRowInError, setRows, setRowsInErrorfirePropertyChanged, fromBean, getId, getIdAsInt, isCreate, isModify, isValid, setId, setId, setModify, setValid, toBeanaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_GEAR
public static final String PROPERTY_EDITABLE
public static final String PROPERTY_REMOVE_CARACTERISTIC_ENABLED
public static final String PROPERTY_AVAILABLE_CARACTERISTICS
protected List<Caracteristic> availableCaracteristics
protected Gear gear
protected boolean editable
protected CaracteristicMap caracteristicMap
protected boolean removeCaracteristicEnabled
public List<Caracteristic> getAvailableCaracteristics()
public void setAvailableCaracteristics(List<Caracteristic> availableCaracteristics)
public Gear getGear()
public void setGear(Gear gear)
public boolean isRemoveCaracteristicEnabled()
public void setRemoveCaracteristicEnabled(boolean removeCaracteristicEnabled)
public CaracteristicMap getCaracteristicMap()
public boolean isEditable()
public void setEditable(boolean editable)
protected Object newEntity()
newEntity in class AbstractTuttiBeanUIModel<Object,GearCaracteristicsEditorUIModel>Copyright © 2012–2013 Ifremer. All rights reserved.