Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext.actions
Class RemoveWhitespace  view RemoveWhitespace download RemoveWhitespace.java

java.lang.Object
  extended byorg.jext.MenuAction
      extended byorg.jext.actions.RemoveWhitespace
All Implemented Interfaces:
java.awt.event.ActionListener, org.jext.EditAction, java.util.EventListener

public class RemoveWhitespace
extends org.jext.MenuAction
implements org.jext.EditAction

Remove whitespace from ends of lines. Based on RemoveSpaces.


Field Summary
 
Fields inherited from class org.jext.MenuAction
name
 
Constructor Summary
RemoveWhitespace()
          Construct a new RemoveWhitespace action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          This method is invoked when an action occurs.
private  java.lang.String doRemove(java.lang.String in)
           
 
Methods inherited from class org.jext.MenuAction
getJextParent, getJextParent, getName, getNSTextArea, getNSTextArea, getTextArea, getTextArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveWhitespace

public RemoveWhitespace()
Construct a new RemoveWhitespace action.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

doRemove

private java.lang.String doRemove(java.lang.String in)