Search
Component Members
Constructors Methods
 


Represents a user interface component.

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

 Protected Constructors

  Name Description

Component

Initializes a new instance of the Component class.

 Public Methods

  Name Description

arrange

Sets the location and size of this component relative to its parent.

associateJComponent

 

createController

Returns a ComponentController used to interact with this component.

dissociateJComponent

 

draw

Draws this component in specified RenderContext.

getActualHeight

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

getActualWidth

Gets a double value specifying the component's assigned width. Valid only after calling arrange.

getDesiredHeight

Gets a nullable double value specifying the component's desired height. Valid only after calling measure.

getDesiredWidth

Gets a nullable double value specifying the component's desired width. Valid only after calling measure.

getGridColumn

Gets the column index of this component when placed inside a GridPanel.

getGridRow

Gets the row index of this component when placed inside a GridPanel.

getHeight

Gets a fixed height for this component.

getHitTestVisibility

Gets the hit-test visibility of this component.

getHorizontalAlignment

Gets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel.

getMargin

Gets the margin space around this component relative to the layout rectangle allocated by its parent panel.

getParent

 

getRectInParent

Gets the boundaries of this component relative to its parent.

getToolTip

Gets the component's tooltip text.

getVerticalAlignment

Gets the vertical alignment of this component inside the layout rectangle allocated by its parent panel.

getVisibility

Gets the visibility of this component.

getWidth

Gets a fixed width for this component.

getXInParent

Gets a double value specifying the component's horizontal position relative to its parent.

getYInParent

Gets a double value specifying the component's vertical position relative to its parent.

hitTest

Returns the component containing specified point.

invalidate

Overloaded.  

invalidateLayout

Overloaded.  

localToRoot

Transforms the specified point to the coordinate system of the root panel.

measure

Measures the desired size of this component.

rootToLocal

Transforms the specified point to the coordinate system of this component.

setActualHeight

Sets a double value specifying the component's assigned height.

setActualWidth

Sets a double value specifying the component's assigned width.

setDesiredHeight

Sets a nullable double value specifying the component's desired height.

setDesiredWidth

Sets a nullable double value specifying the component's desired width.

setGridColumn

Sets the column index of this component when placed inside a GridPanel.

setGridRow

Sets the row index of this component when placed inside a GridPanel.

setHeight

Sets a fixed height for this component.

setHitTestVisibility

Sets the hit-test visibility of this component.

setHorizontalAlignment

Sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel.

setMargin

Sets the margin space around this component relative to the layout rectangle allocated by its parent panel.

setParent

 

setToolTip

Sets the component's tooltip text.

setVerticalAlignment

Sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel.

setVisibility

Sets the visibility of this component.

setWidth

Sets a fixed width for this component.

setXInParent

Sets a double value specifying the component's horizontal position relative to its parent.

setYInParent

Sets a double value specifying the component's vertical position relative to its parent.

visit

Implements the visitor design pattern.

 Protected Methods

  Name Description

add

Sums specified nullable double values.

effectiveMeasuredHeight

 

effectiveMeasuredWidth

 

 See Also