ilog.cpl.table
Class IlpBasicTableUI.IlpFocusHandler

java.lang.Object
  extended by javax.swing.plaf.basic.BasicTableUI.FocusHandler
      extended by ilog.cpl.table.IlpBasicTableUI.IlpFocusHandler
All Implemented Interfaces:
FocusListener, EventListener
Enclosing class:
IlpBasicTableUI

public class IlpBasicTableUI.IlpFocusHandler
extends BasicTableUI.FocusHandler

This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTableUI. Manages the anchor display when the IlpTableView gains or loses focus.


Constructor Summary
IlpBasicTableUI.IlpFocusHandler()
           
 
Method Summary
 void focusGained(FocusEvent e)
          Called when the table gains focus.
 void focusLost(FocusEvent e)
          Called when the table loses focus.
protected  void repaintAnchor()
          Asks the IlpTableView to redisplay the cell having the anchor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpBasicTableUI.IlpFocusHandler

public IlpBasicTableUI.IlpFocusHandler()
Method Detail

repaintAnchor

protected void repaintAnchor()
Asks the IlpTableView to redisplay the cell having the anchor. The cell will be painted with a focus border if the IlpTableView has focus.


focusGained

public void focusGained(FocusEvent e)
Called when the table gains focus.

Specified by:
focusGained in interface FocusListener
Overrides:
focusGained in class BasicTableUI.FocusHandler
Parameters:
e - The corresponding event.

focusLost

public void focusLost(FocusEvent e)
Called when the table loses focus.

Specified by:
focusLost in interface FocusListener
Overrides:
focusLost in class BasicTableUI.FocusHandler
Parameters:
e - The corresponding event.


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