Interface IUIPropertyPage
public abstract interface IUIPropertyPage
{
// Methods
public boolean doApplyAction();
public boolean isApplyable();
public void setApplyable(boolean apply);
public void setConstructed(boolean construct);
public void setVisible(boolean visible);
}
This interface defines methods associated with property pages. UIPropertyPage implements IUIPropertyPage.
public boolean doApplyAction();
Responds to the Apply button being pressed.
Return Value:
Returns true if the Apply action was handled; otherwise, returns false if the Apply action was cancelled.
public boolean isApplyable();
Determines whether changes made to the property page by the user will be applied when the Apply button is pressed.
Return Value:
Returns true if pressing the Apply button changes the state of the application; otherwise, returns false.
public void setApplyable(boolean apply);
Sets the state of the Apply button.
Return Value:
No return value.
Parameter | Description |
apply
| If true, changes will be applied to the application when the Apply button is pressed; otherwise, changes will not be applied.
|
public void setConstructed(boolean construct);
Sets the creation state of the property page components.
Return Value:
No return value.
Parameter | Description |
construct
| If true, the components have been constructed; otherwise, the components have not been constructed.
|
public void setVisible(boolean visible);
Shows or hides the property page.
Return Value:
No return value.
Parameter | Description |
visible
| If true, the property page is shown; otherwise, it is hidden.
|