Package com.ms.ui |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
public class UISystem { // Fields public static final int TREE_LAYOUT; public static final int CXBORDER; public static final int CYBORDER; public static final int CXEDGE; public static final int CYEDGE; public static final int CXTREE_INDENT; public static final int CHECKBOX_SIZE; // Methods public final static UILayoutManager getLayout(int index); public final static int getMetric(int index); }
A class that handles the retrieving of system properties. UISystem manages a collection of layout managers and metrics, and cannot be instantiated.
public final static UILayoutManager getLayout(int index);Retrieves the layout manager at the specified index.
Return Value:
Returns the layout manager.
Parameter Description index The index of the layout manager to be retrieved. TREE_LAYOUT is the only supported value. Remarks:
By default, the layout manager defined at the TREE_LAYOUT index is UITreeLayout.
public final static int getMetric(int index);Retrieves the metric value at the specified index.
Return Value:
Returns the specified metric value.
Parameter Description index The index of the metric value to be retrieved. Specify one of the following values.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.