|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.text.NavigationFilter
com.wordpress.tipsforjava.swing.text.ProtectedDocument.ProtectedNavigationFilter
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 |
|---|
private JTextComponent component
private boolean isMousePressed
private int lastDot
private int mouseDot
| Constructor Detail |
|---|
public ProtectedDocument.ProtectedNavigationFilter(JTextComponent component)
| Method Detail |
|---|
private int getBackwardDot(int dot)
private int getForwardDot(int dot)
public void mouseClicked(MouseEvent e)
public void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mousePressed(MouseEvent e)
public void mouseReleased(MouseEvent e)
public void moveDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias)
public void setDot(NavigationFilter.FilterBypass fb, int dot, Position.Bias bias)
Groovy Documentation