ilog.cpl.table
Class IlpBasicTableUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TableUI
          extended by javax.swing.plaf.basic.BasicTableUI
              extended by ilog.cpl.table.IlpBasicTableUI

public class IlpBasicTableUI
extends BasicTableUI

This class defines a special UI for an IlpTableView allowing selection across the two IlpJTables used by the IlpTableView to separate fixed columns and "free" columns.

Since:
JTGO 3.0

Nested Class Summary
 class IlpBasicTableUI.IlpFocusHandler
          This class should be treated as a "protected" inner class.
 class IlpBasicTableUI.IlpMouseInputHandler
          This class should be treated as a protected inner class.
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTableUI
BasicTableUI.FocusHandler, BasicTableUI.KeyHandler, BasicTableUI.MouseInputHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicTableUI
focusListener, keyListener, mouseInputListener, rendererPane, table
 
Constructor Summary
IlpBasicTableUI()
           
 
Method Summary
protected  FocusListener createFocusListener()
          Creates the focus listener for handling keyboard navigation in the IlpJtable.
protected  MouseInputListener createMouseInputListener()
          Creates an IlpBasicTableUI.IlpMouseInputHandler to manage an IlpJTable.
static ComponentUI createUI(JComponent c)
          This static method is called by the UIManager when an IlpJTable is created.
protected  void installKeyboardActions()
          Register all keyboard actions on the JTable.
 
Methods inherited from class javax.swing.plaf.basic.BasicTableUI
createKeyListener, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, installUI, paint, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
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, toString, wait, wait, wait
 

Constructor Detail

IlpBasicTableUI

public IlpBasicTableUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
This static method is called by the UIManager when an IlpJTable is created.

Parameters:
c - The IlpJTable that needs an IlpBasicTableUI instance.
Returns:
The IlpBasicTableUI created.

createMouseInputListener

protected MouseInputListener createMouseInputListener()
Creates an IlpBasicTableUI.IlpMouseInputHandler to manage an IlpJTable.

Overrides:
createMouseInputListener in class BasicTableUI
Returns:
The new mouse listener.

createFocusListener

protected FocusListener createFocusListener()
Creates the focus listener for handling keyboard navigation in the IlpJtable.

Overrides:
createFocusListener in class BasicTableUI
Returns:
The created IlpBasicTableUI.IlpFocusHandler.

installKeyboardActions

protected void installKeyboardActions()
Register all keyboard actions on the JTable.

Overrides:
installKeyboardActions in class BasicTableUI


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.