public class BlockingLayerUI
extends org.jdesktop.jxlayer.plaf.AbstractLayerUI<javax.swing.JPanel>
| Constructor and Description |
|---|
BlockingLayerUI() |
| Modifier and Type | Method and Description |
|---|---|
void |
eventDispatched(java.awt.AWTEvent e, org.jdesktop.jxlayer.JXLayer<? extends javax.swing.JPanel> layer)
Override to consume the events.
|
void |
installUI(javax.swing.JComponent component)
Configures the JLayer this LayerUI is set to.
|
boolean |
isEnabled() |
boolean |
isShowBlocked() |
static void |
main(java.lang.String[] args) |
void |
setEnabled(boolean enabled)
When enabled the blocking layer is set to intercept input events from the wrapped component.
|
void |
setShowBlocked(boolean showBlocked)
If true, the panel when blocked will show blocked feedback to the user.
|
void |
uninstallUI(javax.swing.JComponent component)
Reverses the configuration which was set in the installUI(JComponent) method.
|
configureGraphics, getClip, getComposite, getLayerEventMask, getRenderingHints, getTransform, handlePropertyChangeEvent, isDirty, paint, paintLayer, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, setDirtyaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPreferredScrollableViewportSize, getPropertyChangeListeners, getPropertyChangeListeners, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, removePropertyChangeListener, removePropertyChangeListener, updateUIpublic void installUI(javax.swing.JComponent component)
installUI in class org.jdesktop.jxlayer.plaf.AbstractLayerUI<javax.swing.JPanel>component - The component to install. This component should be an JXLayer instancepublic void uninstallUI(javax.swing.JComponent component)
uninstallUI in class org.jdesktop.jxlayer.plaf.AbstractLayerUI<javax.swing.JPanel>component - The JXLayer instance
public void eventDispatched(java.awt.AWTEvent e,
org.jdesktop.jxlayer.JXLayer<? extends javax.swing.JPanel> layer)
eventDispatched in class org.jdesktop.jxlayer.plaf.AbstractLayerUI<javax.swing.JPanel>e - The eventlayer - The instance of JXLayerpublic void setEnabled(boolean enabled)
enabled -public boolean isEnabled()
public static void main(java.lang.String[] args)
public void setShowBlocked(boolean showBlocked)
showBusy -public boolean isShowBlocked()