rsramanujam.uis
Class RSRUIFactory

java.lang.Object
  |
  +--rsramanujam.uis.RSRUIFactory

public final class RSRUIFactory
extends java.lang.Object

A UI Utility factory class.

Version:
1.0.0 Kamadhenu, an open source repository of user intercace and support utility components Copyright (C) 2002 R Sadagopa Ramanujam 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.1 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 USA R Sadagopa Ramanujam

Inner Class Summary
private  class RSRUIFactory.ImageFileType
          Inner Class that returns a FileFilter for Image (jpeg and gif) Files
private  class RSRUIFactory.JavaFileType
          Inner Class that returns a FileFilter for Java Files
private  class RSRUIFactory.XMLFileType
          Inner Class that returns a FileFilter for XML Files
 
Constructor Summary
RSRUIFactory()
          RSRUIFactory
 
Method Summary
static javax.swing.filechooser.FileFilter getImageFileFilter()
          Returns an instance of FileFilter with the supported filetpe being jpeg,gif,jpg
static javax.swing.filechooser.FileFilter getJavaFileFilter()
          Returns an instance of FileFilter with the supported filetpe being java
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

RSRUIFactory

public RSRUIFactory()
RSRUIFactory
Method Detail

getImageFileFilter

public static javax.swing.filechooser.FileFilter getImageFileFilter()
Returns an instance of FileFilter with the supported filetpe being jpeg,gif,jpg

getJavaFileFilter

public static javax.swing.filechooser.FileFilter getJavaFileFilter()
Returns an instance of FileFilter with the supported filetpe being java