摘要 |
A method for managing the construction or creation of a user interface in a Java(TM) environment is described. Values for a set of internal client properties are derived and attach to a new component. A component is brought into a container, or user interface area, from a component palette. Using the client properties, size values and position values are calculated for the component, all of which are integer values. This feature simplifies the calculation process. If there are existing components in the user interface, values for the other components are recalculated using the same set of client properties (with different values) and the same set of size and position formulas. This way any resizing and repositioning of components are done automatically. Once the client properties are derived, they are stored with the component. A user interface having multiple components can then be reconstructed from state data in the components.
|