javax.swing.text.rtf
Interface RTFAttribute
- All Known Implementing Classes:
- RTFAttributes.AssertiveAttribute, RTFAttributes.BooleanAttribute, RTFAttributes.NumericAttribute
- interface RTFAttribute
This interface describes a class which defines a 1-1 mapping between
an RTF keyword and a SwingText attribute.
D_CHARACTER
public static final int D_CHARACTER
- See Also:
- Constant Field Values
D_PARAGRAPH
public static final int D_PARAGRAPH
- See Also:
- Constant Field Values
D_SECTION
public static final int D_SECTION
- See Also:
- Constant Field Values
D_DOCUMENT
public static final int D_DOCUMENT
- See Also:
- Constant Field Values
D_META
public static final int D_META
- See Also:
- Constant Field Values
domain
public int domain()
swingName
public Object swingName()
rtfName
public String rtfName()
set
public boolean set(MutableAttributeSet target)
set
public boolean set(MutableAttributeSet target,
int parameter)
setDefault
public boolean setDefault(MutableAttributeSet target)
write
public boolean write(AttributeSet source,
RTFGenerator target,
boolean force)
throws IOException
- Throws:
IOException
writeValue
public boolean writeValue(Object value,
RTFGenerator target,
boolean force)
throws IOException
- Throws:
IOException