Search
SliderComponent Methods
 


 Public Methods

  Name Description

accept

ComponentBase.accept override. (Inherited from ContentComponent.)

addChild

Implements AddChild.addChild (Inherited from ContentComponent.)

addComponentEventListener

Adds the specified component listener to receive events from this component. (Inherited from ComponentBase.)

addComponentMouseEventListener

Adds the specified component listener to receive events from this component. (Inherited from ComponentBase.)

addComponentValidationEventListener

Adds the specified component listener to receive events from this component. (Inherited from ComponentBase.)

addSliderListener

Registers an event listener.

addSliderRailListener

Registers an event listener.

arrangeComponents

ComponentBase.arrangeComponents override. (Inherited from ContentComponent.)

confirmValidating

Confirms validation by raising the Validating event. (Inherited from ComponentBase.)

contains

Checks if the specified component is contained in the hierarchy defined by the current component. (Inherited from ComponentBase.)

createOutlinePath

For internal use. (Inherited from ComponentBase.)

draw

ComponentBase.draw override. (Inherited from ContentComponent.)

find

Returns the component with the specified name within the hierarchy defined by the current component. (Inherited from ComponentBase.)

getActiveBrush

Gets the brush used to fill the portion of the rail between StartValue and EndValue. This property is relevant only when the slider Type is set to Range.

getBackground

Gets the brush used to fill the background of the slider.

getBorder

Gets the pen used to draw the border of the slider.

getBounds

Gets the calculated bounds of this component relative to its parent. (Inherited from ComponentBase.)

getButtonBrush

Gets the brush of the slider's buttons and thumbs.

getButtonBrushHovered

Gets the background brush of the slider's buttons when they are pointed with the mouse.

getButtonBrushPressed

Gets the background brush of the slider's buttons when they are pressed.

getButtonContentColor

Gets the color of the content of the slider's buttons.

getButtonPen

Gets the border pen of the slider's buttons and thumbs.

getButtonPenHovered

Gets the border pen of the slider's buttons when they are pointed with the mouse.

getButtonPenPressed

Gets the border pen of the slider's buttons when they are pressed.

getChildCount

ComponentBase.getChildCount override. (Inherited from ContentComponent.)

getContent

Gets the content of this component. (Inherited from ContentComponent.)

getCursor

ComponentBase.getCursor override.

getDesiredSize

ComponentBase.getDesiredSize override. (Inherited from ContentComponent.)

getDocumentBounds

For internal use. (Inherited from ComponentBase.)

getEndValue

Gets the end value of the slider. This property is relevant only when the slider Type is set to Range.

getFocusable

Gets a value indicating whether the component can receive the input focus. (Inherited from ComponentBase.)

getGridColumn

Gets the index of the grid column this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

getGridRow

Gets the index of the grid row this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

getHeight

Gets the explicit height of this component. (Inherited from ComponentBase.)

getHorizontalAlignment

Gets the horizontal alignment of this component relative to its parent. (Inherited from ComponentBase.)

getIsEnabled

Gets a value indicating whether the component is enabled. (Inherited from ComponentBase.)

getIsFocused

Gets a value indicating whether this component currently holds the input focus. (Inherited from ComponentBase.)

getIsHitTestVisible

Gets a value indicating whether this component and all its children are subject to hit-testing operations. (Inherited from ComponentBase.)

getIsInteractive

Gets a value indicating whether this component can be interacted with. (Inherited from ComponentBase.)

getMaximum

Gets the maximum value of the rail.

getMinimum

Gets the minimum value of the rail.

getName

Gets the name of the component. (Inherited from ComponentBase.)

getPadding

Gets the padding around this component's content. (Inherited from ContentComponent.)

getParent

Gets the parent component, if the current component is hosted. (Inherited from ComponentBase.)

getParentHost

For internal use. (Inherited from ComponentBase.)

getRailBrush

Gets the background of the slider rail.

getRailPen

Gets the border pen of the slider rail.

getStartValue

Gets the start value of the slider. This property is relevant only when the slider Type is set to Range.

getType

Gets the type of this slider component.

getValue

Gets the value of the slider. This property is relevant only when the slider Type is set to SingleValue.

getVerticalAlignment

Gets the vertical alignment of this component relative to its parent. (Inherited from ComponentBase.)

getVisible

Gets a value indicating whether the component is visible. (Inherited from ComponentBase.)

getWidth

Gets the explicit width of this component. (Inherited from ComponentBase.)

invalidate

Invalidates the visual appearance of the component. (Inherited from ComponentBase.)

invalidateLayout

Invalidates the layout of this component and all its children. (Inherited from ComponentBase.)

onContextChanged

  (Inherited from ComponentBase.)

onKeyDown

  (Inherited from ComponentBase.)

onKeyPress

Called when a character key is pressed when this component has the input focus. (Inherited from ComponentBase.)

onKeyUp

  (Inherited from ComponentBase.)

onMouseMove

Overloaded.   (Inherited from ComponentBase.)

onMouseUp

Overloaded.   (Inherited from ComponentBase.)

onUnitChanged

Invoked when the measure unit of the document containing the component has changed. (Inherited from ComponentBase.)

raiseValidated

  (Inherited from ComponentBase.)

readExternal

ContentComponent.readExternal override.

removeComponentEventListener

Removes the specified component listener to not receive events from this component. (Inherited from ComponentBase.)

removeComponentMouseEventListener

Removes the specified component listener to not receive events from this component. (Inherited from ComponentBase.)

removeComponentValidationEventListener

Removes the specified component listener to not receive events from this component. (Inherited from ComponentBase.)

removeSliderListener

Unregisters an event listener.

removeSliderRailListener

Unregisters an event listener.

setActiveBrush

Sets the brush used to fill the portion of the rail between StartValue and EndValue. This property is relevant only when the slider Type is set to Range.

setBackground

Sets the brush used to fill the background of the slider.

setBorder

Sets the pen used to draw the border of the slider.

setBounds

Sets the calculated bounds of this component relative to its parent. (Inherited from ComponentBase.)

setButtonBrush

Sets the brush of the slider's buttons and thumbs.

setButtonBrushHovered

Sets the background brush of the slider's buttons when they are pointed with the mouse.

setButtonBrushPressed

Sets the background brush of the slider's buttons when they are pressed.

setButtonContentColor

Sets the color of the content of the slider's buttons.

setButtonPen

Sets the border pen of the slider's buttons and thumbs.

setButtonPenHovered

Sets the border pen of the slider's buttons when they are pointed with the mouse.

setButtonPenPressed

Sets the border pen of the slider's buttons when they are pressed.

setContent

Sets the content of this component. (Inherited from ContentComponent.)

setEndValue

Sets the end value of the slider. This property is relevant only when the slider Type is set to Range.

setFocusable

Sets a value indicating whether the component can receive the input focus. (Inherited from ComponentBase.)

setGridColumn

Sets the index of the grid row this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

setGridRow

Sets the index of the grid row this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

setHeight

Sets the explicit height of this component. (Inherited from ComponentBase.)

setHorizontalAlignment

Sets the horizontal alignment of this component relative to its parent. (Inherited from ComponentBase.)

setIsEnabled

Sets a value indicating whether the component is enabled. (Inherited from ComponentBase.)

setIsFocused

Sets a value indicating whether this component currently holds the input focus. (Inherited from ComponentBase.)

setIsHitTestVisible

Sets a value indicating whether this component and all its children are subject to hit-testing operations. (Inherited from ComponentBase.)

setIsInteractive

Sets a value indicating whether this component can be interacted with. (Inherited from ComponentBase.)

setMaximum

Sets the maximum value of the rail.

setMinimum

Sets the minimum value of the rail.

setName

Sets the name of the component. (Inherited from ComponentBase.)

setPadding

Sets the padding around this component's content. (Inherited from ContentComponent.)

setParent

For internal use. (Inherited from ComponentBase.)

setRailBrush

Sets the background of the slider rail.

setRailPen

Sets the border pen of the slider rail.

setStartValue

Sets the start value of the slider. This property is relevant only when the slider Type is set to Range.

setType

Sets the type of this slider component.

setValue

Sets the value of the slider. This property is relevant only when the slider Type is set to SingleValue.

setVerticalAlignment

Sets the vertical alignment of this component relative to its parent. (Inherited from ComponentBase.)

setVisible

Sets a value indicating whether the component is visible. (Inherited from ComponentBase.)

setWidth

Sets the explicit width of this component. (Inherited from ComponentBase.)

toDocument

Converts a point from local to document coordinates. (Inherited from ComponentBase.)

toLocal

Converts a point from document to local coordinates. (Inherited from ComponentBase.)

toParent

Converts a point from local coordinates to the specified parent's coordinates. (Inherited from ComponentBase.)

writeExternal

ContentComponent.writeExternal override.

 Protected Methods

  Name Description

getThickness

Gets the space around the component's content. This space includes padding by default but can be subsequently adjusted as necessary by the deriving classes. (Inherited from ContentComponent.)

loadFromJson

Deserializes the component from a JsonObject.

loadFromXml

ContentComponent.loadFromXml override.

onAddedToParent

Invoked when the component is added to a parent component. (Inherited from ComponentBase.)

onGotFocus

Overloaded.   (Inherited from ComponentBase.)

onLostFocus

Overloaded.   (Inherited from ComponentBase.)

onMouseDown

Overloaded.   (Inherited from ComponentBase.)

onRemovedFromParent

Invoked when the component is removed from a parent component. (Inherited from ComponentBase.)

onValidated

Raises the Validated event. (Inherited from ComponentBase.)

onValidating

Raises the Validating event. (Inherited from ComponentBase.)

onZoomChanged

Invoked when the zoom factor of the document containing the component has changed. (Inherited from ComponentBase.)

saveToJson

Serializes the component into a JsonObject.

saveToXml

ContentComponent.saveToXml override.

serializeSubcomponents

ComponentBase.serializeSubcomponents override.

 See Also