DroidDiagram Programmer's Guide
ContentComponent Members
Constructors Fields Methods
 


Represents a component which can host a single component as its child.

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

 Public Constructors

  Name Description

ContentComponent

Initializes a new instance of the ContentComponent class.

 Protected Fields

  Name Description

eventListenerList

  (Inherited from ComponentBase.)

 Public Methods

  Name Description

accept

ComponentBase.accept override.

addChild

Implements AddChild.addChild

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

arrangeComponents

ComponentBase.arrangeComponents override.

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.

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

getChildCount

ComponentBase.getChildCount override.

getContent

Gets the content of this component.

getCursor

Gets the cursor to display when the mouse is at the specified position. (Inherited from ComponentBase.)

getDesiredSize

ComponentBase.getDesiredSize override.

getDocumentBounds

For internal use. (Inherited from ComponentBase.)

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

getName

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

getPadding

Gets the padding around this component's content.

getParent

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

getParentHost

For internal use. (Inherited from ComponentBase.)

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

onKeyPress

Called when a character key is pressed when this component has the input focus. (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.)

readExternal

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

setBounds

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

setContent

Sets the content of this component.

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

setName

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

setPadding

Sets the padding around this component's content.

setParent

For internal use. (Inherited from ComponentBase.)

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

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

loadFromXml

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

saveToXml

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

ContentComponent Class
com.mindfusion.diagramming.components Namespace