fr.ifremer.isisfish.ui.input
Class PopulationZonesEditorUI

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by fr.ifremer.isisfish.ui.input.InputContentUI
                      extended by fr.ifremer.isisfish.ui.input.PopulationZonesEditorUI
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject

public class PopulationZonesEditorUI
extends InputContentUI

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
protected  PopulationImpl bean
           
protected  org.nuiton.math.matrix.gui.MatrixPanelEditor fieldPopulationMappingZoneReproZoneRecru
           
protected  jaxx.runtime.swing.JAXXList fieldPopulationZonesRecruitment
           
protected  jaxx.runtime.swing.JAXXList fieldPopulationZonesReproduction
           
protected  jaxx.runtime.swing.JAXXList populationZonesPresence
           
 
Fields inherited from class fr.ifremer.isisfish.ui.input.InputContentUI
$activeBindings, $bindingSources, $objectMap, actif, body, buttonTitle, delegateContext, layerUI, layerUI2, log, next, nextPath, sensitivity, tabbedPaneChangeListener, tableLayerUI
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PopulationZonesEditorUI()
           
PopulationZonesEditorUI(jaxx.runtime.JAXXContext parentContext)
           
 
Method Summary
static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
protected  void addChildrenToBody()
           
 void applyDataBinding(String $binding)
           
protected  void createBean()
           
protected  void createBody()
           
protected  void createFieldPopulationMappingZoneReproZoneRecru()
           
protected  void createFieldPopulationZonesRecruitment()
           
protected  void createFieldPopulationZonesReproduction()
           
protected  void createPopulationZonesPresence()
           
 void doMatrixChanged__on__fieldPopulationMappingZoneReproZoneRecru(org.nuiton.math.matrix.gui.MatrixPanelEvent event)
           
 void doMouseClicked__on__fieldPopulationZonesRecruitment(MouseEvent event)
           
 void doMouseClicked__on__fieldPopulationZonesReproduction(MouseEvent event)
           
 void doMouseClicked__on__populationZonesPresence(MouseEvent event)
           
protected  PopulationZonesEditorUI get$InputContentUI0()
           
protected  String get$jaxxObjectDescriptor()
           
protected  JLabel get$JLabel1()
           
protected  JLabel get$JLabel2()
           
protected  JLabel get$JLabel3()
           
protected  JLabel get$JLabel7()
           
protected  JScrollPane get$JScrollPane4()
           
protected  JScrollPane get$JScrollPane5()
           
protected  JScrollPane get$JScrollPane6()
           
protected  Map get$previousValues()
           
protected  boolean getAllComponentsCreated()
           
 PopulationImpl getBean()
           
protected  boolean getContextInitialized()
           
 org.nuiton.math.matrix.gui.MatrixPanelEditor getFieldPopulationMappingZoneReproZoneRecru()
           
 jaxx.runtime.swing.JAXXList getFieldPopulationZonesRecruitment()
           
 jaxx.runtime.swing.JAXXList getFieldPopulationZonesReproduction()
           
 jaxx.runtime.swing.JAXXList getPopulationZonesPresence()
           
protected  List<Zone> getSelectedValues(JList component)
          Get selected values for components as list.
protected  void populationMappingZoneReproZoneRecruMatrixChanged(org.nuiton.math.matrix.gui.MatrixPanelEvent event)
           
protected  void presenceChanged()
           
 void processDataBinding(String $dest, boolean $force)
           
protected  void recruitementChanged()
           
 void refresh()
          This method is UI entry point.
 void removeDataBinding(String $binding)
           
protected  void reproductionChanged()
           
 void setActionButtons()
          This is a hack for tabbed UI.
 void setBean(PopulationImpl newValue)
           
protected  void setFieldPopulationMappingZoneReproZoneRecru()
           
protected  void setFieldPopulationZonesRecruitmentModel(List<Zone> zones)
           
protected  void setFieldPopulationZonesReproductionModel(List<Zone> zones)
           
protected  void setModel(List<Zone> availableZones, List<Zone> selectedZones, JList associatedList)
          Change model of associatedList with all available zones, but keep selection with selectedZones.
protected  void setPopulationZonesPresenceModel()
           
 
Methods inherited from class fr.ifremer.isisfish.ui.input.InputContentUI
accept, createActif, createButtonTitle, createLayerUI, createLayerUI2, createNext, createNextPath, createSensitivity, createTableLayerUI, displayFactorWizard, doActionPerformed__on__next, firePropertyChange, get$activeBindings, get$bindingSources, get$JPanel0, get$objectMap, getActif, getAction, getBody, getButtonTitle, getContextValue, getContextValue, getDelegateContext, getLayerUI, getLayerUI2, getLog, getNext, getNextPath, getObjectById, getParentContainer, getParentContainer, getRegion, getSensitivity, getTableLayerUI, getVerifier, goTo, installChangeListener, isActif, isSensitivity, processDataBinding, refreshRegionInMap, removeContextValue, removeContextValue, setActif, setButtonTitle, setContextValue, setContextValue, setCurrentTabActionButtons, setInfoText, setLayer, setNextPath, setSensitivity
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bean

protected PopulationImpl bean

fieldPopulationMappingZoneReproZoneRecru

protected org.nuiton.math.matrix.gui.MatrixPanelEditor fieldPopulationMappingZoneReproZoneRecru

fieldPopulationZonesRecruitment

protected jaxx.runtime.swing.JAXXList fieldPopulationZonesRecruitment

fieldPopulationZonesReproduction

protected jaxx.runtime.swing.JAXXList fieldPopulationZonesReproduction

populationZonesPresence

protected jaxx.runtime.swing.JAXXList populationZonesPresence
Constructor Detail

PopulationZonesEditorUI

public PopulationZonesEditorUI()

PopulationZonesEditorUI

public PopulationZonesEditorUI(jaxx.runtime.JAXXContext parentContext)
Method Detail

populationMappingZoneReproZoneRecruMatrixChanged

protected void populationMappingZoneReproZoneRecruMatrixChanged(org.nuiton.math.matrix.gui.MatrixPanelEvent event)

refresh

public void refresh()
Description copied from class: InputContentUI
This method is UI entry point. It's called : - by input tree to first display UI - by input verifier on cancel action 20090602 chatellier : make abstract, must be implemented !

Specified by:
refresh in class InputContentUI

setActionButtons

public void setActionButtons()
Description copied from class: InputContentUI
This is a hack for tabbed UI. In this case of UI, they have multiples save/cancel buttons, they have to be manually activated on tab siwtching.

Specified by:
setActionButtons in class InputContentUI

setFieldPopulationMappingZoneReproZoneRecru

protected void setFieldPopulationMappingZoneReproZoneRecru()

setPopulationZonesPresenceModel

protected void setPopulationZonesPresenceModel()

setFieldPopulationZonesReproductionModel

protected void setFieldPopulationZonesReproductionModel(List<Zone> zones)

setFieldPopulationZonesRecruitmentModel

protected void setFieldPopulationZonesRecruitmentModel(List<Zone> zones)

setModel

protected void setModel(List<Zone> availableZones,
                        List<Zone> selectedZones,
                        JList associatedList)
Change model of associatedList with all available zones, but keep selection with selectedZones.


presenceChanged

protected void presenceChanged()

reproductionChanged

protected void reproductionChanged()

recruitementChanged

protected void recruitementChanged()

getSelectedValues

protected List<Zone> getSelectedValues(JList component)
Get selected values for components as list.


$getJAXXObjectDescriptor

public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()

applyDataBinding

public void applyDataBinding(String $binding)
Specified by:
applyDataBinding in interface jaxx.runtime.JAXXObject
Overrides:
applyDataBinding in class InputContentUI

processDataBinding

public void processDataBinding(String $dest,
                               boolean $force)
Overrides:
processDataBinding in class InputContentUI

removeDataBinding

public void removeDataBinding(String $binding)
Specified by:
removeDataBinding in interface jaxx.runtime.JAXXObject
Overrides:
removeDataBinding in class InputContentUI

doMatrixChanged__on__fieldPopulationMappingZoneReproZoneRecru

public void doMatrixChanged__on__fieldPopulationMappingZoneReproZoneRecru(org.nuiton.math.matrix.gui.MatrixPanelEvent event)

doMouseClicked__on__fieldPopulationZonesRecruitment

public void doMouseClicked__on__fieldPopulationZonesRecruitment(MouseEvent event)

doMouseClicked__on__fieldPopulationZonesReproduction

public void doMouseClicked__on__fieldPopulationZonesReproduction(MouseEvent event)

doMouseClicked__on__populationZonesPresence

public void doMouseClicked__on__populationZonesPresence(MouseEvent event)

getBean

public PopulationImpl getBean()

getFieldPopulationMappingZoneReproZoneRecru

public org.nuiton.math.matrix.gui.MatrixPanelEditor getFieldPopulationMappingZoneReproZoneRecru()

getFieldPopulationZonesRecruitment

public jaxx.runtime.swing.JAXXList getFieldPopulationZonesRecruitment()

getFieldPopulationZonesReproduction

public jaxx.runtime.swing.JAXXList getFieldPopulationZonesReproduction()

getPopulationZonesPresence

public jaxx.runtime.swing.JAXXList getPopulationZonesPresence()

setBean

public void setBean(PopulationImpl newValue)

get$InputContentUI0

protected PopulationZonesEditorUI get$InputContentUI0()

get$JLabel1

protected JLabel get$JLabel1()

get$JLabel2

protected JLabel get$JLabel2()

get$JLabel3

protected JLabel get$JLabel3()

get$JLabel7

protected JLabel get$JLabel7()

get$JScrollPane4

protected JScrollPane get$JScrollPane4()

get$JScrollPane5

protected JScrollPane get$JScrollPane5()

get$JScrollPane6

protected JScrollPane get$JScrollPane6()

get$jaxxObjectDescriptor

protected String get$jaxxObjectDescriptor()
Overrides:
get$jaxxObjectDescriptor in class InputContentUI

get$previousValues

protected Map get$previousValues()
Overrides:
get$previousValues in class InputContentUI

getAllComponentsCreated

protected boolean getAllComponentsCreated()
Overrides:
getAllComponentsCreated in class InputContentUI

getContextInitialized

protected boolean getContextInitialized()
Overrides:
getContextInitialized in class InputContentUI

addChildrenToBody

protected void addChildrenToBody()

createBean

protected void createBean()

createBody

protected void createBody()
Overrides:
createBody in class InputContentUI

createFieldPopulationMappingZoneReproZoneRecru

protected void createFieldPopulationMappingZoneReproZoneRecru()

createFieldPopulationZonesRecruitment

protected void createFieldPopulationZonesRecruitment()

createFieldPopulationZonesReproduction

protected void createFieldPopulationZonesReproduction()

createPopulationZonesPresence

protected void createPopulationZonesPresence()


Copyright © 1999-2011 CodeLutin. All Rights Reserved.