javax.swing.text.rtf
Class RTFAttributes.BooleanAttribute

java.lang.Object
  extended byjavax.swing.text.rtf.RTFAttributes.GenericAttribute
      extended byjavax.swing.text.rtf.RTFAttributes.BooleanAttribute
All Implemented Interfaces:
RTFAttribute
Enclosing class:
RTFAttributes

static class RTFAttributes.BooleanAttribute
extends RTFAttributes.GenericAttribute
implements RTFAttribute


Field Summary
static int D_CHARACTER
           
static int D_DOCUMENT
           
static int D_META
           
static int D_PARAGRAPH
           
static int D_SECTION
           
(package private)  int domain
           
protected static Boolean False
           
(package private)  boolean rtfDefault
           
(package private)  String rtfName
           
(package private)  boolean swingDefault
           
(package private)  Object swingName
           
protected static Boolean True
           
 
Constructor Summary
RTFAttributes.BooleanAttribute(int d, Object s, String r)
           
RTFAttributes.BooleanAttribute(int d, Object s, String r, boolean ds, boolean dr)
           
 
Method Summary
 int domain()
           
 String rtfName()
           
 boolean set(MutableAttributeSet target)
           
 boolean set(MutableAttributeSet target, int parameter)
           
 boolean setDefault(MutableAttributeSet target)
           
 Object swingName()
           
 boolean write(AttributeSet source, RTFGenerator target, boolean force)
           
 boolean writeValue(Object o_value, RTFGenerator target, boolean force)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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