Packages
 In this topic

*Constructors

*Methods

*Fields

 

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

 


Class FxStateConfigurableUIImage

public abstract class FxStateConfigurableUIImage extends FxStateConfigurableImage
{
  // Fields
  public static final int CHECKED;
  public static final int ENABLED;
  public static final int HOT;
  public static final int INDETERMINATE;
  public static final int PRESSED;

  // Constructors
  public FxStateConfigurableUIImage(int states[]);

  // Methods
  public static int getImageState(IUIComponent comp);
}

This class is a class factory that provides a set of images for different user interface component states.

FxStateConfigurableImage
  |
  +--FxStateConfigurableUIImage

Constructors

FxStateConfigurableUIImage

public FxStateConfigurableUIImage(int states[]);

Creates a FxStateConfigurableUIImage class factory with the specified states.

ParameterDescription
states An array of states used to create the configurable image. The states can include the following.
ENABLED HOT PRESSED CHECKED INDETERMINATE

Methods

getImageState

public static int getImageState(IUIComponent comp);

Retrieves the state from a UIComponent so that the appropriate image can be used.

Return Value:

Returns the state of the component.

ParameterDescription
comp The component to retrieve the state from.

Fields

CHECKED
A checked state flag.
ENABLED
An enabled state flag.
HOT
A hot state flag.
INDETERMINATE
The third state of a three way checkbox.
PRESSED
A pressed state flag.

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