Groovy Documentation

com.wordpress.tipsforjava.swing.text
[Java] Class ProtectedDocument.ProtectedNavigationFilter

java.lang.Object
  javax.swing.text.NavigationFilter
      com.wordpress.tipsforjava.swing.text.ProtectedDocument.ProtectedNavigationFilter
All Implemented Interfaces:
MouseListener

class ProtectedDocument.ProtectedNavigationFilter
extends NavigationFilter

Field Summary
private JTextComponent component

private boolean isMousePressed

private int lastDot

private int mouseDot

 
Constructor Summary
ProtectedDocument.ProtectedNavigationFilter(JTextComponent component)

 
Method Summary
private int getBackwardDot(int dot)

private int getForwardDot(int dot)

void mouseClicked(MouseEvent e)

void mouseEntered(MouseEvent e)

void mouseExited(MouseEvent e)

void mousePressed(MouseEvent e)

void mouseReleased(MouseEvent e)

void moveDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias)

void setDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias)

 
Methods inherited from class NavigationFilter
setDot, moveDot, getNextVisualPositionFrom, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

component

private JTextComponent component


isMousePressed

private boolean isMousePressed


lastDot

private int lastDot


mouseDot

private int mouseDot


 
Constructor Detail

ProtectedDocument.ProtectedNavigationFilter

public ProtectedDocument.ProtectedNavigationFilter(JTextComponent component)


 
Method Detail

getBackwardDot

private int getBackwardDot(int dot)


getForwardDot

private int getForwardDot(int dot)


mouseClicked

public void mouseClicked(MouseEvent e)


mouseEntered

public void mouseEntered(MouseEvent e)


mouseExited

public void mouseExited(MouseEvent e)


mousePressed

public void mousePressed(MouseEvent e)


mouseReleased

public void mouseReleased(MouseEvent e)


moveDot

public void moveDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias)


setDot

public void setDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias)


 

Groovy Documentation