DroidDiagram Programmer's Guide
BorderComponent Members
Constructors Fields Methods
 


Represents a component that draws a border around another component.

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

 Public Constructors

  Name Description

BorderComponent

Initializes a new instance of the BorderComponent class.

 Protected Fields

  Name Description

eventListenerList

  (Inherited from ComponentBase.)

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

arrangeComponents

ComponentBase.arrangeComponents override. (Inherited from ContentComponent.)

contains

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

createOutlinePath

ComponentBase.createOutlinePath override

draw

ContentComponent.draw override

find

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

getBackground

Gets the brush used to fill the border background.

getBounds

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

getChildCount

ComponentBase.getChildCount override. (Inherited from ContentComponent.)

getContent

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

getCursor

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

getDesiredSize

ComponentBase.getDesiredSize override. (Inherited from ContentComponent.)

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

getIsOutline

Gets a value indicating whether this component defines the outline of its host.

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

getPen

Gets the pen used to stroke the border sides.

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

Implements Externalizable

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

setBackground

Sets the brush used to fill the border background.

setBounds

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

setContent

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

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

setIsOutline

Sets a value indicating whether this component defines the outline of its host.

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

setPen

Sets the pen used to stroke the border sides.

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

Implements Externalizable

 Protected Methods

  Name Description

getThickness

ContentComponent.getThickness override

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

saveToXml

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

BorderComponent Class
com.mindfusion.diagramming.components Namespace