com.sas.swing.visuals.tableview
Class BasicRowHeaderUI.MouseInputHandler

com.sas.swing.visuals.tableview.BasicRowHeaderUI.MouseInputHandler
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, javax.swing.event.MouseInputListener
Enclosing class:
BasicRowHeaderUI

public class BasicRowHeaderUI.MouseInputHandler
implements javax.swing.event.MouseInputListener


Field Summary
protected  int lastEffectiveMouseX
           
protected  int lastEffectiveMouseY
           
 
Constructor Summary
BasicRowHeaderUI.MouseInputHandler()
           
 
Method Summary
protected  boolean canResize(int row)
           
protected  int getReorderRow(java.awt.Point p)
           
protected  int getResizingRow(java.awt.Point p)
           
protected  int getResizingRow(java.awt.Point p, int row)
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
protected  void move(java.awt.event.MouseEvent e, int delta)
           
protected  boolean resizingHeader(java.awt.Point p)
           
protected  void setValueIsAdjusting(boolean flag)
           
protected  boolean shouldIgnore(java.awt.event.MouseEvent e)
           
 

Field Detail

lastEffectiveMouseY

protected int lastEffectiveMouseY

lastEffectiveMouseX

protected int lastEffectiveMouseX
Constructor Detail

BasicRowHeaderUI.MouseInputHandler

public BasicRowHeaderUI.MouseInputHandler()
Method Detail

shouldIgnore

protected boolean shouldIgnore(java.awt.event.MouseEvent e)

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

canResize

protected boolean canResize(int row)

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

move

protected void move(java.awt.event.MouseEvent e,
                    int delta)

getResizingRow

protected int getResizingRow(java.awt.Point p)

getResizingRow

protected int getResizingRow(java.awt.Point p,
                             int row)

getReorderRow

protected int getReorderRow(java.awt.Point p)

resizingHeader

protected boolean resizingHeader(java.awt.Point p)

setValueIsAdjusting

protected void setValueIsAdjusting(boolean flag)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.