classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Reformatted JTextPane


From: Roman Kennke
Subject: [cp-patches] FYI: Reformatted JTextPane
Date: Wed, 27 Jul 2005 17:03:05 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

2005-07-27  Roman Kennke  <address@hidden>

        * javax/swing/JTextPane.java:
        Reformatted file to match our coding style.

/Roman
Index: javax/swing/JTextPane.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JTextPane.java,v
retrieving revision 1.6
diff -u -r1.6 JTextPane.java
--- javax/swing/JTextPane.java  27 Jul 2005 14:56:54 -0000      1.6
+++ javax/swing/JTextPane.java  27 Jul 2005 15:01:47 -0000
@@ -53,219 +53,251 @@
 
 /**
  * JTextPane
- * @author     Andrew Selkirk
- * @version    1.0
+ *
+ * @author Andrew Selkirk
  */
-public class JTextPane extends JEditorPane {
-
-       //-------------------------------------------------------------
-       // Variables --------------------------------------------------
-       //-------------------------------------------------------------
-
-       /**
-        * uiClassID
-        */
-       private static final String uiClassID = "TextPaneUI";
-
-
-       //-------------------------------------------------------------
-       // Initialization ---------------------------------------------
-       //-------------------------------------------------------------
-
-       /**
-        * Constructor JTextPane
-        */
-       public JTextPane() {
-               // TODO
-       } // JTextPane()
-
-       /**
-        * Constructor JTextPane
-        * @param document TODO
-        */
-       public JTextPane(StyledDocument document) {
-               // TODO
-       } // JTextPane()
-
-
-       //-------------------------------------------------------------
-       // Methods ----------------------------------------------------
-       //-------------------------------------------------------------
-
-       /**
-        * getUIClassID
-        * @returns String
-        */
-       public String getUIClassID() {
-               return uiClassID;
-       } // getUIClassID()
-
-       /**
-        * setDocument
-        * @param document TODO
-        */
-       public void setDocument(Document document) {
-               super.setDocument(document); // TODO
-       } // setDocument()
-
-       /**
-        * getStyledDocument
-        * @returns StyledDocument
-        */
-       public StyledDocument getStyledDocument() {
-               return null; // TODO
-       } // getStyledDocument()
-
-       /**
-        * setStyledDocument
-        * @param document TODO
-        */
-       public void setStyledDocument(StyledDocument document) {
-               // TODO
-       } // setStyledDocument()
-
-       /**
-        * replaceSelection
-        * @param content TODO
-        */
-       public void replaceSelection(String content) {
-               super.replaceSelection(content); // TODO
-       } // replaceSelection()
-
-       /**
-        * insertComponent
-        * @param component TODO
-        */
-       public void insertComponent(Component component) {
-               // TODO
-       } // insertComponent()
-
-       /**
-        * insertIcon
-        * @param icon TODO
-        */
-       public void insertIcon(Icon icon) {
-               // TODO
-       } // insertIcon()
-
-       /**
-        * addStyle
-        * @param nm TODO
-        * @param parent TODO
-        * @returns Style
-        */
-       public Style addStyle(String nm, Style parent) {
-               return null; // TODO
-       } // addStyle()
-
-       /**
-        * removeStyle
-        * @param nm TODO
-        */
-       public void removeStyle(String nm) {
-               // TODO
-       } // removeStyle()
-
-       /**
-        * getStyle
-        * @param nm TODO
-        * @returns Style
-        */
-       public Style getStyle(String nm) {
-               return null; // TODO
-       } // getStyle()
-
-       /**
-        * getLogicalStyle
-        * @returns Style
-        */
-       public Style getLogicalStyle() {
-               return null; // TODO
-       } // getLogicalStyle()
-
-       /**
-        * setLogicalStyle
-        * @param style TODO
-        */
-       public void setLogicalStyle(Style style) {
-               // TODO
-       } // setLogicalStyle()
-
-       /**
-        * getCharacterAttributes
-        * @returns AttributeSet
-        */
-       public AttributeSet getCharacterAttributes() {
-          return SimpleAttributeSet.EMPTY; // TODO
-       } // getCharacterAttributes()
-
-       /**
-        * setCharacterAttributes
-        * @param attribute TODO
-        * @param replace TODO
-        */
-       public void setCharacterAttributes(AttributeSet attribute,
-                       boolean replace) {
-               // TODO
-       } // setCharacterAttributes()
-
-       /**
-        * getParagraphAttributes
-        * @returns AttributeSet
-        */
-       public AttributeSet getParagraphAttributes() {
-               return null; // TODO
-       } // getParagraphAttributes()
-
-       /**
-        * setParagraphAttributes
-        * @param attribute TODO
-        * @param replace TODO
-        */
-       public void setParagraphAttributes(AttributeSet attribute,
-                       boolean replace) {
-               // TODO
-       } // setParagraphAttributes()
-
-       /**
-        * getInputAttributes
-        * @returns MutableAttributeSet
-        */
-       public MutableAttributeSet getInputAttributes() {
-               return null; // TODO
-       } // getInputAttributes()
-
-       /**
-        * getStyledEditorKit
-        * @returns StyledEditorKit
-        */
-       protected final StyledEditorKit getStyledEditorKit() {
-               return null; // TODO
-       } // getStyledEditorKit()
-
-       /**
-        * createDefaultEditorKit
-        * @returns EditorKit
-        */
-       protected EditorKit createDefaultEditorKit() {
-               return super.createDefaultEditorKit(); // TODO
-       } // createDefaultEditorKit()
-
-       /**
-        * setEditorKit
-        * @param editor TODO
-        */
-       public final void setEditorKit(EditorKit editor) {
-               super.setEditorKit(editor); // TODO
-       } // setEditorKit()
-
-       /**
-        * paramString
-        * @returns String
-        */
-       protected String paramString() {
-               return super.paramString(); // TODO
-       } // paramString()
-
-
-} // JTextPane
+public class JTextPane
+  extends JEditorPane
+{
+  /**
+   * uiClassID
+   */
+  private static final String uiClassID = "TextPaneUI";
+
+  /**
+   * Constructor JTextPane
+   */
+  public JTextPane()
+  {
+    // TODO
+  }
+
+  /**
+   * Constructor JTextPane
+   *
+   * @param document TODO
+   */
+  public JTextPane(StyledDocument document)
+  {
+    // TODO
+  }
+
+  /**
+   * getUIClassID
+   *
+   * @returns String
+   */
+  public String getUIClassID()
+  {
+    return uiClassID;
+  }
+
+  /**
+   * setDocument
+   *
+   * @param document TODO
+   */
+  public void setDocument(Document document)
+  {
+    super.setDocument(document); // TODO
+  }
+
+  /**
+   * getStyledDocument
+   *
+   * @returns StyledDocument
+   */
+  public StyledDocument getStyledDocument()
+  {
+    return null; // TODO
+  }
+
+  /**
+   * setStyledDocument
+   *
+   * @param document TODO
+   */
+  public void setStyledDocument(StyledDocument document)
+  {
+    // TODO
+  }
+
+  /**
+   * replaceSelection
+   *
+   * @param content TODO
+   */
+  public void replaceSelection(String content)
+  {
+    super.replaceSelection(content); // TODO
+  }
+
+  /**
+   * insertComponent
+   *
+   * @param component TODO
+   */
+  public void insertComponent(Component component)
+  {
+    // TODO
+  }
+
+  /**
+   * insertIcon
+   *
+   * @param icon TODO
+   */
+  public void insertIcon(Icon icon)
+  {
+    // TODO
+  }
+
+  /**
+   * addStyle
+   *
+   * @param nm TODO
+   * @param parent TODO
+   *
+   * @returns Style
+   */
+  public Style addStyle(String nm, Style parent)
+  {
+    return null; // TODO
+  }
+
+  /**
+   * removeStyle
+   *
+   * @param nm TODO
+   */
+  public void removeStyle(String nm)
+  {
+    // TODO
+  }
+
+  /**
+   * getStyle
+   *
+   * @param nm TODO
+   *
+   * @returns Style
+   */
+  public Style getStyle(String nm)
+  {
+    return null; // TODO
+  }
+
+  /**
+   * getLogicalStyle
+   *
+   * @returns Style
+   */
+  public Style getLogicalStyle()
+  {
+    return null; // TODO
+  }
+
+  /**
+   * setLogicalStyle
+   *
+   * @param style TODO
+   */
+  public void setLogicalStyle(Style style)
+  {
+    // TODO
+  }
+
+  /**
+   * getCharacterAttributes
+   *
+   * @returns AttributeSet
+   */
+  public AttributeSet getCharacterAttributes()
+  {
+    return SimpleAttributeSet.EMPTY; // TODO
+  }
+
+  /**
+   * setCharacterAttributes
+   *
+   * @param attribute TODO
+   * @param replace TODO
+   */
+  public void setCharacterAttributes(AttributeSet attribute,
+                                     boolean replace)
+  {
+    // TODO
+  }
+
+  /**
+   * getParagraphAttributes
+   *
+   * @returns AttributeSet
+   */
+  public AttributeSet getParagraphAttributes()
+  {
+    return null; // TODO
+  }
+
+  /**
+   * setParagraphAttributes
+   *
+   * @param attribute TODO
+   * @param replace TODO
+   */
+  public void setParagraphAttributes(AttributeSet attribute,
+                                     boolean replace)
+  {
+    // TODO
+  }
+
+  /**
+   * getInputAttributes
+   *
+   * @returns MutableAttributeSet
+   */
+  public MutableAttributeSet getInputAttributes()
+  {
+    return null; // TODO
+  }
+
+  /**
+   * getStyledEditorKit
+   *
+   * @returns StyledEditorKit
+   */
+  protected final StyledEditorKit getStyledEditorKit()
+  {
+    return null; // TODO
+  }
+
+  /**
+   * createDefaultEditorKit
+   *
+   * @returns EditorKit
+   */
+  protected EditorKit createDefaultEditorKit()
+  {
+    return super.createDefaultEditorKit(); // TODO
+  }
+
+  /**
+   * setEditorKit
+   *
+   * @param editor TODO
+   */
+  public final void setEditorKit(EditorKit editor)
+  {
+    super.setEditorKit(editor); // TODO
+  }
+
+  /**
+   * paramString
+   *
+   * @returns String
+   */
+  protected String paramString()
+  {
+    return super.paramString(); // TODO
+  }
+}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]