1 7 package javax.swing.text.rtf; 8 9 import javax.swing.text.AttributeSet ; 10 import javax.swing.text.MutableAttributeSet ; 11 import java.io.IOException ; 12 13 17 interface RTFAttribute 18 { 19 static final int D_CHARACTER = 0; 20 static final int D_PARAGRAPH = 1; 21 static final int D_SECTION = 2; 22 static final int D_DOCUMENT = 3; 23 static final int D_META = 4; 24 25 27 28 public int domain(); 29 30 public Object swingName(); 31 32 public String rtfName(); 33 34 public boolean set(MutableAttributeSet target); 35 public boolean set(MutableAttributeSet target, int parameter); 36 37 public boolean setDefault(MutableAttributeSet target); 38 39 40 public boolean write(AttributeSet source, 41 RTFGenerator target, 42 boolean force) 43 throws IOException ; 44 45 public boolean writeValue(Object value, 46 RTFGenerator target, 47 boolean force) 48 throws IOException ; 49 } 50 | Popular Tags |