com.japisoft.treefilebrowser
Class ActionModel

java.lang.Object
  |
  +--com.japisoft.treefilebrowser.ActionModel

public class ActionModel
extends java.lang.Object

Here a model for the set of action at the top of the JFileBrowser

Version:
1.0
Author:
(c) 2005 JAPISoft / http://www.japisoft.com

Constructor Summary
ActionModel()
           
 
Method Summary
 void addAction(javax.swing.Action a)
          Add a new action
 void addAction(int index, javax.swing.Action a)
          Add a new action at this location
 javax.swing.Action getAction(int index)
          Return an action at this index (starting from 0)
 int getActionCount()
          Return the number of action
 void removeAction(javax.swing.Action a)
          Remove an action
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionModel

public ActionModel()
Method Detail

addAction

public void addAction(javax.swing.Action a)
Add a new action


addAction

public void addAction(int index,
                      javax.swing.Action a)
Add a new action at this location


removeAction

public void removeAction(javax.swing.Action a)
Remove an action


getActionCount

public int getActionCount()
Return the number of action


getAction

public javax.swing.Action getAction(int index)
Return an action at this index (starting from 0)