Search
Style Members
Constructors Methods
 


Specifies the appearance of calendar elements.

The following tables list the members exposed by the Style type.

 Public Constructors

  Name Description

Style

Initializes a new empty instance of the Style class.

 Public Methods

  Name Description

addChangeListener

Adds a ChangeListener to the style.

cloneShallow

Creates a shallow copy of this style.

getBorderBottomColor

Gets the color used to paint the bottom border of a calendar element.

getBorderBottomWidth

Gets the width in pixels of the bottom border of an element.

getBorderLeftColor

Gets the color used to paint the left border of a calendar element.

getBorderLeftWidth

Gets the width in pixels of the left border of an element.

getBorderRightColor

Gets the color used to paint the right border of a calendar element.

getBorderRightWidth

Gets the width in pixels of the right border of an element.

getBorderTopColor

Gets the color used to paint the top border of a calendar element.

getBorderTopWidth

Gets the width in pixels of the top border of an element.

getBrush

Gets the brush used to fill the interior of elements.

getFillColor

Gets the color used to fill calendar elements.

getFont

Gets the font used to display an element's text.

getHeaderBorderBottomColor

Gets the color used to paint the bottom border of an element's header.

getHeaderBorderBottomWidth

Gets the width in pixels of the bottom border of an element's header.

getHeaderBorderLeftColor

Gets the color used to paint the left border of an element's header.

getHeaderBorderLeftWidth

Gets the width in pixels of the left border of an element's header.

getHeaderBorderRightColor

Gets the color used to paint the right border of an element's header.

getHeaderBorderRightWidth

Gets the width in pixels of the right border of an element's header.

getHeaderBorderTopColor

Gets the color used to paint the top border of an element's header.

getHeaderBorderTopWidth

Gets the width in pixels of the top border of an element's header.

getHeaderBrush

Gets the brush used to fill the interior of an element's header.

getHeaderFont

Gets the font used to paint the text of an element's header.

getHeaderTextAlignment

Gets the alignment of the headers' text.

getHeaderTextBottomMargin

Gets the bottom header text margin.

getHeaderTextColor

Gets the color used to paint the text of an element's header.

getHeaderTextLeftMargin

Gets the left header text margin.

getHeaderTextRightMargin

Gets the right header text margin.

getHeaderTextShadowColor

Gets the color of the shadow cast by the header text.

getHeaderTextShadowOffset

Gets the distance of the shadow from the header texts.

getHeaderTextShadowStyle

Gets the type of the shadow cast by the header text.

getHeaderTextTopMargin

Gets the top header text margin.

getImage

Gets an image associated with this style.

getImageAlignment

Gets the image alignment to be used when rendering the image assigned to this style.

getImageIndex

Gets the index of the image associated to this style.

getImageTransparency

Gets the transparency of the image associated with this style.

getLineColor

Gets the color used to paint various lines that are not part of element borders.

getTextAlignment

Gets the alignment of the text contents of a calendar element.

getTextBottomMargin

Gets the bottom text margin.

getTextColor

Gets the color used to paint an element's text.

getTextLeftMargin

Gets the left text margin.

getTextRightMargin

Gets the right text margin.

getTextShadowColor

Gets the color of the shadow cast by the text.

getTextShadowOffset

Gets the distance of the shadow from the texts.

getTextShadowStyle

Gets the type of the shadow cast by the text.

getTextTopMargin

Gets the top text margin.

removeChangeListener

Removes the specified ChangeListener from the style.

setBorderBottomColor

Sets the color used to paint the bottom border of a calendar element.

setBorderBottomWidth

Sets the width in pixels of the bottom border of an element.

setBorderLeftColor

Sets the color used to paint the left border of a calendar element.

setBorderLeftWidth

Sets the width in pixels of the left border of an element.

setBorderRightColor

Sets the color used to paint the right border of a calendar element.

setBorderRightWidth

Sets the width in pixels of the right border of an element.

setBorderTopColor

Sets the color used to paint the top border of a calendar element.

setBorderTopWidth

Sets the width in pixels of the top border of an element.

setBrush

Sets the brush used to fill the interior of elements.

setFillColor

Sets the color used to fill calendar elements.

setFont

Sets the font used to display an element's text.

setHeaderBorderBottomColor

Sets the color used to paint the bottom border of an element's header.

setHeaderBorderBottomWidth

Sets the width in pixels of the bottom border of an element's header.

setHeaderBorderLeftColor

Sets the color used to paint the left border of an element's header.

setHeaderBorderLeftWidth

Sets the width in pixels of the left border of an element's header.

setHeaderBorderRightColor

Sets the color used to paint the right border of an element's header.

setHeaderBorderRightWidth

Sets the width in pixels of the right border of an element's header.

setHeaderBorderTopColor

Sets the color used to paint the top border of an element's header.

setHeaderBorderTopWidth

Sets the width in pixels of the top border of an element's header.

setHeaderBrush

Sets the brush used to fill the interior of an element's header.

setHeaderFont

Sets the font used to paint the text of an element's header.

setHeaderTextAlignment

Sets the alignment of the headers' text.

setHeaderTextBottomMargin

Sets the bottom header text margin.

setHeaderTextColor

Sets the color used to paint the text of an element's header.

setHeaderTextLeftMargin

Sets the left header text margin.

setHeaderTextRightMargin

Sets the right header text margin.

setHeaderTextShadowColor

Sets the color of the shadow cast by the header text.

setHeaderTextShadowOffset

Sets the distance of the shadow from the header texts.

setHeaderTextShadowStyle

Sets the type of the shadow cast by the header text.

setHeaderTextTopMargin

Sets the top header text margin.

setImage

Sets an image associated with this style.

setImageAlignment

Sets the image alignment to be used when rendering the image assigned to this style.

setImageIndex

Gets the index of the image associated to this style.

setImageTransparency

Sets the transparency of the image associated with this style.

setLineColor

Sets the color used to paint various lines that are not part of element borders.

setTextAlignment

Sets the alignment of the text contents of a calendar element.

setTextBottomMargin

Sets the bottom text margin.

setTextColor

Sets the color used to paint an element's text.

setTextLeftMargin

Sets the left text margin.

setTextRightMargin

Sets the right text margin.

setTextShadowColor

Sets the color of the shadow cast by the text.

setTextShadowOffset

Sets the distance of the shadow from the texts.

setTextShadowStyle

Sets the type of the shadow cast by the text.

setTextTopMargin

Sets the top text margin.

 Protected Methods

  Name Description

onChanged

Raises the ChangeListener.changed event.

 See Also