Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/gendiapo/editor/document/GenDiapoEditorPaneUI.java


1   package org.gendiapo.editor.document;
2   
3   import java.awt.*;
4   import java.awt.event.*;
5   import java.beans.*;
6   import java.net.URL;
7   import java.net.MalformedURLException;
8   import javax.swing.*;
9   import javax.swing.text.*;
10  import javax.swing.plaf.*;
11  import javax.swing.plaf.basic.*;
12  import javax.swing.border.*;
13  
14  
15  public class GenDiapoEditorPaneUI extends BasicEditorPaneUI {        
16  
17  
18      public GenDiapoEditorPaneUI() {
19    super();
20      }
21  
22      protected Highlighter createHighlighter() {
23    return new GenDiapoHighlighter();
24      }
25      
26      /**
27       * there's not common model for GenDiapoDocument & MerlotDOMNode
28       * so GD_StyledView need to sync with other view
29       * This is done with modelChanged()
30       */
31      public void modelChanged() {
32    super.modelChanged();
33      }
34  
35      /*
36        protected Caret createCaret() {
37        return new GenDiapoCaret();
38        } 
39      */  
40  
41  }