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.
-
-
Method Summary
Methods Modifier and Type Method and Description boolean
getConfirm()
Deprecated.Indicates if certain actions should be confirmed with the user.java.awt.Frame
getFrame()
Deprecated.Returns the frame.javax.swing.CellEditor
startEditing(VObject object, java.lang.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
java.awt.Frame getFrame()
Deprecated.Returns the frame. This is useful for actions that need to create dialogs.- Returns:
- The frame.
-
startEditing
javax.swing.CellEditor startEditing(VObject object, java.lang.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.
-
-