Method | Description | |
---|---|---|
AddChild ( |
Adds a child to this component.
|
|
ChildAt ( int index ) : |
Gets a component at an index.
|
|
ChildCount ( ) : int |
Gets the amount of children in this component.
|
|
GetComponentAt ( Point p ) : |
Gets the component at a location (may be this component if no childs contain the location)
|
|
ParentComponent ( |
||
RemoveChild ( |
Removes a child from this component.
|
|
RequestFocusAt ( Point p ) : System.Boolean |
The most top displayed component will grab focus at this location.
|
|
RequestScreenLocation ( Point childLocation ) : Point |
Requests the screen location of this component. Childs can use this function to get their exact location on the screen, instead of relative to their parent.
|
public AddChild ( |
||
component | The component to add to this parent component | |
return | void |
public ChildAt ( int index ) : |
||
index | int | The index to get a component at. |
return |
public GetComponentAt ( Point p ) : |
||
p | Point | |
return |
public ParentComponent ( |
||
parent | ||
bounds | ||
return | System |
public RemoveChild ( |
||
component | The component to remove. | |
return | System.Boolean |
public RequestFocusAt ( Point p ) : System.Boolean | ||
p | Point | The point to check for focus |
return | System.Boolean |
public RequestScreenLocation ( Point childLocation ) : Point | ||
childLocation | Point | The location of the last child. |
return | Point |