org.zaval.lw
Class LwFilePanel

java.lang.Object
  |
  +--org.zaval.util.ValidationObject
        |
        +--org.zaval.lw.LwCanvas
              |
              +--org.zaval.lw.LwPanel
                    |
                    +--org.zaval.lw.LwFilePanel
All Implemented Interfaces:
Drawable, java.util.EventListener, Layoutable, LayoutContainer, LwActionListener, LwChildrenListener, LwComponent, LwContainer, Validationable

public class LwFilePanel
extends LwPanel
implements LwActionListener, LwChildrenListener


Fields inherited from class org.zaval.lw.LwPanel
children
 
Fields inherited from class org.zaval.lw.LwCanvas
bits, height, insets, parent, psHeight, psWidth, skins, width, x, y
 
Fields inherited from class org.zaval.util.ValidationObject
isValidFlag
 
Constructor Summary
LwFilePanel(java.lang.String root, java.lang.String[][] ext)
           
 
Method Summary
 void actionPerformed(LwActionEvent e)
          Invoked when an action event occured.
 void addActionListener(LwActionListener l)
           
 void childPerformed(LwAWTEvent e)
          Invoked whenever an event has been performed.
static TreeModel createTreeModel(java.lang.String root, java.io.FilenameFilter f)
           
protected  LwLayout getDefaultLayout()
          Gets the default layout manager that is set with the container during initialization.
 java.io.File getSelectedFile()
           
 java.io.File lookup(java.lang.String path)
           
 void removeActionListener(LwActionListener l)
           
 
Methods inherited from class org.zaval.lw.LwPanel
add, add, calcPreferredSize, count, get, getLayoutOffset, getLwComponentAt, getLwLayout, indexOf, insert, insert, invalidate, paintOnTop, recalc, remove, remove, removeAll, setBackground, setLwLayout, setOpaque, toFront, updateCashedPs
 
Methods inherited from class org.zaval.lw.LwCanvas
canHaveFocus, getBackground, getBounds, getHeight, getInsets, getLocation, getLwParent, getOrigin, getPreferredSize, getSize, getViewMan, getVisiblePart, getWidth, getX, getY, hasFocus, isEnabled, isOpaque, isVisible, paint, repaint, repaint, requestFocus, setEnabled, setInsets, setLocation, setLwParent, setPSSize, setSize, setViewMan, setVisible, toString, update, validate, viewManChanged, vrp
 
Methods inherited from class org.zaval.util.ValidationObject
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.zaval.lw.LwComponent
canHaveFocus, getLwParent, getViewMan, getVisiblePart, setEnabled, setLwParent, setViewMan, setVisible
 
Methods inherited from interface org.zaval.lw.Drawable
getBackground, getOrigin, isEnabled, isOpaque, paint, repaint, repaint, update
 
Methods inherited from interface org.zaval.util.Validationable
isValid, validate
 
Methods inherited from interface org.zaval.lw.Layoutable
getBounds, getHeight, getInsets, getLocation, getPreferredSize, getSize, getWidth, getX, getY, isVisible, setLocation, setSize
 

Constructor Detail

LwFilePanel

public LwFilePanel(java.lang.String root,
                   java.lang.String[][] ext)
Method Detail

getSelectedFile

public java.io.File getSelectedFile()

lookup

public java.io.File lookup(java.lang.String path)

addActionListener

public void addActionListener(LwActionListener l)

removeActionListener

public void removeActionListener(LwActionListener l)

childPerformed

public void childPerformed(LwAWTEvent e)
Description copied from interface: LwChildrenListener
Invoked whenever an event has been performed.
Specified by:
childPerformed in interface LwChildrenListener
Following copied from interface: org.zaval.lw.event.LwChildrenListener
Parameters:
e - the child event.

actionPerformed

public void actionPerformed(LwActionEvent e)
Description copied from interface: LwActionListener
Invoked when an action event occured. The specified action event is passed to the method.
Specified by:
actionPerformed in interface LwActionListener
Following copied from interface: org.zaval.lw.event.LwActionListener
Parameters:
e - the specified action event.

getDefaultLayout

protected LwLayout getDefaultLayout()
Description copied from class: LwPanel
Gets the default layout manager that is set with the container during initialization. This implementation of the method returns LwRastLayout as the default layout manager, the layout manager is got as a static object by "layout.raster" key.
Overrides:
getDefaultLayout in class LwPanel
Following copied from class: org.zaval.lw.LwPanel
Returns:
a layout manager.

createTreeModel

public static TreeModel createTreeModel(java.lang.String root,
                                        java.io.FilenameFilter f)


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org