A collection of well known or common attribute keys and methods to apply to an AttributeSet or MutableAttributeSet to get/set the properties in a typesafe manner.
The paragraph attributes form the definition of a paragraph to be rendered. All sizes are specified in points (such as found in postscript), a device independent measure.
A collection of well known or common attribute keys and methods to apply to an AttributeSet or MutableAttributeSet to get/set the properties in a typesafe manner. The paragraph attributes form the definition of a paragraph to be rendered. All sizes are specified in points (such as found in postscript), a device independent measure.
Static Constant.
A possible value for paragraph alignment. This specifies that the text is aligned to the center and extra whitespace should be placed equally on the left and right.
type: int
Static Constant. A possible value for paragraph alignment. This specifies that the text is aligned to the center and extra whitespace should be placed equally on the left and right. type: int
Static Constant.
A possible value for paragraph alignment. This specifies that extra whitespace should be spread out through the rows of the paragraph with the text lined up with the left and right indent except on the last line which should be aligned to the left.
type: int
Static Constant. A possible value for paragraph alignment. This specifies that extra whitespace should be spread out through the rows of the paragraph with the text lined up with the left and right indent except on the last line which should be aligned to the left. type: int
Static Constant.
A possible value for paragraph alignment. This specifies that the text is aligned to the left indent and extra whitespace should be placed on the right.
type: int
Static Constant. A possible value for paragraph alignment. This specifies that the text is aligned to the left indent and extra whitespace should be placed on the right. type: int
Static Constant.
A possible value for paragraph alignment. This specifies that the text is aligned to the right indent and extra whitespace should be placed on the left.
type: int
Static Constant. A possible value for paragraph alignment. This specifies that the text is aligned to the right indent and extra whitespace should be placed on the left. type: int
Static Constant.
Alignment for the paragraph. The type is Integer. Valid values are:
ALIGN_LEFT ALIGN_RIGHT ALIGN_CENTER ALIGN_JUSTIFED
type: java.lang.Object
Static Constant. Alignment for the paragraph. The type is Integer. Valid values are: ALIGN_LEFT ALIGN_RIGHT ALIGN_CENTER ALIGN_JUSTIFED type: java.lang.Object
Static Constant.
Name of the background color attribute.
type: java.lang.Object
Static Constant. Name of the background color attribute. type: java.lang.Object
Static Constant.
Bidirectional level of a character as assigned by the Unicode bidi algorithm.
type: java.lang.Object
Static Constant. Bidirectional level of a character as assigned by the Unicode bidi algorithm. type: java.lang.Object
Static Constant.
Name of the bold attribute.
type: java.lang.Object
Static Constant. Name of the bold attribute. type: java.lang.Object
Static Constant.
Name of the component attribute.
type: java.lang.Object
Static Constant. Name of the component attribute. type: java.lang.Object
Static Constant.
Name of elements used to represent components.
type: java.lang.String
Static Constant. Name of elements used to represent components. type: java.lang.String
Static Constant.
Name of the input method composed text attribute. The value of this attribute is an instance of AttributedString which represents the composed text.
type: java.lang.Object
Static Constant. Name of the input method composed text attribute. The value of this attribute is an instance of AttributedString which represents the composed text. type: java.lang.Object
Static Constant.
Name of the font family.
type: java.lang.Object
Static Constant. Name of the font family. type: java.lang.Object
Static Constant.
The amount of space to indent the first line of the paragraph. This value may be negative to offset in the reverse direction. The type is Float and specifies the size of the space in points.
type: java.lang.Object
Static Constant. The amount of space to indent the first line of the paragraph. This value may be negative to offset in the reverse direction. The type is Float and specifies the size of the space in points. type: java.lang.Object
Static Constant.
Name of the font family.
type: java.lang.Object
Static Constant. Name of the font family. type: java.lang.Object
Static Constant.
Name of the font size.
type: java.lang.Object
Static Constant. Name of the font size. type: java.lang.Object
Static Constant.
Name of the foreground color attribute.
type: java.lang.Object
Static Constant. Name of the foreground color attribute. type: java.lang.Object
Static Constant.
Name of the icon attribute.
type: java.lang.Object
Static Constant. Name of the icon attribute. type: java.lang.Object
Static Constant.
Name of elements used to represent icons.
type: java.lang.String
Static Constant. Name of elements used to represent icons. type: java.lang.String
Static Constant.
Name of the italic attribute.
type: java.lang.Object
Static Constant. Name of the italic attribute. type: java.lang.Object
Static Constant.
The amount to indent the left side of the paragraph. Type is float and specifies the size in points.
type: java.lang.Object
Static Constant. The amount to indent the left side of the paragraph. Type is float and specifies the size in points. type: java.lang.Object
Static Constant.
The amount of space between lines of the paragraph. Type is float and specifies the size as a factor of the line height
type: java.lang.Object
Static Constant. The amount of space between lines of the paragraph. Type is float and specifies the size as a factor of the line height type: java.lang.Object
Static Constant.
Attribute used to identify the model for embedded objects that have a model view separation.
type: java.lang.Object
Static Constant. Attribute used to identify the model for embedded objects that have a model view separation. type: java.lang.Object
Static Constant.
Attribute name used to name the collection of attributes.
type: java.lang.Object
Static Constant. Attribute name used to name the collection of attributes. type: java.lang.Object
Static Constant.
Orientation for a paragraph.
type: java.lang.Object
Static Constant. Orientation for a paragraph. type: java.lang.Object
Static Constant.
Attribute name used to identify the resolving parent set of attributes, if one is defined.
type: java.lang.Object
Static Constant. Attribute name used to identify the resolving parent set of attributes, if one is defined. type: java.lang.Object
Static Constant.
The amount to indent the right side of the paragraph. Type is float and specifies the size in points.
type: java.lang.Object
Static Constant. The amount to indent the right side of the paragraph. Type is float and specifies the size in points. type: java.lang.Object
Static Constant.
Name of the font size.
type: java.lang.Object
Static Constant. Name of the font size. type: java.lang.Object
Static Constant.
The amount of space above the paragraph. Type is float and specifies the size in points.
type: java.lang.Object
Static Constant. The amount of space above the paragraph. Type is float and specifies the size in points. type: java.lang.Object
Static Constant.
The amount of space below the paragraph. Type is float and specifies the size in points.
type: java.lang.Object
Static Constant. The amount of space below the paragraph. Type is float and specifies the size in points. type: java.lang.Object
Static Constant.
Name of the Strikethrough attribute.
type: java.lang.Object
Static Constant. Name of the Strikethrough attribute. type: java.lang.Object
Static Constant.
Name of the Subscript attribute.
type: java.lang.Object
Static Constant. Name of the Subscript attribute. type: java.lang.Object
Static Constant.
Name of the Superscript attribute.
type: java.lang.Object
Static Constant. Name of the Superscript attribute. type: java.lang.Object
Static Constant.
TabSet for the paragraph, type is a TabSet containing TabStops.
type: java.lang.Object
Static Constant. TabSet for the paragraph, type is a TabSet containing TabStops. type: java.lang.Object
Static Constant.
Name of the underline attribute.
type: java.lang.Object
Static Constant. Name of the underline attribute. type: java.lang.Object
(*bold? a)
Checks whether the bold attribute is set.
a - the attribute set - javax.swing.text.AttributeSet
returns: true if set else false - boolean
Checks whether the bold attribute is set. a - the attribute set - `javax.swing.text.AttributeSet` returns: true if set else false - `boolean`
(*get-alignment a)
Gets the alignment setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value StyleConstants.ALIGN_LEFT if not set - int
Gets the alignment setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value StyleConstants.ALIGN_LEFT if not set - `int`
(*get-background a)
Gets the background color setting from the attribute list.
a - the attribute set - javax.swing.text.AttributeSet
returns: the color, Color.black as the default - java.awt.Color
Gets the background color setting from the attribute list. a - the attribute set - `javax.swing.text.AttributeSet` returns: the color, Color.black as the default - `java.awt.Color`
(*get-bidi-level a)
Gets the BidiLevel setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value - int
Gets the BidiLevel setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value - `int`
(*get-component a)
Gets the component setting from the attribute list.
a - the attribute set - javax.swing.text.AttributeSet
returns: the component, null if none - java.awt.Component
Gets the component setting from the attribute list. a - the attribute set - `javax.swing.text.AttributeSet` returns: the component, null if none - `java.awt.Component`
(*get-first-line-indent a)
Gets the first line indent setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value, 0 if not set - float
Gets the first line indent setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value, 0 if not set - `float`
(*get-font-family a)
Gets the font family setting from the attribute list.
a - the attribute set - javax.swing.text.AttributeSet
returns: the font family, "Monospaced" as the default - java.lang.String
Gets the font family setting from the attribute list. a - the attribute set - `javax.swing.text.AttributeSet` returns: the font family, "Monospaced" as the default - `java.lang.String`
(*get-font-size a)
Gets the font size setting from the attribute list.
a - the attribute set - javax.swing.text.AttributeSet
returns: the font size, 12 as the default - int
Gets the font size setting from the attribute list. a - the attribute set - `javax.swing.text.AttributeSet` returns: the font size, 12 as the default - `int`
(*get-foreground a)
Gets the foreground color setting from the attribute list.
a - the attribute set - javax.swing.text.AttributeSet
returns: the color, Color.black as the default - java.awt.Color
Gets the foreground color setting from the attribute list. a - the attribute set - `javax.swing.text.AttributeSet` returns: the color, Color.black as the default - `java.awt.Color`
(*get-icon a)
Gets the icon setting from the attribute list.
a - the attribute set - javax.swing.text.AttributeSet
returns: the icon, null if none - javax.swing.Icon
Gets the icon setting from the attribute list. a - the attribute set - `javax.swing.text.AttributeSet` returns: the icon, null if none - `javax.swing.Icon`
(*get-left-indent a)
Gets the left indent setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value, 0 if not set - float
Gets the left indent setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value, 0 if not set - `float`
(*get-line-spacing a)
Gets the line spacing setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value, 0 if not set - float
Gets the line spacing setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value, 0 if not set - `float`
(*get-right-indent a)
Gets the right indent setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value, 0 if not set - float
Gets the right indent setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value, 0 if not set - `float`
(*get-space-above a)
Gets the space above setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value, 0 if not set - float
Gets the space above setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value, 0 if not set - `float`
(*get-space-below a)
Gets the space below setting.
a - the attribute set - javax.swing.text.AttributeSet
returns: the value, 0 if not set - float
Gets the space below setting. a - the attribute set - `javax.swing.text.AttributeSet` returns: the value, 0 if not set - `float`
(*get-tab-set a)
Gets the TabSet.
a - the attribute set - javax.swing.text.AttributeSet
returns: the TabSet - javax.swing.text.TabSet
Gets the TabSet. a - the attribute set - `javax.swing.text.AttributeSet` returns: the TabSet - `javax.swing.text.TabSet`
(*italic? a)
Checks whether the italic attribute is set.
a - the attribute set - javax.swing.text.AttributeSet
returns: true if set else false - boolean
Checks whether the italic attribute is set. a - the attribute set - `javax.swing.text.AttributeSet` returns: true if set else false - `boolean`
(*set-alignment a align)
Sets alignment.
a - the attribute set - javax.swing.text.MutableAttributeSet
align - the alignment value - int
Sets alignment. a - the attribute set - `javax.swing.text.MutableAttributeSet` align - the alignment value - `int`
(*set-background a fg)
Sets the background color.
a - the attribute set - javax.swing.text.MutableAttributeSet
fg - the color - java.awt.Color
Sets the background color. a - the attribute set - `javax.swing.text.MutableAttributeSet` fg - the color - `java.awt.Color`
(*set-bidi-level a o)
Sets the BidiLevel.
a - the attribute set - javax.swing.text.MutableAttributeSet
o - the bidi level value - int
Sets the BidiLevel. a - the attribute set - `javax.swing.text.MutableAttributeSet` o - the bidi level value - `int`
(*set-bold a b)
Sets the bold attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
b - specifies true/false for setting the attribute - boolean
Sets the bold attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` b - specifies true/false for setting the attribute - `boolean`
(*set-component a c)
Sets the component attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
c - the component - java.awt.Component
Sets the component attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` c - the component - `java.awt.Component`
(*set-first-line-indent a i)
Sets the first line indent.
a - the attribute set - javax.swing.text.MutableAttributeSet
i - the value - float
Sets the first line indent. a - the attribute set - `javax.swing.text.MutableAttributeSet` i - the value - `float`
(*set-font-family a fam)
Sets the font attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
fam - the font - java.lang.String
Sets the font attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` fam - the font - `java.lang.String`
(*set-font-size a s)
Sets the font size attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
s - the font size - int
Sets the font size attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` s - the font size - `int`
(*set-foreground a fg)
Sets the foreground color.
a - the attribute set - javax.swing.text.MutableAttributeSet
fg - the color - java.awt.Color
Sets the foreground color. a - the attribute set - `javax.swing.text.MutableAttributeSet` fg - the color - `java.awt.Color`
(*set-icon a c)
Sets the icon attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
c - the icon - javax.swing.Icon
Sets the icon attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` c - the icon - `javax.swing.Icon`
(*set-italic a b)
Sets the italic attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
b - specifies true/false for setting the attribute - boolean
Sets the italic attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` b - specifies true/false for setting the attribute - `boolean`
(*set-left-indent a i)
Sets left indent.
a - the attribute set - javax.swing.text.MutableAttributeSet
i - the value - float
Sets left indent. a - the attribute set - `javax.swing.text.MutableAttributeSet` i - the value - `float`
(*set-line-spacing a i)
Sets line spacing.
a - the attribute set - javax.swing.text.MutableAttributeSet
i - the value - float
Sets line spacing. a - the attribute set - `javax.swing.text.MutableAttributeSet` i - the value - `float`
(*set-right-indent a i)
Sets right indent.
a - the attribute set - javax.swing.text.MutableAttributeSet
i - the value - float
Sets right indent. a - the attribute set - `javax.swing.text.MutableAttributeSet` i - the value - `float`
(*set-space-above a i)
Sets space above.
a - the attribute set - javax.swing.text.MutableAttributeSet
i - the value - float
Sets space above. a - the attribute set - `javax.swing.text.MutableAttributeSet` i - the value - `float`
(*set-space-below a i)
Sets space below.
a - the attribute set - javax.swing.text.MutableAttributeSet
i - the value - float
Sets space below. a - the attribute set - `javax.swing.text.MutableAttributeSet` i - the value - `float`
(*set-strike-through a b)
Sets the strikethrough attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
b - specifies true/false for setting the attribute - boolean
Sets the strikethrough attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` b - specifies true/false for setting the attribute - `boolean`
(*set-subscript a b)
Sets the subscript attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
b - specifies true/false for setting the attribute - boolean
Sets the subscript attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` b - specifies true/false for setting the attribute - `boolean`
(*set-superscript a b)
Sets the superscript attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
b - specifies true/false for setting the attribute - boolean
Sets the superscript attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` b - specifies true/false for setting the attribute - `boolean`
(*set-tab-set a tabs)
Sets the TabSet.
a - the attribute set. - javax.swing.text.MutableAttributeSet
tabs - the TabSet - javax.swing.text.TabSet
Sets the TabSet. a - the attribute set. - `javax.swing.text.MutableAttributeSet` tabs - the TabSet - `javax.swing.text.TabSet`
(*set-underline a b)
Sets the underline attribute.
a - the attribute set - javax.swing.text.MutableAttributeSet
b - specifies true/false for setting the attribute - boolean
Sets the underline attribute. a - the attribute set - `javax.swing.text.MutableAttributeSet` b - specifies true/false for setting the attribute - `boolean`
(*strike-through? a)
Checks whether the strikethrough attribute is set.
a - the attribute set - javax.swing.text.AttributeSet
returns: true if set else false - boolean
Checks whether the strikethrough attribute is set. a - the attribute set - `javax.swing.text.AttributeSet` returns: true if set else false - `boolean`
(*subscript? a)
Checks whether the subscript attribute is set.
a - the attribute set - javax.swing.text.AttributeSet
returns: true if set else false - boolean
Checks whether the subscript attribute is set. a - the attribute set - `javax.swing.text.AttributeSet` returns: true if set else false - `boolean`
(*superscript? a)
Checks whether the superscript attribute is set.
a - the attribute set - javax.swing.text.AttributeSet
returns: true if set else false - boolean
Checks whether the superscript attribute is set. a - the attribute set - `javax.swing.text.AttributeSet` returns: true if set else false - `boolean`
(*underline? a)
Checks whether the underline attribute is set.
a - the attribute set - javax.swing.text.AttributeSet
returns: true if set else false - boolean
Checks whether the underline attribute is set. a - the attribute set - `javax.swing.text.AttributeSet` returns: true if set else false - `boolean`
(to-string this)
Returns the string representation.
returns: the string - java.lang.String
Returns the string representation. returns: the string - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close