Package com.nokia.mid.ui

Examples of com.nokia.mid.ui.TextEditor


        g.setColor(0xFFFFFF);
        g.fillRect(0, 0, 300, 300);
       
      }
    };
    TextEditor editor = TextEditor.createTextEditor(10, 0, 100, 1);
    editor.setParent(c);
    Display d = Display.getDisplay(this);
    d.setCurrent(c);
    editor.setFocus(true);
    editor.setPosition(10, 10);
    editor.setSize(100, 30);
    editor.setFont(Font.getDefaultFont());
    editor.setBackgroundColor(0xff);
    editor.setForegroundColor(0);
    editor.setVisible(true);
    editor.setContent("test");
    editor.insert("a", 2);
    editor.setCaret(2);
    System.out.println(editor.getLineMarginHeight());
  }
View Full Code Here

TOP

Related Classes of com.nokia.mid.ui.TextEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.