javax.swing.text.rtf
Class RTFAttributes.AssertiveAttribute

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

static class RTFAttributes.AssertiveAttribute
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
           
(package private)  String rtfName
           
(package private)  Object swingName
           
(package private)  Object swingValue
           
 
Constructor Summary
RTFAttributes.AssertiveAttribute(int d, Object s, String r)
           
RTFAttributes.AssertiveAttribute(int d, Object s, String r, int v)
           
RTFAttributes.AssertiveAttribute(int d, Object s, String r, Object v)
           
 
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 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

swingValue

Object swingValue

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.AssertiveAttribute

public RTFAttributes.AssertiveAttribute(int d,
                                        Object s,
                                        String r)

RTFAttributes.AssertiveAttribute

public RTFAttributes.AssertiveAttribute(int d,
                                        Object s,
                                        String r,
                                        Object v)

RTFAttributes.AssertiveAttribute

public RTFAttributes.AssertiveAttribute(int d,
                                        Object s,
                                        String r,
                                        int v)
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 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