public class EditCatchesSvgHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.batik.swing.JSVGCanvas |
canvas |
protected TuttiUIContext |
context |
protected EditCatchesUIModel |
model |
protected Document |
svgDocument |
protected com.google.common.collect.Multimap<String,PropertyChangeListener> |
svgRelatedPropertyChangeListeners |
protected org.apache.batik.swing.svg.SVGUserAgentAdapter |
ua |
protected EditCatchesUI |
ui |
| Constructor and Description |
|---|
EditCatchesSvgHandler(TuttiUIContext context,
EditCatchesUI ui,
EditCatchesUIModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSvgRelatedPropertyChangeListener(String property,
PropertyChangeListener listener) |
void |
clearSVG() |
protected Float |
getModelPropertyValue(String property) |
void |
initResumeSvg() |
protected void |
initSpeciesCount(String label,
String property) |
protected void |
initSvgField(String label,
String property,
String computedProperty,
ComputableData<Float> computableData,
WeightUnit weightUnit,
Color bgColor,
String... idsInGroup) |
protected void |
initSvgField(String label,
String computedProperty,
WeightUnit weightUnit,
Color bgColor,
String... idsInGroup) |
protected void |
initTremieCarrouselField(String label,
String property,
WeightUnit weightUnit) |
protected void |
updateOnCanvas(Runnable runnable) |
protected void |
updateTremieCarrouselVisibility(String property) |
protected void |
updateValue(String property,
Float value,
WeightUnit weightUnit,
boolean computed,
String... idsInGroup) |
protected com.google.common.collect.Multimap<String,PropertyChangeListener> svgRelatedPropertyChangeListeners
protected org.apache.batik.swing.JSVGCanvas canvas
protected Document svgDocument
protected final TuttiUIContext context
protected final EditCatchesUI ui
protected final EditCatchesUIModel model
protected final org.apache.batik.swing.svg.SVGUserAgentAdapter ua
public EditCatchesSvgHandler(TuttiUIContext context, EditCatchesUI ui, EditCatchesUIModel model)
public void initResumeSvg()
public void clearSVG()
protected void initSvgField(String label, String computedProperty, WeightUnit weightUnit, Color bgColor, String... idsInGroup)
protected void initSvgField(String label, String property, String computedProperty, ComputableData<Float> computableData, WeightUnit weightUnit, Color bgColor, String... idsInGroup)
protected void updateOnCanvas(Runnable runnable)
protected void addSvgRelatedPropertyChangeListener(String property, PropertyChangeListener listener)
protected void updateValue(String property, Float value, WeightUnit weightUnit, boolean computed, String... idsInGroup)
protected void initTremieCarrouselField(String label, String property, WeightUnit weightUnit)
protected void updateTremieCarrouselVisibility(String property)
Copyright © 2012–2015 Ifremer. All rights reserved.