adalogo.gui.editor
Class IndentEditorKit
StyledEditorKit
adalogo.gui.editor.IndentEditorKit
public class IndentEditorKit
extends StyledEditorKit
Action[] | getActions() - overriden getActions to replace certain actions with
the analog indent actions (tab enter delete backspace home).
|
void | install(JEditorPane pane) - override install to add shift tab action.
|
commentAction
public Action commentAction
copyAction
public Action copyAction
cutAction
public Action cutAction
fontSizeActions
public Action[] fontSizeActions
pasteAction
public Action pasteAction
uncommentAction
public Action uncommentAction
IndentEditorKit
public IndentEditorKit()
getActions
public Action[] getActions()
overriden getActions to replace certain actions with
the analog indent actions (tab enter delete backspace home).
all but the shift tab action is inserted here.
this is because there is no input map entry for shift tab
(or at least i have no idea where or how).
the shift tab action is bound to the textpane directly in
the overridden install method
install(JEditorPane)
install
public void install(JEditorPane pane)
override install to add shift tab action.
the getActions() was not able to install shift tab.
so it is added here using the traditional inputmap actionmap method.
getActions()