Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.ui   Previous This
Package
Next

 


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.

Methods

doApplyAction

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.

isApplyable

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.

setApplyable

public void setApplyable(boolean apply);

Sets the state of the Apply button.

Return Value:

No return value.

ParameterDescription
apply If true, changes will be applied to the application when the Apply button is pressed; otherwise, changes will not be applied.

setConstructed

public void setConstructed(boolean construct);

Sets the creation state of the property page components.

Return Value:

No return value.

ParameterDescription
construct If true, the components have been constructed; otherwise, the components have not been constructed.

setVisible

public void setVisible(boolean visible);

Shows or hides the property page.

Return Value:

No return value.

ParameterDescription
visible If true, the property page is shown; otherwise, it is hidden.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.