List of usage examples for javax.swing.text TextAction actionPerformed
public void actionPerformed(ActionEvent e);
From source file:org.pentaho.ui.xul.swing.tags.SwingWindow.java
public void copy() throws XulException { TextAction act = new DefaultEditorKit.CopyAction(); act.actionPerformed(new ActionEvent(this.getManagedObject(), 999, "copy")); }
From source file:org.pentaho.ui.xul.swing.tags.SwingWindow.java
public void cut() { TextAction act = new DefaultEditorKit.CutAction(); act.actionPerformed(new ActionEvent(this.getManagedObject(), 999, "cut")); }
From source file:org.pentaho.ui.xul.swing.tags.SwingWindow.java
public void paste() { TextAction act = new DefaultEditorKit.PasteAction(); act.actionPerformed(new ActionEvent(this.getManagedObject(), 999, "paste")); }