org.opennms.bb.eui.common.components
Class BBFileManipTableUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.TableUI
              |
              +--javax.swing.plaf.basic.BasicTableUI
                    |
                    +--org.opennms.bb.eui.common.components.BBFileManipTableUI

class BBFileManipTableUI
extends BasicTableUI

The BBFileManipTableUI extends the BasicTableUI to handle up/down/escape key actions and the mouse actions so as to dictate move between cells and also validate the cell values on move from a cell


Inner Class Summary
private  class BBFileManipTableUI.BBFileManipKeyAction
           
private  class BBFileManipTableUI.BBFMouseInputHandler
           
 
Inner classes inherited from class javax.swing.plaf.basic.BasicTableUI
BasicTableUI.FocusHandler, BasicTableUI.KeyHandler, BasicTableUI.MouseInputHandler
 
Fields inherited from class javax.swing.plaf.basic.BasicTableUI
focusListener, keyListener, mouseInputListener, rendererPane, table
 
Constructor Summary
(package private) BBFileManipTableUI()
           
 
Method Summary
private  ActionMap changeActionMap(ActionMap map)
           
protected  MouseInputListener createMouseInputListener()
           
private  ActionMap getActionMap()
           
private  InputMap getInputMap(int condition)
           
protected  void installKeyboardActions()
           
 
Methods inherited from class javax.swing.plaf.basic.BasicTableUI
createActionMap, createFocusListener, createKeyListener, createTableSize, createUI, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, installUI, paint, paintCell, paintCells, paintDraggedArea, paintGrid, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewIndexForColumn
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

BBFileManipTableUI

BBFileManipTableUI()
Method Detail

installKeyboardActions

protected void installKeyboardActions()
Overrides:
installKeyboardActions in class BasicTableUI

getInputMap

private InputMap getInputMap(int condition)
Overrides:
getInputMap in class BasicTableUI

getActionMap

private ActionMap getActionMap()
Overrides:
getActionMap in class BasicTableUI

changeActionMap

private ActionMap changeActionMap(ActionMap map)

createMouseInputListener

protected MouseInputListener createMouseInputListener()
Overrides:
createMouseInputListener in class BasicTableUI