EP0944007A2

Method and apparatus for generating text components in a graphical user interface

Abstract

A graphical user interface (GUI) application executed on a computer system is provided that generates a text component in a graphical user interface (GUI). Initially, a user interface style is selected for the text component displayed on a GUI. This can be automatically selected by thc GUI application or a user. The GUI application then delegates implementation of the user interface style within the text component to a text user interface object and delegates implementation of a text editor within the text component to an editor kit object The editor kit object generates the text editor for the text component customized according to the type of text being edited. The text user interface object then displays the text component and the text editor with the selected user interface style.

EP0944007A2, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Projected expiry passed 24 February 2019, 7.6 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

15 claims: 10 independent, 5 dependent

  1. 1
    A method, executed on a computer processor, that generates a text component in an editor, comprising:receiving an indication to select a user interface style for the display of the text component;delegating implementation of the user interface style within the text component to a text user interface object and implementation of a text editor within the text component to an editor kit object;customizing the text editor for the text component with the editor kit object, wherein the editor is customized according to the type of text being edited;and displaying the text component and the customized text editor with the selected user interface style.
  2. 2
    The method in claim 1 wherein customizing the text editor further comprises:determining if the editor kit object is capable of customizing the editor according to the text type;and creating an a new editor kit object if the editor kit object cannot customize the editor, wherein the new editor kit object is capable of customizing the editor acording to text type.
  3. 4
    An apparatus configured to generate a text component in an editor, comprising:a processor;a memory having instructions executable on the processor that receives an indication to select a user interface style for the display of the text component, delegates an implementation of the user interface style within the text component to a text user interface object and implementation of a text editor within the text component to an editor kit object, customizes the text editor for the text component with the editor kit object, wherein the editor is customized according to the type of text being edited, and displays the text component and the customized text editor with the selected user interface style.
  4. 5
    The apparatus in claim 4 wherein instructions to generate the text editor further comprise instructions that,    determine if the editor kit object is capable of customizing the editor according to the text type and create an a new editor kit object if the editor kit object cannot customize the editor, wherein the new editor kit object is capable of customizing the editor according to the text type.
  5. 7
    A computer memory containing program code capable of configuring a data processor to generate a text component in an editor, the code having instructions for:receiving an indication to select a user interface style for the display of the text component;delegating implementation of the user interface style within the text component to a text user interface object and implementation of a text editor within the text component to an editor kit object;customizing the text editor for the text component with the editor kit object, wherein the editor is customized according to the type of text being edited;and displaying the text component and the customized text editor with the selected user interface style.
  6. 10
    An apparatus configured to generate a text component in an editor, comprising:means for receiving an indication to select a user interface style for the display of the text component;means for delegating implementation of the user interface style within the text component to a text user interface object and implementation of a text editor within the text component to an editor kit object;means for customizing the text editor for the text component with the editor kit object, wherein the editor is customized according to the type of text being edited;and means for displaying the text component and the customized text editor with the selected user interface style.
  7. 11
    A method, executed on a computer processor, that generates a text component used in an editor, comprising:receiving an indication to select a style from a set of styles to display the text component;receiving an indication to customize the text component based upon a type of text;and displaying the text component based on the selected style and type of text within the editor.
  8. 12
    The method in claim 11 wherein receiving an indication to select a style further comprises delegating implementation of the user interface style within the text component to a text user interface object
  9. 13
    The method in claim 11 wherein receiving an indication to customize a text component further comprises delegating implementation of the text component to an editor kit object corresponding to the type of text indicated.
  10. 14
    The method in claim 13 wherein delegating implementation of the text component to an editor kit object further comprises:determining if the editor kit object is capable of customizing the text component according to the text type;and creating an a new editor kit object if the editor kit object cannot customize the text component, wherein the new editor kit object is capable of customizing the text component according to the text type.