javax.swing.plaf.basic
Class BasicSplitPaneUI.ToggleSideFocusAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjavax.swing.plaf.basic.BasicSplitPaneUI.ToggleSideFocusAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Enclosing class:
BasicSplitPaneUI

static class BasicSplitPaneUI.ToggleSideFocusAction
extends AbstractAction

ActionListener that will focus on the opposite component that has focus. EG if the left side has focus, this will transfer focus to the right component.


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
(package private) BasicSplitPaneUI.ToggleSideFocusAction()
           
 
Method Summary
 void actionPerformed(ActionEvent ae)
          Invoked when an action occurs.
private  Component getFirstAvailableComponent(Component c)
           
private  Component getNextSide(JSplitPane splitPane, Component focus)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSplitPaneUI.ToggleSideFocusAction

BasicSplitPaneUI.ToggleSideFocusAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
Description copied from interface: ActionListener
Invoked when an action occurs.


getNextSide

private Component getNextSide(JSplitPane splitPane,
                              Component focus)

getFirstAvailableComponent

private Component getFirstAvailableComponent(Component c)