com.ibm.as400.vaccess
Interface VActionContext


Deprecated. Use Java Swing instead, along with the classes in package com.ibm.as400.access

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, AS400DetailsPane.getActionContext(), AS400ExplorerPane.getActionContext(), AS400ListPane.getActionContext(), AS400TreePane.getActionContext()

Method Summary
 boolean getConfirm()
          Deprecated. Indicates if certain actions should be confirmed with the user.
 Frame getFrame()
          Deprecated. Returns the frame.
 CellEditor startEditing(VObject object, Object propertyIdentifier)
          Deprecated. Prompts the user to edit the text for a system resource.
 

Method Detail

getConfirm

boolean getConfirm()
Deprecated. 
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

Frame getFrame()
Deprecated. 
Returns the frame. This is useful for actions that need to create dialogs.

Returns:
The frame.

startEditing

CellEditor startEditing(VObject object,
                        Object propertyIdentifier)
Deprecated. 
Prompts the user to edit the text for a system 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.