Beispiel #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);
 }
Beispiel #2
0
 public void setSelectionColor(Color color) {
   editorPaneImpl.setSelectionColor(color);
 }
Beispiel #3
0
 public void setEditorKit(EditorKit k) {
   editorPaneImpl.setEditorKit(k);
 }
Beispiel #4
0
 public EditorKit getEditorKit() {
   return editorPaneImpl.getEditorKit();
 }
Beispiel #5
0
 public int getSelectionEnd() {
   return editorPaneImpl.getSelectionEnd();
 }
Beispiel #6
0
 public boolean isEditable() {
   return editorPaneImpl.isEditable();
 }
Beispiel #7
0
 public void setText(String text) {
   editorPaneImpl.setText(text);
 }
Beispiel #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();
 }
Beispiel #9
0
 public void removeHyperlinkListener(swingwtx.swing.event.HyperlinkListener l) {
   editorPaneImpl.removeHyperlinkListener(l);
 }
Beispiel #10
0
 public void addHyperlinkListener(swingwtx.swing.event.HyperlinkListener l) {
   editorPaneImpl.addHyperlinkListener(l);
 }
Beispiel #11
0
 public Document getDocument() {
   return editorPaneImpl.getDocument();
 }
Beispiel #12
0
 public void setDocument(Document newdoc) {
   editorPaneImpl.setDocument(newdoc);
 }
Beispiel #13
0
 public void setEditable(boolean b) {
   editorPaneImpl.setEditable(b);
 }
Beispiel #14
0
 public Color getSelectionColor() {
   return editorPaneImpl.getSelectionColor();
 }
Beispiel #15
0
 public void setCaretPosition(int pos) {
   editorPaneImpl.setCaretPosition(pos);
 }
Beispiel #16
0
 public void scrollToReference(String reference) {
   editorPaneImpl.scrollToReference(reference);
 }
Beispiel #17
0
 public int getCaretPosition() {
   return editorPaneImpl.getCaretPosition();
 }
Beispiel #18
0
 public String getText() {
   return editorPaneImpl.getText();
 }
Beispiel #19
0
 public int getSelectionStart() {
   return editorPaneImpl.getSelectionStart();
 }
Beispiel #20
0
 public String getContentType() {
   return editorPaneImpl.getContentType();
 }
Beispiel #21
0
 public void setContentType(String contentType) {
   editorPaneImpl.setContentType(contentType);
 }