Package com.ms.fx Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class FxSystemImage

Methods , Fields

public class FxSystemImage 
{
  // Fields
  public static final int CHECKBOX;
  public static final int RADIOBUTTON;
  public static final int EXPANDBOX;
  public static final int LEFTARROW;
  public static final int RIGHTARROW;
  public static final int UPARROW;
  public static final int DOWNARROW;
  public static final int ENABLED;
  public static final int HOT;
  public static final int PRESSED;
  public static final int CHECKED;
  public static final int INDETERMINATE;
  // Methods
  public final static synchronized Image getSystemImage(int type, int x, int y, Component comp);
  public final static synchronized Image getSystemImage(int type, int size, Component comp);
  public final static Image getSystemImage(int type, Dimension size, Component comp);
  public  final static void drawChar(Graphics g, String s, int x, int y, int size);
}

A class that handles system images.


Methods


getSystemImage

public final static synchronized Image getSystemImage(int type, int x, int y, Component comp)

Retrieves a system image.

Return Value:

Returns the system image.

ParameterDescription
type The type of image.
x The x coordinate of the image.
y The y coordinate of the image.
comp The component.


getSystemImage

public final static synchronized Image getSystemImage(int type, int size, Component comp)

Retrieves a system image.

Return Value:

Returns the system image.

ParameterDescription
type The image type.
size The image size.
comp The component.


getSystemImage

public final static Image getSystemImage(int type, Dimension size, Component comp)

Retrieves a system image.

Return Value:

Returns the system image.

ParameterDescription
type The image type.
size The image size.
comp The component.


drawChar

public final static void drawChar(Graphics g, String s, int x, int y, int size)

Draws a string.

Return Value:

No return values.

ParameterDescription
g The graphics object to use.
s The string to draw.
x The x coordinate of the location where the string should be drawn.
y The y coordinate of the location where the string should be drawn.
size The size of the string.


Fields

CHECKBOX
Used for a checkbox.
RADIOBUTTON
Used for a radio button.
EXPANDBOX
Used for an expanding box.
LEFTARROW
Used for a left arrow glyph, found in horizontal scrollbars.
RIGHTARROW
Used for a right arrow glyph, found in horizontal scrollbars.
UPARROW
Used for an up arrow glyph, found in a scrollbar or combo box drop down button.
DOWNARROW
Used for a down arrow glyph, found in a scrollbar or combo box drop down button.
ENABLED
An enabled state flag.
HOT
A hot state flag.
PRESSED
A pressed state flag.
CHECKED
A checked state flag.
INDETERMINATE
The third state of a three way checkbox.


Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.