fr.ifremer.isisfish.ui.widget.filter
Class FilterDialogUI

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by fr.ifremer.isisfish.ui.widget.filter.FilterDialogUI
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject
Direct Known Subclasses:
SimulationFilterDialogUI

public class FilterDialogUI
extends JDialog
implements jaxx.runtime.JAXXObject

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
 
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
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  List<Object> $activeBindings
           
protected  Map<String,Object> $bindingSources
           
protected  Map<String,Object> $objectMap
           
protected  JButton cancel
           
protected  jaxx.runtime.swing.JAXXComboBox comboResult
           
protected  FilterPanelUI content
           
protected  jaxx.runtime.JAXXContext delegateContext
           
protected  JEditorPane doc
           
protected  JLabel labelResult
           
static org.apache.commons.logging.Log log
           
protected  FilterModel model
          filter model
protected  DefaultComboBoxModel modelResult
          use to display filtered result in a comboBox
protected  JButton ok
           
protected  JButton reset
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FilterDialogUI()
           
FilterDialogUI(jaxx.runtime.JAXXContext parentContext)
           
 
Method Summary
static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
 void applyDataBinding(String $binding)
           
protected  boolean canReset()
           
protected  void createCancel()
           
protected  void createComboResult()
           
protected  void createContent()
           
protected  void createDoc()
           
protected  HyperlinkListener createHyperLinkListener()
           
protected  void createLabelResult()
           
protected  void createOk()
           
protected  void createReset()
           
 void doActionPerformed__on__cancel(ActionEvent event)
           
 void doActionPerformed__on__ok(ActionEvent event)
           
 void doActionPerformed__on__reset(ActionEvent event)
           
 void doCancel()
           
 void doCheck()
          user ui action : check nb matchs found with current params (launch a filter process)
 void doFilter()
          launch filter process with params grabbed in ui
 void doReset()
          user ui action : reset previous filter results (if any) and restore original dialogModel
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
           
 List<Object> get$activeBindings()
           
 Map<String,Object> get$bindingSources()
           
protected  String get$jaxxObjectDescriptor()
           
protected  FilterDialogUI get$JDialog0()
           
protected  JPanel get$JPanel4()
           
protected  JScrollPane get$JScrollPane2()
           
protected  JSeparator get$JSeparator3()
           
 Map<String,Object> get$objectMap()
           
protected  Map get$previousValues()
           
protected  jaxx.runtime.swing.Table get$Table1()
           
protected  boolean getAllComponentsCreated()
           
 JButton getCancel()
           
 jaxx.runtime.swing.JAXXComboBox getComboResult()
           
 FilterPanelUI getContent()
           
protected  boolean getContextInitialized()
           
<T> T
getContextValue(Class<T> clazz)
           
<T> T
getContextValue(Class<T> clazz, String name)
           
 jaxx.runtime.JAXXContext getDelegateContext()
           
 JEditorPane getDoc()
           
protected  List getFilterResult()
           
 JLabel getLabelResult()
           
protected  org.apache.commons.logging.Log getLog()
           
 Object getObjectById(String id)
           
 JButton getOk()
           
 List getOriginal()
           
 FilterParamModel getParamModel(String paramKey)
           
<O extends Container>
O
getParentContainer(Class<O> clazz)
           
<O extends Container>
O
getParentContainer(Object source, Class<O> clazz)
           
 JButton getReset()
           
 List obtainFilterResult()
           
 String obtainSelectResult()
           
 void processDataBinding(String dest)
           
 void processDataBinding(String $dest, boolean $force)
           
protected  void refreshResult()
           
<T> void
removeContextValue(Class<T> clazz)
           
<T> void
removeContextValue(Class<T> clazz, String name)
           
 void removeDataBinding(String $binding)
           
<T> void
setContextValue(T o)
           
<T> void
setContextValue(T o, String name)
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

cancel

protected JButton cancel

comboResult

protected jaxx.runtime.swing.JAXXComboBox comboResult

content

protected FilterPanelUI content

delegateContext

protected final jaxx.runtime.JAXXContext delegateContext

doc

protected JEditorPane doc

labelResult

protected JLabel labelResult

ok

protected JButton ok

reset

protected JButton reset

model

protected FilterModel model
filter model


modelResult

protected DefaultComboBoxModel modelResult
use to display filtered result in a comboBox

Constructor Detail

FilterDialogUI

public FilterDialogUI()

FilterDialogUI

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

getParamModel

public FilterParamModel getParamModel(String paramKey)

getOriginal

public List getOriginal()

getFilterResult

protected List getFilterResult()
Returns:
list of last filter list obtain

obtainFilterResult

public List obtainFilterResult()

obtainSelectResult

public String obtainSelectResult()

doReset

public void doReset()
user ui action : reset previous filter results (if any) and restore original dialogModel

See Also:
FilterModel.reset()

doCheck

public void doCheck()
user ui action : check nb matchs found with current params (launch a filter process)


doFilter

public void doFilter()
launch filter process with params grabbed in ui

See Also:
FilterModel.doFilter()

doCancel

public void doCancel()

canReset

protected boolean canReset()

createHyperLinkListener

protected HyperlinkListener createHyperLinkListener()

refreshResult

protected void refreshResult()

$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__cancel

public void doActionPerformed__on__cancel(ActionEvent event)

doActionPerformed__on__ok

public void doActionPerformed__on__ok(ActionEvent event)

doActionPerformed__on__reset

public void doActionPerformed__on__reset(ActionEvent event)

get$activeBindings

public List<Object> get$activeBindings()

get$bindingSources

public Map<String,Object> get$bindingSources()

getCancel

public JButton getCancel()

getComboResult

public jaxx.runtime.swing.JAXXComboBox getComboResult()

getContent

public FilterPanelUI getContent()

getDoc

public JEditorPane getDoc()

getLabelResult

public JLabel getLabelResult()

getOk

public JButton getOk()

getReset

public JButton getReset()

get$JDialog0

protected FilterDialogUI get$JDialog0()

get$JPanel4

protected JPanel get$JPanel4()

get$JScrollPane2

protected JScrollPane get$JScrollPane2()

get$JSeparator3

protected JSeparator get$JSeparator3()

get$Table1

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

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()

createCancel

protected void createCancel()

createComboResult

protected void createComboResult()

createContent

protected void createContent()

createDoc

protected void createDoc()

createLabelResult

protected void createLabelResult()

createOk

protected void createOk()

createReset

protected void createReset()


Copyright © 1999-2010 CodeLutin. All Rights Reserved.