Liking cljdoc? Tell your friends :D

javax.swing.text.StyleConstants

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

*-align-centerclj

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

*-align-justifiedclj

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

*-align-leftclj

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

*-align-rightclj

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

*-alignmentclj

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

*-backgroundclj

Static Constant.

Name of the background color attribute.

type: java.lang.Object

Static Constant.

Name of the background color attribute.

type: java.lang.Object
raw docstring

*-bidi-levelclj

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

*-boldclj

Static Constant.

Name of the bold attribute.

type: java.lang.Object

Static Constant.

Name of the bold attribute.

type: java.lang.Object
raw docstring

*-component-attributeclj

Static Constant.

Name of the component attribute.

type: java.lang.Object

Static Constant.

Name of the component attribute.

type: java.lang.Object
raw docstring

*-component-element-nameclj

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

*-composed-text-attributeclj

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

*-familyclj

Static Constant.

Name of the font family.

type: java.lang.Object

Static Constant.

Name of the font family.

type: java.lang.Object
raw docstring

*-first-line-indentclj

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

*-font-familyclj

Static Constant.

Name of the font family.

type: java.lang.Object

Static Constant.

Name of the font family.

type: java.lang.Object
raw docstring

*-font-sizeclj

Static Constant.

Name of the font size.

type: java.lang.Object

Static Constant.

Name of the font size.

type: java.lang.Object
raw docstring

*-foregroundclj

Static Constant.

Name of the foreground color attribute.

type: java.lang.Object

Static Constant.

Name of the foreground color attribute.

type: java.lang.Object
raw docstring

*-icon-attributeclj

Static Constant.

Name of the icon attribute.

type: java.lang.Object

Static Constant.

Name of the icon attribute.

type: java.lang.Object
raw docstring

*-icon-element-nameclj

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

*-italicclj

Static Constant.

Name of the italic attribute.

type: java.lang.Object

Static Constant.

Name of the italic attribute.

type: java.lang.Object
raw docstring

*-left-indentclj

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

*-line-spacingclj

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

*-model-attributeclj

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

*-name-attributeclj

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

*-orientationclj

Static Constant.

Orientation for a paragraph.

type: java.lang.Object

Static Constant.

Orientation for a paragraph.

type: java.lang.Object
raw docstring

*-resolve-attributeclj

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

*-right-indentclj

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

*-sizeclj

Static Constant.

Name of the font size.

type: java.lang.Object

Static Constant.

Name of the font size.

type: java.lang.Object
raw docstring

*-space-aboveclj

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

*-space-belowclj

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

*-strike-throughclj

Static Constant.

Name of the Strikethrough attribute.

type: java.lang.Object

Static Constant.

Name of the Strikethrough attribute.

type: java.lang.Object
raw docstring

*-subscriptclj

Static Constant.

Name of the Subscript attribute.

type: java.lang.Object

Static Constant.

Name of the Subscript attribute.

type: java.lang.Object
raw docstring

*-superscriptclj

Static Constant.

Name of the Superscript attribute.

type: java.lang.Object

Static Constant.

Name of the Superscript attribute.

type: java.lang.Object
raw docstring

*-tab-setclj

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

*-underlineclj

Static Constant.

Name of the underline attribute.

type: java.lang.Object

Static Constant.

Name of the underline attribute.

type: java.lang.Object
raw docstring

*bold?clj

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

*get-alignmentclj

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

*get-backgroundclj

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

*get-bidi-levelclj

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

*get-componentclj

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

*get-first-line-indentclj

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

*get-font-familyclj

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

*get-font-sizeclj

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

*get-foregroundclj

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

*get-iconclj

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

*get-left-indentclj

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

*get-line-spacingclj

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

*get-right-indentclj

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

*get-space-aboveclj

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

*get-space-belowclj

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

*get-tab-setclj

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

*italic?clj

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

*set-alignmentclj

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

*set-backgroundclj

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

*set-bidi-levelclj

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

*set-boldclj

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

*set-componentclj

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

*set-first-line-indentclj

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

*set-font-familyclj

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

*set-font-sizeclj

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

*set-foregroundclj

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

*set-iconclj

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

*set-italicclj

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

*set-left-indentclj

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

*set-line-spacingclj

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

*set-right-indentclj

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

*set-space-aboveclj

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

*set-space-belowclj

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

*set-strike-throughclj

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

*set-subscriptclj

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

*set-superscriptclj

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

*set-tab-setclj

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

*set-underlineclj

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

*strike-through?clj

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

*subscript?clj

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

*superscript?clj

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

*underline?clj

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

to-stringclj

(to-string this)

Returns the string representation.

returns: the string - java.lang.String

Returns the string representation.

returns: the string - `java.lang.String`
raw docstring

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

× close