public interface VPropertiesPane
When the user makes a change using the editor, the properties pane fires a change event. This signals to the dialog that a change was made so that it can enable the Apply button. The change to the underlying system resource is not made at this time. This way the user can still choose to cancel the changes.
When the user clicks the OK or Apply button, then applyChanges() is called. The change to the underlying system resource is made at this time.
Most errors are reported as ErrorEvents rather than throwing exceptions. Users should listen for ErrorEvents in order to diagnose and recover from error conditions.
VPropertiesPane objects generate the following events:
VObject.getPropertiesPane()
,
VPropertiesAction
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener)
Deprecated.
Adds a listener to be notified when the user makes a change.
|
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.
|
void |
applyChanges()
Deprecated.
Applies the changes made by the user.
|
java.awt.Component |
getComponent()
Deprecated.
Returns the graphical user interface component.
|
void |
removeChangeListener(javax.swing.event.ChangeListener listener)
Deprecated.
Removes a change listener.
|
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 addChangeListener(javax.swing.event.ChangeListener listener)
listener
- The listener.void addErrorListener(ErrorListener listener)
listener
- The listener.void addVObjectListener(VObjectListener listener)
listener
- The listener.void addWorkingListener(WorkingListener listener)
listener
- The listener.void applyChanges() throws java.lang.Exception
java.lang.Exception
- If an error occurs.java.awt.Component getComponent()
void removeChangeListener(javax.swing.event.ChangeListener listener)
listener
- The listener.void removeErrorListener(ErrorListener listener)
listener
- The listener.void removeVObjectListener(VObjectListener listener)
listener
- The listener.void removeWorkingListener(WorkingListener listener)
listener
- The listener.