コード例 #1
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 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
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setSelectionColor(Color color) {
   editorPaneImpl.setSelectionColor(color);
 }
コード例 #3
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setEditorKit(EditorKit k) {
   editorPaneImpl.setEditorKit(k);
 }
コード例 #4
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public EditorKit getEditorKit() {
   return editorPaneImpl.getEditorKit();
 }
コード例 #5
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public int getSelectionEnd() {
   return editorPaneImpl.getSelectionEnd();
 }
コード例 #6
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public boolean isEditable() {
   return editorPaneImpl.isEditable();
 }
コード例 #7
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setText(String text) {
   editorPaneImpl.setText(text);
 }
コード例 #8
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 /**
  * 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
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void removeHyperlinkListener(swingwtx.swing.event.HyperlinkListener l) {
   editorPaneImpl.removeHyperlinkListener(l);
 }
コード例 #10
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void addHyperlinkListener(swingwtx.swing.event.HyperlinkListener l) {
   editorPaneImpl.addHyperlinkListener(l);
 }
コード例 #11
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public Document getDocument() {
   return editorPaneImpl.getDocument();
 }
コード例 #12
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setDocument(Document newdoc) {
   editorPaneImpl.setDocument(newdoc);
 }
コード例 #13
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setEditable(boolean b) {
   editorPaneImpl.setEditable(b);
 }
コード例 #14
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public Color getSelectionColor() {
   return editorPaneImpl.getSelectionColor();
 }
コード例 #15
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setCaretPosition(int pos) {
   editorPaneImpl.setCaretPosition(pos);
 }
コード例 #16
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void scrollToReference(String reference) {
   editorPaneImpl.scrollToReference(reference);
 }
コード例 #17
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public int getCaretPosition() {
   return editorPaneImpl.getCaretPosition();
 }
コード例 #18
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public String getText() {
   return editorPaneImpl.getText();
 }
コード例 #19
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public int getSelectionStart() {
   return editorPaneImpl.getSelectionStart();
 }
コード例 #20
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public String getContentType() {
   return editorPaneImpl.getContentType();
 }
コード例 #21
0
ファイル: JEditorPane.java プロジェクト: witwall/SwingWT
 public void setContentType(String contentType) {
   editorPaneImpl.setContentType(contentType);
 }