MindFusion.Java Package Programmer's Guide
NumericEditComponent Members
Constructors Fields Methods
 


Represents a numeric-only edit component.

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

 Public Constructors

  Name Description

NumericEditComponent

Initializes a new instance of the NumericEditComponent class.

 Protected Fields

  Name Description

eventListenerList

  (Inherited from ComponentBase.)

 Public Methods

  Name Description

acceptsReturn

Gets a value indicating whether the edit component will insert new line when the user presses the ENTER key. (Inherited from EditComponent.)

addComponentEventListener

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

addComponentKeyEventListener

Registers an event listener. (Inherited from EditComponent.)

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.)

addEditComponentListener

Registers an event listener. (Inherited from EditComponent.)

addNumericEditComponentListener

Registers an event listener.

arrangeComponents

Recursively arranges the child components, within the specified space and using the specified graphics for measurement purposes. (Inherited from ComponentBase.)

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 EditComponent.)

find

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

getBounds

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

getBrush

Gets the background brush of the edit component. (Inherited from EditComponent.)

getChildCount

Gets the number of child components of this component. (Inherited from ComponentBase.)

getCursor

ComponentBase.getCursor override. (Inherited from EditComponent.)

getDesiredSize

ComponentBase.getDesiredSize override. (Inherited from EditComponent.)

getDocumentBounds

For internal use. (Inherited from ComponentBase.)

getFocusable

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

getFont

Gets the font of the text. (Inherited from EditComponent.)

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.)

getInactiveSelectionColor

Gets the color of the selection when the edit component does not have input focus. (Inherited from EditComponent.)

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.)

getName

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

getParent

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

getParentHost

For internal use. (Inherited from ComponentBase.)

getPen

Gets the border pen of the edit component. (Inherited from EditComponent.)

getScrollFirstLine

Gets the index of the first visible line in the edit component. (Inherited from EditComponent.)

getSelectionColor

Gets the color of the selection. (Inherited from EditComponent.)

getSelectionLength

Gets the length of the selection in the edit component. (Inherited from EditComponent.)

getSelectionStart

Gets the start of the selection in the edit component. (Inherited from EditComponent.)

getText

Gets the text of the edit component. (Inherited from EditComponent.)

getTextAlignment

Gets the horizontal alignment of the text in the edit component. (Inherited from EditComponent.)

getTextColor

Gets the color of the text. (Inherited from EditComponent.)

getTextPadding

Gets the padding of the edit component. (Inherited from EditComponent.)

getTextWrapping

Gets the wrapping of of the text in the edit component. (Inherited from EditComponent.)

getValue

Gets the value displayed in the edit box.

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.)

isHideSelection

Gets a value indicating whether to hide the selection when the edit component does not have input focus. (Inherited from EditComponent.)

onContextChanged

ComponentBase.onContextChanged override. (Inherited from EditComponent.)

onGotFocus

ComponentBase.onGotFocus override. (Inherited from EditComponent.)

onKeyDown

EditComponent.onKeyDown override.

onKeyPress

EditComponent.onKeyPress override.

onKeyUp

Overloaded.   (Inherited from EditComponent.)

onLostFocus

EditComponent.onLostFocus override.

onMouseDown

ComponentBase.onMouseDown override. (Inherited from EditComponent.)

onMouseMove

ComponentBase.onMouseMove override. (Inherited from EditComponent.)

onMouseUp

ComponentBase.onMouseUp override. (Inherited from EditComponent.)

onUnitChanged

ComponentBase.onUnitChanged override. (Inherited from EditComponent.)

raiseValidated

  (Inherited from ComponentBase.)

readExternal

EditComponent.readExternal override.

removeComponentEventListener

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

removeComponentKeyEventListener

Unregisters an event listener. (Inherited from EditComponent.)

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.)

removeEditComponentListener

Unregisters an event listener. (Inherited from EditComponent.)

removeNumericEditComponentListener

Unregisters an event listener.

selectAll

Selects the entire text inside this edit box.

setAcceptsReturn

Sets a value indicating whether the edit component will insert new line when the user presses the ENTER key. (Inherited from EditComponent.)

setBounds

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

setBrush

Sets the background brush of the edit component. (Inherited from EditComponent.)

setFocusable

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

setFont

Sets the font of the text. (Inherited from EditComponent.)

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.)

setHideSelection

Sets a value indicating whether to hide the selection when the edit component does not have input focus. (Inherited from EditComponent.)

setHorizontalAlignment

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

setInactiveSelectionColor

Sets the color of the selection when the edit component does not have input focus. (Inherited from EditComponent.)

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.)

setName

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

setParent

For internal use. (Inherited from ComponentBase.)

setPen

Sets the border pen of the edit component. (Inherited from EditComponent.)

setScrollFirstLine

Sets the index of the first visible line in the edit component. (Inherited from EditComponent.)

setSelectionColor

Sets the color of the selection. (Inherited from EditComponent.)

setSelectionLength

Sets the length of the selection in the edit component. (Inherited from EditComponent.)

setSelectionStart

Sets the start of the selection in the edit component. Setting this property will reset SelectionLength to 0. (Inherited from EditComponent.)

setText

Sets the text of the edit component. (Inherited from EditComponent.)

setTextAlignment

Sets the horizontal alignment of the text in the edit component. (Inherited from EditComponent.)

setTextColor

Sets the color of the text. (Inherited from EditComponent.)

setTextPadding

Sets the padding of the edit component. (Inherited from EditComponent.)

setTextWrapping

Sets the wrapping of of the text in the edit component. (Inherited from EditComponent.)

setValue

Sets the value displayed in the edit box.

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

EditComponent.writeExternal override.

 Protected Methods

  Name Description

loadFromJson

Deserializes the component from a JsonObject.

loadFromXml

EditComponent.loadFromXml override.

onAddedToParent

ComponentBase.onAddedToParent override. (Inherited from EditComponent.)

onClicked

Raises the mouseClicked event. (Inherited from EditComponent.)

onKeyPressed

Raises the keyPressed event. (Inherited from EditComponent.)

onRemovedFromParent

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

onTextChanged

EditComponent.onTextChanged override.

onTextChanging

Raises the textChanging event. (Inherited from EditComponent.)

onValidated

Raises the Validated event. (Inherited from ComponentBase.)

onValidateValue

Raises the validateValue event.

onValidating

Raises the Validating event. (Inherited from ComponentBase.)

onValueChanged

Raises the valueChanged event.

onZoomChanged

ComponentBase.onZoomChanged override. (Inherited from EditComponent.)

saveToJson

Serializes the component into a JsonObject.

saveToXml

EditComponent.saveToXml override.

serializeSubcomponents

Invoked to query whether the underlying component structure should be automatically serialized or serialized by the user. (Inherited from ComponentBase.)

 See Also

NumericEditComponent Class
com.mindfusion.diagramming.components Namespace