Package com.ms.fx |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
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.
public final static synchronized Image getSystemImage(int type, int x, int y, Component comp)Retrieves a system image.
Return Value:
Returns the system image.
Parameter Description type The type of image. x The x coordinate of the image. y The y coordinate of the image. comp The component.
public final static synchronized Image getSystemImage(int type, int size, Component comp)Retrieves a system image.
Return Value:
Returns the system image.
Parameter Description type The image type. size The image size. comp The component.
public final static Image getSystemImage(int type, Dimension size, Component comp)Retrieves a system image.
Return Value:
Returns the system image.
Parameter Description type The image type. size The image size. comp The component.
public final static void drawChar(Graphics g, String s, int x, int y, int size)Draws a string.
Return Value:
No return values.
Parameter Description 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.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.