FilterAction.java :  » Testing » TIJmp » tijmp » actions » Java Open Source

Java Open Source » Testing » TIJmp 
TIJmp » tijmp » actions » FilterAction.java
package tijmp.actions;

import javax.swing.AbstractAction;
import tijmp.ui.FilterConfig;

/** An action that acts on a given filter config. 
 */
public abstract class FilterAction extends AbstractAction {
    private FilterConfig fc;
    
    public FilterAction (String title, FilterConfig fc) {
  super (title);
  if (fc == null)
      throw new IllegalArgumentException ("fc may not be null");
  this.fc = fc;
    }

    public FilterConfig getFilterConfig () {
  return fc;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.