public abstract class AutoScrollToSourceHandler
extends java.lang.Object
Constructor and Description |
---|
AutoScrollToSourceHandler() |
Modifier and Type | Method and Description |
---|---|
void |
cancelAllRequests() |
ToggleAction |
createToggleAction() |
protected java.lang.String |
getActionDescription() |
protected java.lang.String |
getActionName() |
void |
install(javax.swing.JList jList) |
void |
install(javax.swing.JTable table) |
void |
install(javax.swing.JTree tree) |
protected boolean |
isAutoScrollEnabledFor(VirtualFile file) |
protected abstract boolean |
isAutoScrollMode() |
protected boolean |
needToCheckFocus() |
void |
onMouseClicked(java.awt.Component component) |
protected void |
scrollToSource(java.awt.Component tree) |
protected abstract void |
setAutoScrollMode(boolean state) |
public void install(javax.swing.JTree tree)
public void install(javax.swing.JTable table)
public void install(javax.swing.JList jList)
public void cancelAllRequests()
public void onMouseClicked(java.awt.Component component)
protected java.lang.String getActionName()
protected java.lang.String getActionDescription()
protected boolean needToCheckFocus()
protected abstract boolean isAutoScrollMode()
protected abstract void setAutoScrollMode(boolean state)
protected boolean isAutoScrollEnabledFor(VirtualFile file)
file
- a file selected in a treefalse
if navigation to the file is prohibitedprotected void scrollToSource(java.awt.Component tree)
public ToggleAction createToggleAction()