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