|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.as400.vaccess.VPropertiesAction
public class VPropertiesAction extends Object implements VAction, Serializable
The VPropertiesAction class is an action that presents a properties pane for a system resource in a modeless dialog.
If a property dialog is already visible for the object, then it will be given focus.
Most errors are reported as ErrorEvents rather than throwing exceptions. Users should listen for ErrorEvents in order to diagnose and recover from error conditions.
VPropertiesAction objects generate the following events:
VPropertiesPane,
Serialized Form| Constructor and Description |
|---|
VPropertiesAction()
Deprecated. Constructs a VPropertiesAction object. |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorListener(ErrorListener listener)
Deprecated. Adds a listener to be notified when an error occurs. |
void |
addVObjectListener(VObjectListener listener)
Deprecated. Adds a listener to be notified when a VObject is changed, created, or deleted. |
void |
addWorkingListener(WorkingListener listener)
Deprecated. Adds a listener to be notified when work starts and stops on potentially long-running operations. |
VObject |
getObject()
Deprecated. Returns the object with which the action is associated. |
String |
getText()
Deprecated. Returns the text for the properties action. |
boolean |
isEnabled()
Deprecated. Indicates if the action is enabled. |
void |
perform(VActionContext context)
Deprecated. Performs the action. |
void |
removeErrorListener(ErrorListener listener)
Deprecated. Removes an error listener. |
void |
removeVObjectListener(VObjectListener listener)
Deprecated. Removes a VObjectListener. |
void |
removeWorkingListener(WorkingListener listener)
Deprecated. Removes a working listener. |
void |
setEnabled(boolean enabled)
Deprecated. Sets the enabled state of the action. |
void |
setObject(VObject object)
Deprecated. Sets the object with which the action is associated. |
String |
toString()
Deprecated. Returns the string representation of the properties action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VPropertiesAction()
| Method Detail |
|---|
public void addErrorListener(ErrorListener listener)
addErrorListener in interface VActionlistener - The listener.public void addVObjectListener(VObjectListener listener)
addVObjectListener in interface VActionlistener - The listener.public void addWorkingListener(WorkingListener listener)
addWorkingListener in interface VActionlistener - The listener.public VObject getObject()
public String getText()
getText in interface VActionpublic boolean isEnabled()
isEnabled in interface VActionpublic void perform(VActionContext context)
perform in interface VActioncontext - The action context.public void removeErrorListener(ErrorListener listener)
removeErrorListener in interface VActionlistener - The listener.public void removeVObjectListener(VObjectListener listener)
removeVObjectListener in interface VActionlistener - The listener.public void removeWorkingListener(WorkingListener listener)
removeWorkingListener in interface VActionlistener - The listener.public void setEnabled(boolean enabled)
setEnabled in interface VActionenabled - true if the action is enabled; false otherwise.public void setObject(VObject object)
object - The object.public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||