All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.as400.vaccess.VActionContext
- public interface VActionContext
The VActionContext interface defines the context within which an
action is performed. An action context provides various aspects
of a graphical user interface to an action, so that the action can
interact with the user.
An action context is always needed when peforming actions.
Many graphical user interface components provided in this package
provide a getActionContext() method which will return an action
context.
- See Also:
- VAction, VActionAdapter, getActionContext, getActionContext, getActionContext, getActionContext
-
getConfirm()
- Indicates if certain actions should be confirmed with
the user.
-
getFrame()
- Returns the frame.
-
startEditing(VObject, Object)
- Prompts the user to edit the text for an AS/400 resource.
getConfirm
public abstract boolean getConfirm()
- Indicates if certain actions should be confirmed with
the user. Such actions will likely prompt the user
before continuing.
- Returns:
- true if certain actions should be confirmed with
the user; false otherwise.
getFrame
public abstract Frame getFrame()
- Returns the frame. This is useful for actions that need
to create dialogs.
- Returns:
- The frame.
startEditing
public abstract CellEditor startEditing(VObject object,
Object propertyIdentifier)
- Prompts the user to edit the text for an AS/400 resource.
This will start an edit session usually within
a graphical component.
- Parameters:
- object - The object to be edited.
- propertyIdentifier - The property identifier of the object which will be edited.
- Returns:
- The cell editor, or null if editing
is not allowed.
All Packages Class Hierarchy This Package Previous Next Index