org.jdesktop.jxlayer.plaf.ext
Class ButtonPanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.jdesktop.jxlayer.plaf.LayerUI<V>
          extended by org.jdesktop.jxlayer.plaf.AbstractLayerUI<javax.swing.JComponent>
              extended by org.jdesktop.jxlayer.plaf.ext.ButtonPanelUI
All Implemented Interfaces:
java.io.Serializable

public class ButtonPanelUI
extends AbstractLayerUI<javax.swing.JComponent>

See Also:
Serialized Form

Constructor Summary
ButtonPanelUI()
           
ButtonPanelUI(boolean cyclic)
           
 
Method Summary
 void installUI(javax.swing.JComponent c)
          Configures the JXLayer this LayerUI is set to.
 boolean isFocusCyclic()
          Returns whether arrow keys should support cyclic focus traversal ordering for for this ButtonPanelUI.
protected  void processKeyEvent(java.awt.event.KeyEvent e, JXLayer<? extends javax.swing.JComponent> l)
          Processes KeyEvent occurring on the JXLayer or any of its subcomponents.
 void setFocusCyclic(boolean isFocusCyclic)
          Sets whether arrow keys should support cyclic focus traversal ordering for this ButtonPanelUI.
 void uninstallUI(javax.swing.JComponent c)
          
 
Methods inherited from class org.jdesktop.jxlayer.plaf.AbstractLayerUI
configureGraphics, eventDispatched, getClip, getComposite, getLayerEventMask, getRenderingHints, getTransform, handlePropertyChangeEvent, isDirty, paint, paintLayer, processFocusEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, setDirty
 
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, getMaximumSize, getMinimumSize, getPreferredSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonPanelUI

public ButtonPanelUI()

ButtonPanelUI

public ButtonPanelUI(boolean cyclic)
Method Detail

installUI

public void installUI(javax.swing.JComponent c)
Description copied from class: LayerUI
Configures the JXLayer this LayerUI is set to. The default implementation registers the LayerUI as a property change listener for the passed JXLayer

Overrides:
installUI in class AbstractLayerUI<javax.swing.JComponent>
Parameters:
c - the JXLayer where this UI delegate is being installed

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Description copied from class: LayerUI

Overrides:
uninstallUI in class AbstractLayerUI<javax.swing.JComponent>

isFocusCyclic

public boolean isFocusCyclic()
Returns whether arrow keys should support cyclic focus traversal ordering for for this ButtonPanelUI.

Returns:
whether arrow keys should support cyclic focus traversal ordering

setFocusCyclic

public void setFocusCyclic(boolean isFocusCyclic)
Sets whether arrow keys should support cyclic focus traversal ordering for this ButtonPanelUI.

Parameters:
isFocusCyclic - sets whether arrow keys should support cyclic focus traversal ordering

processKeyEvent

protected void processKeyEvent(java.awt.event.KeyEvent e,
                               JXLayer<? extends javax.swing.JComponent> l)
Processes KeyEvent occurring on the JXLayer or any of its subcomponents.

Overrides:
processKeyEvent in class AbstractLayerUI<javax.swing.JComponent>
Parameters:
e - the KeyEvent to be processed
l - the layer this LayerUI is set to