Class TableBlockingLayerUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.jdesktop.jxlayer.plaf.LayerUI<V>
org.jdesktop.jxlayer.plaf.AbstractLayerUI<JComponent>
fr.ifremer.isisfish.ui.sensitivity.TableBlockingLayerUI
- All Implemented Interfaces:
Serializable
A layer for factorizable entities properties in
JTable
component.
This is a LayerUI
that check if :
- component is
JScrollBar
: clic allowed - component is
JTable
and table model isSensitivityTableModel
: do sensitivity stuff
MouseEvent
s are managed:
MouseEvent.MOUSE_CLICKED
: display factor interface depending on sensitivity enabled table columnMouseEvent.MOUSE_MOVED
: change cursor depending on sensitivity enabled table columnMouseEvent.MOUSE_EXITED
: back to default cursor
- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected InputContentUI<? extends org.nuiton.topia.persistence.TopiaEntityContextable>
Parent UI. -
Constructor Summary
ConstructorDescriptionTableBlockingLayerUI
(InputContentUI<? extends org.nuiton.topia.persistence.TopiaEntityContextable> parent) Init layer with parent. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
processMouseEvent
(MouseEvent event, org.jdesktop.jxlayer.JXLayer<? extends JComponent> layer) protected void
processMouseMotionEvent
(MouseEvent e, org.jdesktop.jxlayer.JXLayer<? extends JComponent> l) Methods inherited from class org.jdesktop.jxlayer.plaf.AbstractLayerUI
configureGraphics, eventDispatched, getClip, getComposite, getLayerEventMask, getRenderingHints, getTransform, handlePropertyChangeEvent, installUI, isDirty, paint, paintLayer, processFocusEvent, processKeyEvent, processMouseWheelEvent, setDirty, uninstallUI
Methods inherited from class org.jdesktop.jxlayer.plaf.LayerUI
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPreferredScrollableViewportSize, getPropertyChangeListeners, getPropertyChangeListeners, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, removePropertyChangeListener, removePropertyChangeListener, updateUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Field Details
-
parent
Parent UI.
-
-
Constructor Details
-
TableBlockingLayerUI
public TableBlockingLayerUI(InputContentUI<? extends org.nuiton.topia.persistence.TopiaEntityContextable> parent) Init layer with parent.- Parameters:
parent
- parent
-
-
Method Details
-
processMouseEvent
protected void processMouseEvent(MouseEvent event, org.jdesktop.jxlayer.JXLayer<? extends JComponent> layer) - Overrides:
processMouseEvent
in classorg.jdesktop.jxlayer.plaf.AbstractLayerUI<JComponent>
-
processMouseMotionEvent
protected void processMouseMotionEvent(MouseEvent e, org.jdesktop.jxlayer.JXLayer<? extends JComponent> l) - Overrides:
processMouseMotionEvent
in classorg.jdesktop.jxlayer.plaf.AbstractLayerUI<JComponent>
-