org.wcb.autohome.util
Class X10Filter
java.lang.Object
javax.swing.filechooser.FileFilter
org.wcb.autohome.util.X10Filter
- public class X10Filter
- extends javax.swing.filechooser.FileFilter
Copyright (C) 1999 Walter Bogaardt
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
Project: Home Automation Interface
Filename: $Id: X10Filter.java,v 1.0 1999/09/14 23:42:04 wbogaardt
Method Summary |
boolean |
accept(java.io.File f)
This determinse if the passed in file should be displayed. |
java.lang.String |
getDescription()
Gets the description of the filter for display in the
file open dialog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X10Filter
public X10Filter()
accept
public boolean accept(java.io.File f)
- This determinse if the passed in file should be displayed.
- Parameters:
f
- File path and name
- Returns:
- true indicates display file
getDescription
public java.lang.String getDescription()
- Gets the description of the filter for display in the
file open dialog
- Returns:
- String of the displayable filter description
Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.