Automated user interface adjustment
AssigneeInternational Business Machines Corporation
InventorsCorville Orain Allen, Albert Alexander Chung, Binh Truong, Kam Kan Yee
Life of this patent
Estimating the term…
Abstract
An event associated with a viewable area of an encapsulated component that represents at least a portion of content associated with a user interface component is detected. A determination is made that the event will result in at least a portion of the viewable area of the encapsulated component being outside of a viewable area of the user interface component. The content associated with the user interface component is adjusted automatically to display at least the portion of the viewable area of the encapsulated component within the viewable area of the user interface component.
Claims21
A method, comprising:
- displaying a graphical user interface (GUI) container window comprising at least one container content control element that scrolls container content of the GUI container window;
- displaying, as a portion of the container content of the GUI container window, an encapsulated GUI component comprising an encapsulated content control element;
- detecting an event associated with the encapsulated content control element of the encapsulated GUI component that changes a viewable area of the encapsulated GUI component;
- determining that the event associated with the encapsulated content control element of the encapsulated GUI component will result in at least a portion of the changed viewable area of the encapsulated GUI component extending outside of at least one boundary of a viewable area of the GUI container window;
- and
- adjusting both the container content associated with GUI container window and the encapsulated GUI component automatically, in response to determining that the at least the portion of the changed viewable area of the encapsulated GUI component would extend outside of the at least one boundary of the viewable area of the GUI container window, to display the at least the portion of the changed viewable area of the encapsulated GUI component within the at least one boundary of the viewable area of the GUI container window, where adjustment of the container content is controlled responsive to the detected event associated with the encapsulated content control element of the encapsulated GUI component.
A system, comprising:
- a display;
- and
- a processor programmed to:
- display a graphical user interface (GUI) container window comprising at least one container content control element that scrolls container content of the GUI container window on the display;
- display, as a portion of the container content of the GUI container window, an encapsulated GUI component comprising an encapsulated content control element;
- detect an event associated with the encapsulated content control element of the encapsulated GUI component that changes a viewable area of the encapsulated GUI component;
- determine that the event associated with the encapsulated content control element of the encapsulated GUI component will result in at least a portion of the changed viewable area of the encapsulated GUI component extending outside of at least one boundary of a viewable area of the GUI container window;
- and
- adjust both the container content associated with the GUI container window and the encapsulated GUI component automatically, in response to determining that the at least the portion of the changed viewable area of the encapsulated GUI component would extend outside of the at least one boundary of the viewable area of the GUI container window, to display the at least the portion of the changed viewable area of the encapsulated GUI component within the at least one boundary of the viewable area of the GUI container window, where adjustment of the container content is controlled responsive to the detected event associated with the encapsulated content control element of the encapsulated GUI component.
A system, comprising:
- an input device adapted to generate input events in response to actuation by a user;
- a display;
- and a user interface component configured to provide coordinates associated with displayed components in response to the input events;
- and
- a processor programmed to:
- display a graphical user interface (GUI) container window comprising at least one container content control element that scrolls container content of the GUI container window on the display;
- display, as a portion of the container content of the GUI container window, an encapsulated GUI component comprising an encapsulated content control element;
- detect an event generated by the input device associated with the encapsulated content control element of the encapsulated GUI component that changes a viewable area of the encapsulated GUI component;
- determine a length of a dimension of the viewable area of the encapsulated GUI component relative to an origin of the encapsulated GUI component based upon the coordinates provided by the user interface component;
- compare the length of the dimension with a distance from the origin of the encapsulated GUI component to at least one boundary of a viewable area of the GUI container window;
- determine that the length of the dimension is larger than the distance from the origin of the encapsulated GUI component to the at least one boundary of the viewable area of the GUI container window;
- determine that the event associated with the encapsulated content control element of the encapsulated GUI component will result in at least a portion of the changed viewable area of the encapsulated GUI component extending outside of the at least one boundary of the viewable area of the GUI container window;
- and
- adjust both the container content associated with the GUI container window and the encapsulated GUI component automatically, in response to determining that the at least the portion of the changed viewable area of the encapsulated GUI component would extend outside of the at least one boundary of the viewable area of the GUI container window, to display the at least the portion of the changed viewable area of the encapsulated GUI component within the at least one boundary of the viewable area of the GUI container window, where adjustment of the container content is controlled responsive to the detected event associated with the encapsulated content control element of the encapsulated GUI component.
A computer program product comprising a non-transitory computer useable storage medium including a computer readable program, where the computer readable program when executed on a computer causes the computer to:
- display a graphical user interface (GUI) container window comprising at least one container content control element that scrolls container content of the GUI container window;
- display, as a portion of the container content of the GUI container window, an encapsulated GUI component comprising an encapsulated content control element;
- detect an event associated with the encapsulated content control element of the encapsulated GUI component that changes a viewable area of the encapsulated GUI component;
- determine that the event associated with the encapsulated content control element of the encapsulated GUI component will result in at least a portion of the changed viewable area of the encapsulated GUI component extending outside of at least one boundary of a viewable area of the GUI container window;
- and
- adjust both the container content associated with the GUI container window and the encapsulated GUI component automatically, in response to determining that the at least the portion of the changed viewable area of the encapsulated GUI component would extend outside of the at least one boundary of the viewable area of the GUI container window, to display the at least the portion of the changed viewable area of the encapsulated GUI component within the at least one boundary of the viewable area of the GUI container window, where adjustment of the container content is controlled responsive to the detected event associated with the encapsulated content control element of the encapsulated GUI component.
Dependencies are inferred from the claim text.