public class FishingOperationsUIModel
extends org.jdesktop.beans.AbstractSerializableBean
FishingOperationsUI.| Modifier and Type | Field and Description |
|---|---|
protected FishingOperation |
editFishingOperation
Current editied fishing operation.
|
protected boolean |
editionAdjusting
Flag to not listen the
editFishingOperation
changes while adjusting the model. |
protected List<FishingOperation> |
fishingOperation
List of existing fishing operation for the selected cruise.
|
static String |
PROPERTY_EDITED_FISHING_OPERATION |
static String |
PROPERTY_FISHING_OPERATION |
static String |
PROPERTY_SELECTED_FISHING_OPERATION |
protected FishingOperation |
selectedFishingOperation
Selected fishing operation in the combo box.
|
protected boolean |
selectionAdjusting
Flag to not listen the
selectedFishingOperation
changes while adjusting the model. |
| Constructor and Description |
|---|
FishingOperationsUIModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFishingOperation(FishingOperation fishingOperation) |
FishingOperation |
getEditFishingOperation() |
List<FishingOperation> |
getFishingOperation() |
FishingOperation |
getFishingOperation(String id) |
FishingOperation |
getSelectedFishingOperation() |
boolean |
isEditionAdjusting() |
boolean |
isSelectionAdjusting() |
void |
removeFishingOperation(FishingOperation fishingOperation) |
void |
setEditFishingOperation(FishingOperation editFishingOperation) |
void |
setEditionAdjusting(boolean editionAdjusting) |
void |
setFishingOperation(List<FishingOperation> fishingOperation) |
void |
setSelectedFishingOperation(FishingOperation selectedFishingOperation) |
void |
setSelectionAdjusting(boolean selectionAdjusting) |
void |
updateFishingOperation(FishingOperation newFishingOperation) |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_FISHING_OPERATION
public static final String PROPERTY_SELECTED_FISHING_OPERATION
public static final String PROPERTY_EDITED_FISHING_OPERATION
protected List<FishingOperation> fishingOperation
protected FishingOperation selectedFishingOperation
selectedFishingOperation will be null.
Note: These object ise not fully loaded, they will
never be edited.protected FishingOperation editFishingOperation
protected boolean selectionAdjusting
selectedFishingOperation
changes while adjusting the model.
When flag is true, then the changes of the
selectedFishingOperation should not trigger any changes.protected boolean editionAdjusting
editFishingOperation
changes while adjusting the model.
When flag is true, then the changes of the
editFishingOperation should not trigger any changes.public List<FishingOperation> getFishingOperation()
public void setFishingOperation(List<FishingOperation> fishingOperation)
public void addFishingOperation(FishingOperation fishingOperation)
public void removeFishingOperation(FishingOperation fishingOperation)
public void updateFishingOperation(FishingOperation newFishingOperation)
public FishingOperation getSelectedFishingOperation()
public void setSelectedFishingOperation(FishingOperation selectedFishingOperation)
public FishingOperation getEditFishingOperation()
public void setEditFishingOperation(FishingOperation editFishingOperation)
public boolean isSelectionAdjusting()
public void setSelectionAdjusting(boolean selectionAdjusting)
public boolean isEditionAdjusting()
public void setEditionAdjusting(boolean editionAdjusting)
public FishingOperation getFishingOperation(String id)
Copyright © 2012-2013 Ifremer. All Rights Reserved.