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
public FxStateConfigurableUIImage(int states[]);
Creates a FxStateConfigurableUIImage class factory with the specified states.
Parameter | Description |
states
| An array of states used to create the configurable image. The states can include the following.
|
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.
Parameter | Description |
comp
| The component to retrieve the state from.
|
- 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.