public class FishingOperationsUIModel
extends org.jdesktop.beans.AbstractSerializableBean
FishingOperationsUI.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
catchEnabled
Flag to use or not catch tab.
|
protected FishingOperation |
editFishingOperation
Current edited 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_CATCH_ENABLED |
static String |
PROPERTY_CATCH_NOT_FOUND |
static String |
PROPERTY_EDITED_FISHING_OPERATION |
static String |
PROPERTY_FISHING_OPERATION |
static String |
PROPERTY_SAMPLE_CATCH_MODEL_VALID |
static String |
PROPERTY_SELECTED_FISHING_OPERATION |
static String |
PROPERTY_VALIDATION_ERROR_MESSAGE |
protected FishingOperation |
selectedFishingOperation
Selected fishing operation in the combo box.
|
protected boolean |
selectionAdjusting
Flag to not listen the
selectedFishingOperation
changes while adjusting the model. |
protected String |
validationErrorMessage
contains if any error message while loading the fishing operation catch batch.
|
| 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() |
String |
getValidationErrorMessage() |
boolean |
isCatchEnabled() |
boolean |
isEditionAdjusting() |
boolean |
isSelectionAdjusting() |
void |
removeFishingOperation(FishingOperation fishingOperation) |
void |
setCatchEnabled(boolean catchEnabled) |
void |
setEditFishingOperation(FishingOperation editFishingOperation) |
void |
setEditionAdjusting(boolean editionAdjusting) |
void |
setFishingOperation(List<FishingOperation> fishingOperation) |
void |
setSelectedFishingOperation(FishingOperation selectedFishingOperation) |
void |
setSelectionAdjusting(boolean selectionAdjusting) |
void |
setValidationErrorMessage(String validationErrorMessage) |
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
public static final String PROPERTY_CATCH_ENABLED
public static final String PROPERTY_CATCH_NOT_FOUND
public static final String PROPERTY_SAMPLE_CATCH_MODEL_VALID
public static final String PROPERTY_VALIDATION_ERROR_MESSAGE
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.protected boolean catchEnabled
protected String validationErrorMessage
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)
public boolean isCatchEnabled()
public void setCatchEnabled(boolean catchEnabled)
public String getValidationErrorMessage()
public void setValidationErrorMessage(String validationErrorMessage)
Copyright © 2012–2015 Ifremer. All rights reserved.