Specification for building elements.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
Specification for building elements. Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
Static Constant.
A possible value for getType. This specifies that this record type represents content.
type: short
Static Constant. A possible value for getType. This specifies that this record type represents content. type: short
Static Constant.
A possible value for getType. This specifies that this record type is a end tag and represents markup that specifies the end of an element.
type: short
Static Constant. A possible value for getType. This specifies that this record type is a end tag and represents markup that specifies the end of an element. type: short
Static Constant.
A possible value for getDirection. This specifies that the data associated with this record should be joined to the fractured element.
type: short
Static Constant. A possible value for getDirection. This specifies that the data associated with this record should be joined to the fractured element. type: short
Static Constant.
A possible value for getDirection. This specifies that the data associated with this record should be joined to what follows it.
type: short
Static Constant. A possible value for getDirection. This specifies that the data associated with this record should be joined to what follows it. type: short
Static Constant.
A possible value for getDirection. This specifies that the data associated with this record should be joined to what precedes it.
type: short
Static Constant. A possible value for getDirection. This specifies that the data associated with this record should be joined to what precedes it. type: short
Static Constant.
A possible value for getDirection. This specifies that the data associated with this record should be used to originate a new element. This would be the normal value.
type: short
Static Constant. A possible value for getDirection. This specifies that the data associated with this record should be used to originate a new element. This would be the normal value. type: short
Static Constant.
A possible value for getType. This specifies that this record type is a start tag and represents markup that specifies the start of an element.
type: short
Static Constant. A possible value for getType. This specifies that this record type is a start tag and represents markup that specifies the start of an element. type: short
(->element-spec a type)
(->element-spec a type len)
(->element-spec a type txt offs len)
Constructor.
Constructor for creating a spec externally for batch input of content and markup into the document.
a - the attributes for the element - javax.swing.text.AttributeSet
type - the type of the element (StartTagType, EndTagType, ContentType) - short
txt - the text for the element - char[]
offs - the offset into the text >= 0 - int
len - the length of the text >= 0 - int
Constructor. Constructor for creating a spec externally for batch input of content and markup into the document. a - the attributes for the element - `javax.swing.text.AttributeSet` type - the type of the element (StartTagType, EndTagType, ContentType) - `short` txt - the text for the element - `char[]` offs - the offset into the text >= 0 - `int` len - the length of the text >= 0 - `int`
(get-array this)
Gets the array of characters.
returns: the array - char[]
Gets the array of characters. returns: the array - `char[]`
(get-attributes this)
Gets the element attributes.
returns: the attribute set - javax.swing.text.AttributeSet
Gets the element attributes. returns: the attribute set - `javax.swing.text.AttributeSet`
(get-direction this)
Gets the direction.
returns: the direction (JoinPreviousDirection, JoinNextDirection) - short
Gets the direction. returns: the direction (JoinPreviousDirection, JoinNextDirection) - `short`
(get-length this)
Gets the length.
returns: the length >= 0 - int
Gets the length. returns: the length >= 0 - `int`
(get-offset this)
Gets the starting offset.
returns: the offset >= 0 - int
Gets the starting offset. returns: the offset >= 0 - `int`
(get-type this)
Gets the element type.
returns: the type of the element (StartTagType, EndTagType,
ContentType) - short
Gets the element type. returns: the type of the element (StartTagType, EndTagType, ContentType) - `short`
(set-direction this direction)
Sets the direction.
direction - the direction (JoinPreviousDirection, JoinNextDirection) - short
Sets the direction. direction - the direction (JoinPreviousDirection, JoinNextDirection) - `short`
(set-type this type)
Sets the element type.
type - the type of the element (StartTagType, EndTagType, ContentType) - short
Sets the element type. type - the type of the element (StartTagType, EndTagType, ContentType) - `short`
(to-string this)
Converts the element to a string.
returns: the string - java.lang.String
Converts the element to a string. returns: the string - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close