Liking cljdoc? Tell your friends :D

javax.swing.text.DefaultStyledDocument$ElementSpec

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.
raw docstring

*-content-typeclj

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
raw docstring

*-end-tag-typeclj

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
raw docstring

*-join-fracture-directionclj

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
raw docstring

*-join-next-directionclj

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
raw docstring

*-join-previous-directionclj

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
raw docstring

*-originate-directionclj

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
raw docstring

*-start-tag-typeclj

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
raw docstring

->element-specclj

(->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`
raw docstring

get-arrayclj

(get-array this)

Gets the array of characters.

returns: the array - char[]

Gets the array of characters.

returns: the array - `char[]`
raw docstring

get-attributesclj

(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`
raw docstring

get-directionclj

(get-direction this)

Gets the direction.

returns: the direction (JoinPreviousDirection, JoinNextDirection) - short

Gets the direction.

returns: the direction (JoinPreviousDirection, JoinNextDirection) - `short`
raw docstring

get-lengthclj

(get-length this)

Gets the length.

returns: the length >= 0 - int

Gets the length.

returns: the length >= 0 - `int`
raw docstring

get-offsetclj

(get-offset this)

Gets the starting offset.

returns: the offset >= 0 - int

Gets the starting offset.

returns: the offset >= 0 - `int`
raw docstring

get-typeclj

(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`
raw docstring

set-directionclj

(set-direction this direction)

Sets the direction.

direction - the direction (JoinPreviousDirection, JoinNextDirection) - short

Sets the direction.

direction - the direction (JoinPreviousDirection, JoinNextDirection) - `short`
raw docstring

set-typeclj

(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`
raw docstring

to-stringclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close