com.japisoft.resourcebrowser
Class ActionModel

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

public class ActionModel
extends java.lang.Object

This is a collection of javax.swing.Action for the main ResourceBrowserPanel actions like creating a new file...

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com
See Also:
ResourceBrowserPanel

Constructor Summary
ActionModel()
           
 
Method Summary
 void addAction(javax.swing.Action action)
          Add a new action
 void addAction(int index, javax.swing.Action action)
          Add a new action to this index
 javax.swing.Action getActionAt(int index)
           
 void removeAction(javax.swing.Action action)
          Remove this action of the model
 int size()
           
 
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(int index,
                      javax.swing.Action action)
Add a new action to this index


addAction

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


removeAction

public void removeAction(javax.swing.Action action)
Remove this action of the model


getActionAt

public javax.swing.Action getActionAt(int index)

size

public int size()
Returns:
the number of actions