fr.ifremer.isisfish.ui.input
Class SelectivityUI

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<Gear>
                      extended by fr.ifremer.isisfish.ui.input.SelectivityUI
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject, jaxx.runtime.JAXXValidator

public class SelectivityUI
extends InputContentUI<Gear>
implements jaxx.runtime.JAXXValidator

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  JButton addSelectivityButton
           
protected  Gear bean
           
static String BINDING_ADD_SELECTIVITY_BUTTON_ENABLED
           
static String BINDING_CANCEL_ENABLED
           
static String BINDING_CHANGE_MODEL_CHANGED
           
static String BINDING_CHANGE_MODEL_VALID
           
static String BINDING_FIELD_SELECTIVITY_POPULATION_ENABLED
           
static String BINDING_SAVE_ENABLED
           
static String BINDING_SELECTIVITY_EQUATION_ACTIVE
           
static String BINDING_SELECTIVITY_EQUATION_BEAN
           
static String BINDING_SELECTIVITY_TABLE_ENABLED
           
static String BINDING_VALIDATOR_BEAN
           
protected  JButton cancel
           
protected  ChangeModel changeModel
           
protected  JComboBox fieldSelectivityPopulation
           
protected  Population population
           
static String PROPERTY_BEAN
           
static String PROPERTY_POPULATION
           
protected  JButton removeSelectivityButton
           
protected  JButton save
           
protected  InputOneEquationUI selectivityEquation
           
protected  JTable selectivityTable
           
protected  jaxx.runtime.validator.swing.SwingValidator<Gear> validator
           
protected  List<String> validatorIds
           
 
Fields inherited from class fr.ifremer.isisfish.ui.input.InputContentUI
$activeBindings, $bindings, $bindingSources, $objectMap, $previousValues, active, BINDING_NEXT_TEXT, BINDING_NEXT_VISIBLE, body, buttonTitle, delegateContext, handler, layerUI, layerUI2, next, nextPath, PROPERTY_ACTIVE, PROPERTY_BUTTON_TITLE, PROPERTY_NEXT_PATH, PROPERTY_SENSITIVITY, sensitivity, 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
SelectivityUI()
           
SelectivityUI(boolean param0)
           
SelectivityUI(jaxx.runtime.JAXXContext param0)
           
SelectivityUI(jaxx.runtime.JAXXContext param0, boolean param1)
           
SelectivityUI(jaxx.runtime.JAXXContext param0, LayoutManager param1)
           
SelectivityUI(jaxx.runtime.JAXXContext param0, LayoutManager param1, boolean param2)
           
SelectivityUI(LayoutManager param0)
           
SelectivityUI(LayoutManager param0, boolean param1)
           
 
Method Summary
protected  void $afterCompleteSetup()
           
static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
protected  void addChildrenToBody()
           
protected  void addChildrenToValidator()
           
protected  void addSelectivity()
           
protected  void createAddSelectivityButton()
           
protected  void createBean()
           
protected  void createBody()
           
protected  void createCancel()
           
protected  void createChangeModel()
           
protected  void createFieldSelectivityPopulation()
           
protected  void createPopulation()
           
protected  void createRemoveSelectivityButton()
           
protected  void createSave()
           
protected  void createSelectivityEquation()
           
protected  void createSelectivityTable()
           
protected  void createValidator()
           
 void doActionPerformed__on__addSelectivityButton(ActionEvent event)
           
 void doActionPerformed__on__cancel(ActionEvent event)
           
 void doActionPerformed__on__removeSelectivityButton(ActionEvent event)
           
 void doActionPerformed__on__save(ActionEvent event)
           
 void doItemStateChanged__on__fieldSelectivityPopulation(ItemEvent event)
           
 void doValueChanged__on__$ListSelectionModel0(ListSelectionEvent event)
           
protected  JLabel get$JLabel0()
           
protected  JScrollPane get$JScrollPane0()
           
protected  ListSelectionModel get$ListSelectionModel0()
           
protected  jaxx.runtime.swing.Table get$Table0()
           
protected  jaxx.runtime.swing.Table get$Table1()
           
 JButton getAddSelectivityButton()
           
 Gear getBean()
           
 JButton getCancel()
           
 ChangeModel getChangeModel()
           
 JComboBox getFieldSelectivityPopulation()
           
 Population getPopulation()
           
 JButton getRemoveSelectivityButton()
           
 JButton getSave()
           
 InputOneEquationUI getSelectivityEquation()
           
protected  DefaultComboBoxModel getSelectivityPopulationModel()
           
 JTable getSelectivityTable()
           
 jaxx.runtime.validator.swing.SwingValidator<Gear> getValidator()
           
 jaxx.runtime.validator.swing.SwingValidator<?> getValidator(String validatorId)
           
 List<String> getValidatorIds()
           
 void refresh()
           
 void registerValidatorFields()
           
protected  void removeSelectivity()
           
 void resetChangeModel()
          Pas tr?s safe, le bean doit s'appeler changeModel dans l'heritage "FORCEMENT" FIXME echatellier 20111201 small fix because save button has to reset internal ui change model state
protected  void selectivityChanged()
           
 void setBean(Gear bean)
           
 void setPopulation(Population population)
           
protected  void setSelectivityTableModel()
           
 
Methods inherited from class fr.ifremer.isisfish.ui.input.InputContentUI
applyDataBinding, createActive, createButtonTitle, createHandler, createLayerUI, createLayerUI2, createNext, createNextPath, createSensitivity, createTableLayerUI, doActionPerformed__on__next, firePropertyChange, get$objectMap, getAction, getActive, getBody, getButtonTitle, getContextValue, getContextValue, getDataBinding, getDataBindings, getDelegateContext, getFisheryRegion, getHandler, getLayerUI, getLayerUI2, getNext, getNextPath, getObjectById, getParentContainer, getParentContainer, getSaveVerifier, getSensitivity, getTableLayerUI, getTopiaContext, goTo, installChangeListener, isActive, isSensitivity, processDataBinding, processDataBinding, refreshRegionInMap, registerDataBinding, removeContextValue, removeContextValue, removeDataBinding, setActive, setButtonTitle, setContextValue, setContextValue, 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
 
Methods inherited from interface jaxx.runtime.JAXXObject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

PROPERTY_BEAN

public static final String PROPERTY_BEAN
See Also:
Constant Field Values

PROPERTY_POPULATION

public static final String PROPERTY_POPULATION
See Also:
Constant Field Values

BINDING_ADD_SELECTIVITY_BUTTON_ENABLED

public static final String BINDING_ADD_SELECTIVITY_BUTTON_ENABLED
See Also:
Constant Field Values

BINDING_CANCEL_ENABLED

public static final String BINDING_CANCEL_ENABLED
See Also:
Constant Field Values

BINDING_CHANGE_MODEL_CHANGED

public static final String BINDING_CHANGE_MODEL_CHANGED
See Also:
Constant Field Values

BINDING_CHANGE_MODEL_VALID

public static final String BINDING_CHANGE_MODEL_VALID
See Also:
Constant Field Values

BINDING_FIELD_SELECTIVITY_POPULATION_ENABLED

public static final String BINDING_FIELD_SELECTIVITY_POPULATION_ENABLED
See Also:
Constant Field Values

BINDING_SAVE_ENABLED

public static final String BINDING_SAVE_ENABLED
See Also:
Constant Field Values

BINDING_SELECTIVITY_EQUATION_ACTIVE

public static final String BINDING_SELECTIVITY_EQUATION_ACTIVE
See Also:
Constant Field Values

BINDING_SELECTIVITY_EQUATION_BEAN

public static final String BINDING_SELECTIVITY_EQUATION_BEAN
See Also:
Constant Field Values

BINDING_SELECTIVITY_TABLE_ENABLED

public static final String BINDING_SELECTIVITY_TABLE_ENABLED
See Also:
Constant Field Values

BINDING_VALIDATOR_BEAN

public static final String BINDING_VALIDATOR_BEAN
See Also:
Constant Field Values

addSelectivityButton

protected JButton addSelectivityButton

bean

protected Gear bean

cancel

protected JButton cancel

changeModel

protected ChangeModel changeModel

fieldSelectivityPopulation

protected JComboBox fieldSelectivityPopulation

population

protected Population population

removeSelectivityButton

protected JButton removeSelectivityButton

save

protected JButton save

selectivityEquation

protected InputOneEquationUI selectivityEquation

selectivityTable

protected JTable selectivityTable

validator

protected jaxx.runtime.validator.swing.SwingValidator<Gear> validator

validatorIds

protected List<String> validatorIds
Constructor Detail

SelectivityUI

public SelectivityUI(LayoutManager param0,
                     boolean param1)

SelectivityUI

public SelectivityUI(jaxx.runtime.JAXXContext param0,
                     LayoutManager param1,
                     boolean param2)

SelectivityUI

public SelectivityUI(LayoutManager param0)

SelectivityUI

public SelectivityUI(jaxx.runtime.JAXXContext param0,
                     LayoutManager param1)

SelectivityUI

public SelectivityUI(boolean param0)

SelectivityUI

public SelectivityUI(jaxx.runtime.JAXXContext param0,
                     boolean param1)

SelectivityUI

public SelectivityUI()

SelectivityUI

public SelectivityUI(jaxx.runtime.JAXXContext param0)
Method Detail

$afterCompleteSetup

protected void $afterCompleteSetup()

resetChangeModel

public void resetChangeModel()
Description copied from class: InputContentUI
Pas tr?s safe, le bean doit s'appeler changeModel dans l'heritage "FORCEMENT" FIXME echatellier 20111201 small fix because save button has to reset internal ui change model state

Overrides:
resetChangeModel in class InputContentUI<Gear>

refresh

public void refresh()

setSelectivityTableModel

protected void setSelectivityTableModel()

addSelectivity

protected void addSelectivity()

removeSelectivity

protected void removeSelectivity()

getSelectivityPopulationModel

protected DefaultComboBoxModel getSelectivityPopulationModel()

selectivityChanged

protected void selectivityChanged()

$getJAXXObjectDescriptor

public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()

getValidator

public jaxx.runtime.validator.swing.SwingValidator<?> getValidator(String validatorId)
Specified by:
getValidator in interface jaxx.runtime.JAXXValidator

getValidatorIds

public List<String> getValidatorIds()
Specified by:
getValidatorIds in interface jaxx.runtime.JAXXValidator

registerValidatorFields

public void registerValidatorFields()
Specified by:
registerValidatorFields in interface jaxx.runtime.JAXXValidator

doActionPerformed__on__addSelectivityButton

public void doActionPerformed__on__addSelectivityButton(ActionEvent event)

doActionPerformed__on__cancel

public void doActionPerformed__on__cancel(ActionEvent event)

doActionPerformed__on__removeSelectivityButton

public void doActionPerformed__on__removeSelectivityButton(ActionEvent event)

doActionPerformed__on__save

public void doActionPerformed__on__save(ActionEvent event)

doItemStateChanged__on__fieldSelectivityPopulation

public void doItemStateChanged__on__fieldSelectivityPopulation(ItemEvent event)

doValueChanged__on__$ListSelectionModel0

public void doValueChanged__on__$ListSelectionModel0(ListSelectionEvent event)

getAddSelectivityButton

public JButton getAddSelectivityButton()

getBean

public Gear getBean()
Specified by:
getBean in class InputContentUI<Gear>

getCancel

public JButton getCancel()

getChangeModel

public ChangeModel getChangeModel()

getFieldSelectivityPopulation

public JComboBox getFieldSelectivityPopulation()

getPopulation

public Population getPopulation()

getRemoveSelectivityButton

public JButton getRemoveSelectivityButton()

getSave

public JButton getSave()

getSelectivityEquation

public InputOneEquationUI getSelectivityEquation()

getSelectivityTable

public JTable getSelectivityTable()

getValidator

public jaxx.runtime.validator.swing.SwingValidator<Gear> getValidator()

setBean

public void setBean(Gear bean)
Specified by:
setBean in class InputContentUI<Gear>

setPopulation

public void setPopulation(Population population)

get$Table0

protected jaxx.runtime.swing.Table get$Table0()

get$Table1

protected jaxx.runtime.swing.Table get$Table1()

get$JLabel0

protected JLabel get$JLabel0()

get$JScrollPane0

protected JScrollPane get$JScrollPane0()

get$ListSelectionModel0

protected ListSelectionModel get$ListSelectionModel0()

addChildrenToBody

protected void addChildrenToBody()

addChildrenToValidator

protected void addChildrenToValidator()

createAddSelectivityButton

protected void createAddSelectivityButton()

createBean

protected void createBean()

createBody

protected void createBody()
Overrides:
createBody in class InputContentUI<Gear>

createCancel

protected void createCancel()

createChangeModel

protected void createChangeModel()

createFieldSelectivityPopulation

protected void createFieldSelectivityPopulation()

createPopulation

protected void createPopulation()

createRemoveSelectivityButton

protected void createRemoveSelectivityButton()

createSave

protected void createSave()

createSelectivityEquation

protected void createSelectivityEquation()

createSelectivityTable

protected void createSelectivityTable()

createValidator

protected void createValidator()


Copyright © 1999-2012 CodeLutin. All Rights Reserved.