Example #1
0
 public void setPage(URL url) throws IOException {
   // If we haven't created a peer yet, force us to use a browser, since
   // setPage is really aimed at HTML.
   if (!SwingWTUtils.isSWTControlAvailable(editorPaneImpl.getSWTPeer())) {
     loadBrowserEditorPane();
   }
   editorPaneImpl.setPage(url);
 }
Example #2
0
 public void setSelectionColor(Color color) {
   editorPaneImpl.setSelectionColor(color);
 }
Example #3
0
 public void setEditorKit(EditorKit k) {
   editorPaneImpl.setEditorKit(k);
 }
Example #4
0
 public EditorKit getEditorKit() {
   return editorPaneImpl.getEditorKit();
 }
Example #5
0
 public int getSelectionEnd() {
   return editorPaneImpl.getSelectionEnd();
 }
Example #6
0
 public boolean isEditable() {
   return editorPaneImpl.isEditable();
 }
Example #7
0
 public void setText(String text) {
   editorPaneImpl.setText(text);
 }
Example #8
0
 /**
  * Once a parent component receives an "add" call for a child, this being the child, this should
  * be called to tell us to instantiate the peer and load in any cached properties.
  */
 public void setSwingWTParent(swingwt.awt.Container parent) throws Exception {
   descendantHasPeer = true;
   editorPaneImpl.setSwingWTParent(parent);
   peer = editorPaneImpl.getSWTPeer();
 }
Example #9
0
 public void removeHyperlinkListener(swingwtx.swing.event.HyperlinkListener l) {
   editorPaneImpl.removeHyperlinkListener(l);
 }
Example #10
0
 public void addHyperlinkListener(swingwtx.swing.event.HyperlinkListener l) {
   editorPaneImpl.addHyperlinkListener(l);
 }
Example #11
0
 public Document getDocument() {
   return editorPaneImpl.getDocument();
 }
Example #12
0
 public void setDocument(Document newdoc) {
   editorPaneImpl.setDocument(newdoc);
 }
Example #13
0
 public void setEditable(boolean b) {
   editorPaneImpl.setEditable(b);
 }
Example #14
0
 public Color getSelectionColor() {
   return editorPaneImpl.getSelectionColor();
 }
Example #15
0
 public void setCaretPosition(int pos) {
   editorPaneImpl.setCaretPosition(pos);
 }
Example #16
0
 public void scrollToReference(String reference) {
   editorPaneImpl.scrollToReference(reference);
 }
Example #17
0
 public int getCaretPosition() {
   return editorPaneImpl.getCaretPosition();
 }
Example #18
0
 public String getText() {
   return editorPaneImpl.getText();
 }
Example #19
0
 public int getSelectionStart() {
   return editorPaneImpl.getSelectionStart();
 }
Example #20
0
 public String getContentType() {
   return editorPaneImpl.getContentType();
 }
Example #21
0
 public void setContentType(String contentType) {
   editorPaneImpl.setContentType(contentType);
 }