1 19 package org.netbeans.api.editor.guards; 20 21 import javax.swing.text.Position ; 22 import org.netbeans.modules.editor.guards.InteriorSectionImpl; 23 24 29 public final class InteriorSection extends GuardedSection { 30 34 InteriorSection(InteriorSectionImpl impl) { 35 super(impl); 36 } 37 38 42 public void setBody(String text) { 43 getImpl().setBody(text); 44 } 45 46 51 public String getBody() { 52 return getImpl().getBody(); 53 } 54 55 59 public void setHeader(String text) { 60 getImpl().setHeader(text); 61 } 62 63 68 public String getHeader() { 69 return getImpl().getHeader(); 70 } 71 72 79 public void setFooter(String text) { 80 getImpl().setFooter(text); 81 } 82 83 88 public String getFooter() { 89 return getImpl().getFooter(); 90 } 91 92 96 public Position getBodyStartPosition() { 97 return getImpl().getBodyStartPosition(); 98 } 99 100 104 public Position getBodyEndPosition() { 105 return getImpl().getBodyEndPosition(); 106 } 107 108 InteriorSectionImpl getImpl() { 109 return (InteriorSectionImpl) super.getImpl(); 110 } 111 112 132 } 133 | Popular Tags |