fr.ifremer.isisfish.ui.input
Class InputContentUI
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
fr.ifremer.isisfish.ui.input.InputContentUI
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, Accessible, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject
- Direct Known Subclasses:
- CellUI, EffortDescriptionParametersUI, EffortDescriptionUI, FisheryRegionUI, GearTabUI, GearUI, InputOneEquationUI, MetierSeasonInfoSpeciesEditorUI, MetierSeasonInfoSpeciesUI, MetierSeasonInfoZoneUI, MetierTabUI, MetierUI, PopulationBasicsUI, PopulationCapturabilityUI, PopulationEquationUI, PopulationGroupUI, PopulationMigrationEmigrationUI, PopulationMigrationEquationUI, PopulationMigrationImmigrationUI, PopulationMigrationMigrationUI, PopulationMigrationUI, PopulationRecruitmentUI, PopulationSeasonSpacializedUI, PopulationSeasonsUI, PopulationUI, PopulationZonesEditorUI, PopulationZonesUI, PortUI, RangeOfValuesUI, SelectivityEditorUI, SelectivityUI, SetOfVesselsBasicsUI, SetOfVesselsUI, SpeciesStructuredUI, SpeciesUI, StrategyMonthInfoUI, StrategyOneMonthInfoUI, StrategyTabUI, StrategyUI, TripTypeUI, VesselTypeUI, ZoneUI
public abstract class InputContentUI
- extends JPanel
- implements jaxx.runtime.JAXXObject
- See Also:
- Serialized Form
|
Method Summary |
static jaxx.runtime.JAXXObjectDescriptor |
$getJAXXObjectDescriptor()
|
protected void |
accept(ActionEvent e)
Action appelée lors du clic sur un layer. |
void |
applyDataBinding(String $binding)
|
protected void |
createActif()
|
protected void |
createBody()
|
protected void |
createButtonTitle()
|
protected void |
createLayerUI()
|
protected void |
createLayerUI2()
|
protected void |
createNext()
|
protected void |
createNextPath()
|
protected void |
createSensitivity()
|
protected void |
createTableLayerUI()
|
void |
displayFactorWizard(JComponent source,
Class<? extends org.nuiton.topia.persistence.TopiaEntity> classBean,
String beanID,
String property)
Display factor wizard for bean/property in registred in verifier. |
void |
doActionPerformed__on__next(ActionEvent event)
|
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
|
List<Object> |
get$activeBindings()
|
Map<String,Object> |
get$bindingSources()
|
protected String |
get$jaxxObjectDescriptor()
|
protected InputContentUI |
get$JPanel0()
|
Map<String,Object> |
get$objectMap()
|
protected Map |
get$previousValues()
|
Boolean |
getActif()
|
InputAction |
getAction()
|
protected boolean |
getAllComponentsCreated()
|
JPanel |
getBody()
|
String |
getButtonTitle()
|
protected boolean |
getContextInitialized()
|
|
getContextValue(Class<T> clazz)
|
|
getContextValue(Class<T> clazz,
String name)
|
jaxx.runtime.JAXXContext |
getDelegateContext()
|
jaxx.runtime.swing.BlockingLayerUI |
getLayerUI()
|
jaxx.runtime.swing.BlockingLayerUI2 |
getLayerUI2()
|
protected org.apache.commons.logging.Log |
getLog()
|
JButton |
getNext()
|
String |
getNextPath()
|
Object |
getObjectById(String id)
|
|
getParentContainer(Class<O> clazz)
|
|
getParentContainer(Object source,
Class<O> clazz)
|
FisheryRegion |
getRegion()
|
Boolean |
getSensitivity()
|
TableBlockingLayerUI |
getTableLayerUI()
|
InputSaveVerifier |
getVerifier()
|
protected void |
goTo()
|
protected void |
installChangeListener(JTabbedPane tabbedPane)
Install tabbed pane change listener depending on sensitivity. |
Boolean |
isActif()
|
Boolean |
isSensitivity()
|
void |
processDataBinding(String dest)
|
void |
processDataBinding(String $dest,
boolean $force)
|
abstract void |
refresh()
This method is UI entry point. |
protected void |
refreshRegionInMap(IsisMapBean map)
Mettre a jour la region dans une map si necessaire. |
|
removeContextValue(Class<T> clazz)
|
|
removeContextValue(Class<T> clazz,
String name)
|
void |
removeDataBinding(String $binding)
|
void |
setActif(Boolean newValue)
|
abstract void |
setActionButtons()
This is a hack for tabbed UI. |
void |
setButtonTitle(String newValue)
|
|
setContextValue(T o)
|
|
setContextValue(T o,
String name)
|
protected void |
setCurrentTabActionButtons(JTabbedPane tabbedPane)
Active les boutons sur l'onglet actuellement affiché. |
void |
setInfoText(String msg)
|
void |
setLayer(boolean active)
|
void |
setNextPath(String newValue)
|
void |
setSensitivity(Boolean newValue)
|
| 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 |
log
public static final org.apache.commons.logging.Log log
$activeBindings
protected List<Object> $activeBindings
$bindingSources
protected Map<String,Object> $bindingSources
$objectMap
protected Map<String,Object> $objectMap
actif
protected Boolean actif
body
protected JPanel body
buttonTitle
protected String buttonTitle
delegateContext
protected final jaxx.runtime.JAXXContext delegateContext
layerUI
protected jaxx.runtime.swing.BlockingLayerUI layerUI
layerUI2
protected jaxx.runtime.swing.BlockingLayerUI2 layerUI2
next
protected JButton next
nextPath
protected String nextPath
sensitivity
protected Boolean sensitivity
tableLayerUI
protected TableBlockingLayerUI tableLayerUI
tabbedPaneChangeListener
protected ChangeListener tabbedPaneChangeListener
InputContentUI
public InputContentUI()
InputContentUI
public InputContentUI(jaxx.runtime.JAXXContext parentContext)
refresh
public abstract void refresh()
- 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 !
setActionButtons
public abstract void setActionButtons()
- 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.
getAction
public InputAction getAction()
getVerifier
public InputSaveVerifier getVerifier()
getRegion
public FisheryRegion getRegion()
setInfoText
public void setInfoText(String msg)
goTo
protected void goTo()
refreshRegionInMap
protected void refreshRegionInMap(IsisMapBean map)
- Mettre a jour la region dans une map si necessaire.
- Parameters:
map - la map a mettre a jour si necessaire
setLayer
public void setLayer(boolean active)
accept
protected void accept(ActionEvent e)
- Action appelée lors du clic sur un layer.
- Parameters:
e - l'event initial intersepté par le layer
displayFactorWizard
public void displayFactorWizard(JComponent source,
Class<? extends org.nuiton.topia.persistence.TopiaEntity> classBean,
String beanID,
String property)
- Display factor wizard for bean/property in registred in verifier.
installChangeListener
protected void installChangeListener(JTabbedPane tabbedPane)
- Install tabbed pane change listener depending on sensitivity.
(init at first call)
- Parameters:
tabbedPane - tabbed pane to install change listener
setCurrentTabActionButtons
protected void setCurrentTabActionButtons(JTabbedPane tabbedPane)
- Active les boutons sur l'onglet actuellement affiché.
$getJAXXObjectDescriptor
public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
applyDataBinding
public void applyDataBinding(String $binding)
- Specified by:
applyDataBinding in interface jaxx.runtime.JAXXObject
firePropertyChange
public void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
- Specified by:
firePropertyChange in interface jaxx.runtime.JAXXObject- Overrides:
firePropertyChange in class Component
get$objectMap
public Map<String,Object> get$objectMap()
- Specified by:
get$objectMap in interface jaxx.runtime.JAXXObject
getObjectById
public Object getObjectById(String id)
- Specified by:
getObjectById in interface jaxx.runtime.JAXXObject
processDataBinding
public void processDataBinding(String dest)
- Specified by:
processDataBinding in interface jaxx.runtime.JAXXObject
processDataBinding
public void processDataBinding(String $dest,
boolean $force)
removeDataBinding
public void removeDataBinding(String $binding)
- Specified by:
removeDataBinding in interface jaxx.runtime.JAXXObject
getContextValue
public <T> T getContextValue(Class<T> clazz)
- Specified by:
getContextValue in interface jaxx.runtime.JAXXContext
getContextValue
public <T> T getContextValue(Class<T> clazz,
String name)
- Specified by:
getContextValue in interface jaxx.runtime.JAXXContext
getDelegateContext
public jaxx.runtime.JAXXContext getDelegateContext()
- Specified by:
getDelegateContext in interface jaxx.runtime.JAXXObject
getParentContainer
public <O extends Container> O getParentContainer(Class<O> clazz)
- Specified by:
getParentContainer in interface jaxx.runtime.JAXXContext
getParentContainer
public <O extends Container> O getParentContainer(Object source,
Class<O> clazz)
- Specified by:
getParentContainer in interface jaxx.runtime.JAXXContext
removeContextValue
public <T> void removeContextValue(Class<T> clazz)
- Specified by:
removeContextValue in interface jaxx.runtime.JAXXContext
removeContextValue
public <T> void removeContextValue(Class<T> clazz,
String name)
- Specified by:
removeContextValue in interface jaxx.runtime.JAXXContext
setContextValue
public <T> void setContextValue(T o)
- Specified by:
setContextValue in interface jaxx.runtime.JAXXContext
setContextValue
public <T> void setContextValue(T o,
String name)
- Specified by:
setContextValue in interface jaxx.runtime.JAXXContext
doActionPerformed__on__next
public void doActionPerformed__on__next(ActionEvent event)
get$activeBindings
public List<Object> get$activeBindings()
get$bindingSources
public Map<String,Object> get$bindingSources()
getActif
public Boolean getActif()
getBody
public JPanel getBody()
getButtonTitle
public String getButtonTitle()
getLayerUI
public jaxx.runtime.swing.BlockingLayerUI getLayerUI()
getLayerUI2
public jaxx.runtime.swing.BlockingLayerUI2 getLayerUI2()
getNext
public JButton getNext()
getNextPath
public String getNextPath()
getSensitivity
public Boolean getSensitivity()
getTableLayerUI
public TableBlockingLayerUI getTableLayerUI()
isActif
public Boolean isActif()
isSensitivity
public Boolean isSensitivity()
setActif
public void setActif(Boolean newValue)
setButtonTitle
public void setButtonTitle(String newValue)
setNextPath
public void setNextPath(String newValue)
setSensitivity
public void setSensitivity(Boolean newValue)
get$JPanel0
protected InputContentUI get$JPanel0()
get$jaxxObjectDescriptor
protected String get$jaxxObjectDescriptor()
get$previousValues
protected Map get$previousValues()
getAllComponentsCreated
protected boolean getAllComponentsCreated()
getContextInitialized
protected boolean getContextInitialized()
getLog
protected org.apache.commons.logging.Log getLog()
createActif
protected void createActif()
createBody
protected void createBody()
createButtonTitle
protected void createButtonTitle()
createLayerUI
protected void createLayerUI()
createLayerUI2
protected void createLayerUI2()
createNext
protected void createNext()
createNextPath
protected void createNextPath()
createSensitivity
protected void createSensitivity()
createTableLayerUI
protected void createTableLayerUI()
Copyright © 1999-2010 CodeLutin. All Rights Reserved.