fr.ifremer.isisfish.ui.widget.filter
Class FilterDialogUI
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
fr.ifremer.isisfish.ui.widget.filter.FilterDialogUI
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject
- Direct Known Subclasses:
- SimulationFilterDialogUI
public class FilterDialogUI
- extends javax.swing.JDialog
- implements jaxx.runtime.JAXXObject
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
|
Field Summary |
protected java.util.List<java.lang.Object> |
$activeBindings
|
protected java.util.Map<java.lang.String,java.lang.Object> |
$bindingSources
|
protected java.util.Map<java.lang.String,java.lang.Object> |
$objectMap
|
protected javax.swing.JButton |
cancel
|
protected jaxx.runtime.swing.JAXXComboBox |
comboResult
|
protected FilterPanelUI |
content
|
protected jaxx.runtime.JAXXContext |
delegateContext
|
protected javax.swing.JEditorPane |
doc
|
protected javax.swing.JLabel |
labelResult
|
static org.apache.commons.logging.Log |
log
|
protected FilterModel |
model
filter model |
protected javax.swing.DefaultComboBoxModel |
modelResult
use to display filtered result in a comboBox |
protected javax.swing.JButton |
ok
|
protected javax.swing.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 |
| 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 |
log
public static final org.apache.commons.logging.Log log
$activeBindings
protected java.util.List<java.lang.Object> $activeBindings
$bindingSources
protected java.util.Map<java.lang.String,java.lang.Object> $bindingSources
$objectMap
protected java.util.Map<java.lang.String,java.lang.Object> $objectMap
cancel
protected javax.swing.JButton cancel
comboResult
protected jaxx.runtime.swing.JAXXComboBox comboResult
content
protected FilterPanelUI content
delegateContext
protected final jaxx.runtime.JAXXContext delegateContext
doc
protected javax.swing.JEditorPane doc
labelResult
protected javax.swing.JLabel labelResult
ok
protected javax.swing.JButton ok
reset
protected javax.swing.JButton reset
model
protected FilterModel model
- filter model
modelResult
protected javax.swing.DefaultComboBoxModel modelResult
- use to display filtered result in a comboBox
FilterDialogUI
public FilterDialogUI()
FilterDialogUI
public FilterDialogUI(jaxx.runtime.JAXXContext parentContext)
getParamModel
public FilterParamModel getParamModel(java.lang.String paramKey)
getOriginal
public java.util.List getOriginal()
getFilterResult
protected java.util.List getFilterResult()
- Returns:
- list of last filter list obtain
obtainFilterResult
public java.util.List obtainFilterResult()
obtainSelectResult
public java.lang.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 javax.swing.event.HyperlinkListener createHyperLinkListener()
refreshResult
protected void refreshResult()
$getJAXXObjectDescriptor
public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
applyDataBinding
public void applyDataBinding(java.lang.String $binding)
- Specified by:
applyDataBinding in interface jaxx.runtime.JAXXObject
firePropertyChange
public void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
- Specified by:
firePropertyChange in interface jaxx.runtime.JAXXObject- Overrides:
firePropertyChange in class java.awt.Component
get$objectMap
public java.util.Map<java.lang.String,java.lang.Object> get$objectMap()
- Specified by:
get$objectMap in interface jaxx.runtime.JAXXObject
getObjectById
public java.lang.Object getObjectById(java.lang.String id)
- Specified by:
getObjectById in interface jaxx.runtime.JAXXObject
processDataBinding
public void processDataBinding(java.lang.String dest)
- Specified by:
processDataBinding in interface jaxx.runtime.JAXXObject
processDataBinding
public void processDataBinding(java.lang.String $dest,
boolean $force)
removeDataBinding
public void removeDataBinding(java.lang.String $binding)
- Specified by:
removeDataBinding in interface jaxx.runtime.JAXXObject
getContextValue
public <T> T getContextValue(java.lang.Class<T> clazz)
- Specified by:
getContextValue in interface jaxx.runtime.JAXXContext
getContextValue
public <T> T getContextValue(java.lang.Class<T> clazz,
java.lang.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 java.awt.Container> O getParentContainer(java.lang.Class<O> clazz)
- Specified by:
getParentContainer in interface jaxx.runtime.JAXXContext
getParentContainer
public <O extends java.awt.Container> O getParentContainer(java.lang.Object source,
java.lang.Class<O> clazz)
- Specified by:
getParentContainer in interface jaxx.runtime.JAXXContext
removeContextValue
public <T> void removeContextValue(java.lang.Class<T> clazz)
- Specified by:
removeContextValue in interface jaxx.runtime.JAXXContext
removeContextValue
public <T> void removeContextValue(java.lang.Class<T> clazz,
java.lang.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,
java.lang.String name)
- Specified by:
setContextValue in interface jaxx.runtime.JAXXContext
doActionPerformed__on__cancel
public void doActionPerformed__on__cancel(java.awt.event.ActionEvent event)
doActionPerformed__on__ok
public void doActionPerformed__on__ok(java.awt.event.ActionEvent event)
doActionPerformed__on__reset
public void doActionPerformed__on__reset(java.awt.event.ActionEvent event)
get$activeBindings
public java.util.List<java.lang.Object> get$activeBindings()
get$bindingSources
public java.util.Map<java.lang.String,java.lang.Object> get$bindingSources()
getCancel
public javax.swing.JButton getCancel()
getComboResult
public jaxx.runtime.swing.JAXXComboBox getComboResult()
getContent
public FilterPanelUI getContent()
getDoc
public javax.swing.JEditorPane getDoc()
getLabelResult
public javax.swing.JLabel getLabelResult()
getOk
public javax.swing.JButton getOk()
getReset
public javax.swing.JButton getReset()
get$JDialog0
protected FilterDialogUI get$JDialog0()
get$JPanel4
protected javax.swing.JPanel get$JPanel4()
get$JScrollPane2
protected javax.swing.JScrollPane get$JScrollPane2()
get$JSeparator3
protected javax.swing.JSeparator get$JSeparator3()
get$Table1
protected jaxx.runtime.swing.Table get$Table1()
get$jaxxObjectDescriptor
protected java.lang.String get$jaxxObjectDescriptor()
get$previousValues
protected java.util.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.