Search
LegendRenderer Methods
 


 Public Methods

  Name Description

arrange

Sets the location and size of this component relative to its parent. (Inherited from Component.)

associateJComponent

  (Inherited from Component.)

createController

Component.createController override. Returns a ComponentController that is used to interact with this component.

dissociateJComponent

  (Inherited from Component.)

draw

Component.draw override. Draws legend elements in the specified RenderContext.

effectiveBorderPen

Gets the Pen that is used to draw the legend borders.

effectiveBorderStroke

Gets the Brush that is used to stroke the legend borders when the user hovers over the legend.

effectiveFill

Gets the Brush that is used to fill the legend background when the user hovers the legend.

getActualHeight

Gets a double value specifying the component's assigned height. Valid only after calling {#link arrange}. (Inherited from Component.)

getActualWidth

Gets a double value specifying the component's assigned width. Valid only after calling arrange. (Inherited from Component.)

getAllowMove

Gets a value indicating whether users are allowed to move this legend.

getBackground

Gets the Brush that is used to fill the background of this legend.

getBorderStroke

Gets the Brush that is used to stroke the borders of this legend.

getBorderStrokeDashStyle

Gets the stroke dash style of legend borders.

getBorderStrokeThickness

Gets the thickness of the stroke used for drawing the legend borders.

getContent

Gets a list of SeriesRenderer objects whose Series should be displayed in this legend.

getDesiredHeight

Gets a nullable double value specifying the component's desired height. Valid only after calling measure. (Inherited from Component.)

getDesiredWidth

Gets a nullable double value specifying the component's desired width. Valid only after calling measure. (Inherited from Component.)

getElementLabelKind

Gets the kind of labels supported by this chart element.

getGridColumn

Gets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

getGridRow

Gets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

getHeight

Gets a fixed height for this component. (Inherited from Component.)

getHitTestVisibility

Gets the hit-test visibility of this component. (Inherited from Component.)

getHorizontalAlignment

Gets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

getMargin

Gets the margin space around this component relative to the layout rectangle allocated by its parent panel. (Inherited from Component.)

getMaxItemsPerColumn

Gets the maximum number of items that can be rendered in one legend column.

getPadding

Gets the padding space between content and borders of this legend.

getParent

  (Inherited from Component.)

getRectInParent

Gets the boundaries of this component relative to its parent. (Inherited from Component.)

getShowSeriesElements

Indicates whether the series elements must be drawn.

getShowTitle

Gets a value indicating whether to display the legend title.

getTitle

Gets the legend's title.

getTitleBrush

Gets the Brush used to render the legend's Title.

getTitleFontName

Gets the name of font that is used to draw the legend's Title.

getTitleFontSize

Gets the size of font that is used to draw the legend's Title.

getTitleFontStyle

Gets the style of the font that is used to draw the legend's Title.

getToolTip

Gets the component's tooltip text. (Inherited from Component.)

getVerticalAlignment

Gets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

getVisibility

Gets the visibility of this component. (Inherited from Component.)

getWidth

Gets a fixed width for this component. (Inherited from Component.)

getXInParent

Gets a double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

getYInParent

Gets a double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

hitTest

Returns the component containing specified point. (Inherited from Component.)

invalidate

Overloaded.   (Inherited from Component.)

invalidateLayout

Overloaded.   (Inherited from Component.)

localToRoot

Transforms the specified point to the coordinate system of the root panel. (Inherited from Component.)

measure

Component.measure override. Measures the desired size of this component.

rootToLocal

Transforms the specified point to the coordinate system of this component. (Inherited from Component.)

setActualHeight

Sets a double value specifying the component's assigned height. (Inherited from Component.)

setActualWidth

Sets a double value specifying the component's assigned width. (Inherited from Component.)

setAllowMove

Sets a value indicating whether users are allowed to move this legend.

setBackground

Sets the Brush that is used to fill the background of this legend.

setBorderStroke

Sets the Brush that is used to stroke the borders of this legend.

setBorderStrokeDashStyle

Sets the dash style of the stroke for the legend borders.

setBorderStrokeThickness

Sets the thickness of the legend borders stroke.

setContent

Sets a list of SeriesRenderer objects whose Series should be displayed in this legend.

setDesiredHeight

Sets a nullable double value specifying the component's desired height. (Inherited from Component.)

setDesiredWidth

Sets a nullable double value specifying the component's desired width. (Inherited from Component.)

setElementLabelKind

Sets the kind of labels supported by this element.

setGridColumn

Sets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

setGridRow

Sets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

setHeight

Sets a fixed height for this component. (Inherited from Component.)

setHitTestVisibility

Sets the hit-test visibility of this component. (Inherited from Component.)

setHorizontalAlignment

Sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

setMargin

Sets the margin space around this component relative to the layout rectangle allocated by its parent panel. (Inherited from Component.)

setMaxItemsPerColumn

Sets the maximum number of legend labels that can be rendered in a single legend column.

setPadding

Sets the padding space between the content and the borders of this legend.

setParent

  (Inherited from Component.)

setShowSeriesElements

Sets a value that indicates if series elements must be shown.

setShowTitle

Sets a value indicating whether to display the legend title.

setTitle

Sets the legend's title.

setTitleBrush

Sets the Brush that is used to draw the legend's Title.

setTitleFontName

Sets the name of font that is used to draw the legend's Title.

setTitleFontSize

Sets the size of the font that isbe used to draw the legend's Title.

setTitleFontStyle

Sets the style of font that should be used to draw the legend's Title.

setToolTip

Sets the component's tooltip text. (Inherited from Component.)

setVerticalAlignment

Sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

setVisibility

Sets the visibility of this component. (Inherited from Component.)

setWidth

Sets a fixed width for this component. (Inherited from Component.)

setXInParent

Sets a double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

setYInParent

Sets a double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

visit

Implements the visitor design pattern. (Inherited from Component.)

 Protected Methods

  Name Description

add

Sums specified nullable double values. (Inherited from Component.)

effectiveMeasuredHeight

  (Inherited from Component.)

effectiveMeasuredWidth

  (Inherited from Component.)

 See Also