javax.swing.text.rtf
Class RTFAttributes.BooleanAttribute
java.lang.Object
javax.swing.text.rtf.RTFAttributes.GenericAttribute
javax.swing.text.rtf.RTFAttributes.BooleanAttribute
- All Implemented Interfaces:
- RTFAttribute
- Enclosing class:
- RTFAttributes
- static class RTFAttributes.BooleanAttribute
- extends RTFAttributes.GenericAttribute
- implements RTFAttribute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rtfDefault
boolean rtfDefault
swingDefault
boolean swingDefault
True
protected static final Boolean True
False
protected static final Boolean False
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
int domain
swingName
Object swingName
rtfName
String rtfName
RTFAttributes.BooleanAttribute
public RTFAttributes.BooleanAttribute(int d,
Object s,
String r,
boolean ds,
boolean dr)
RTFAttributes.BooleanAttribute
public RTFAttributes.BooleanAttribute(int d,
Object s,
String r)
set
public boolean set(MutableAttributeSet target)
- Specified by:
set
in interface RTFAttribute
- Specified by:
set
in class RTFAttributes.GenericAttribute
set
public boolean set(MutableAttributeSet target,
int parameter)
- Specified by:
set
in interface RTFAttribute
- Specified by:
set
in class RTFAttributes.GenericAttribute
setDefault
public boolean setDefault(MutableAttributeSet target)
- Specified by:
setDefault
in interface RTFAttribute
- Specified by:
setDefault
in class RTFAttributes.GenericAttribute
writeValue
public boolean writeValue(Object o_value,
RTFGenerator target,
boolean force)
throws IOException
- Specified by:
writeValue
in interface RTFAttribute
- Overrides:
writeValue
in class RTFAttributes.GenericAttribute
- Throws:
IOException
domain
public int domain()
swingName
public Object swingName()
rtfName
public String rtfName()
write
public boolean write(AttributeSet source,
RTFGenerator target,
boolean force)
throws IOException
- Throws:
IOException