| org.apache.ojb.tools.mapping.reversedb2.ActionTarget
All known Subclasses: org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode,
ActionTarget | public interface ActionTarget (Code) | | This interface is intended to be implemented by objects that are part
of a GUI and that whish to present a context menu.
author: Florian Bruckner version: $Id: ActionTarget.java,v 1.1.2.1 2005/12/21 22:32:04 tomdz Exp $ |
Method Summary | |
public boolean | actionListCachable() Some objects may alter the list of actions they present depending
on the state they are in. | public boolean | actionListStatic() Some objects may return a list of actions depending on the state they
are in or the way they have been created. | public java.util.Iterator | getActions() Get a bunch of java.util.Action objects that this object wants to
offer in a context-menu. |
actionListCachable | public boolean actionListCachable()(Code) | | Some objects may alter the list of actions they present depending
on the state they are in. If this method returns true, the list of
actions can be cached (i.e. the resulting GUI object can be cached
and doesn't have to be regenerated all the time)
true if the result of getActions() may be cached. |
actionListStatic | public boolean actionListStatic()(Code) | | Some objects may return a list of actions depending on the state they
are in or the way they have been created. Others always return the
same list of actions without any dependency on the state. If this
is the case, this method should return true. Other objects may
cache the list of actions and the depending GUI objects on a per-class
basis instead of a per-object basis. If this method returns true,
actionListCacheable has to return true as well, otherwise it would
not make any sense to cache the information here.
|
getActions | public java.util.Iterator getActions()(Code) | | Get a bunch of java.util.Action objects that this object wants to
offer in a context-menu.
an Iterator containing all the actions. |
|
|