# Uses of Interface
org.apache.tapestry5.runtime.Component

Packages that use Component
Package
Description
org.apache.tapestry5
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
org.apache.tapestry5.internal
[INTERNAL USE ONLY] internal support classes; API subject to change.
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.structure
[INTERNAL USE ONLY] page structure implementation details; API subject to change.
org.apache.tapestry5.services
Core services
org.apache.tapestry5.test
Support for testing Tapestry pages

- ## Uses of Component in org.apache.tapestry5

  Methods in org.apache.tapestry5 that return Component
  Modifier and Type
  Method
  Description
  `Component`
  ComponentResources.`getComponent()`
  Returns the component this object provides resources for.
  `Component`
  ComponentResources.`getContainer()`
  Returns the component which contains this component, or null for the root component.
  `Component`
  ComponentResources.`getEmbeddedComponent(String embeddedId)`
  Returns an embedded component, given the component's id.
  `Component`
  ComponentResources.`getPage()`
  Returns the page that contains this component.

- ## Uses of Component in org.apache.tapestry5.internal

  Methods in org.apache.tapestry5.internal that return Component
  Modifier and Type
  Method
  Description
  `Component`
  InternalComponentResourcesCommon.`getMixinByClassName(String mixinClassName)`
  Returns the mixin instance for the fully qualfied mixin class name.

- ## Uses of Component in org.apache.tapestry5.internal.services

  Methods in org.apache.tapestry5.internal.services that return Component
  Modifier and Type
  Method
  Description
  `Component`
  ComponentSourceImpl.`getActivePage()`
  `Component`
  ComponentSourceImpl.`getComponent(String completeId)`
  `Component`
  ComponentSourceImpl.`getPage(Class pageClass)`
  `Component`
  ComponentSourceImpl.`getPage(String pageName)`
  `Component`
  Instantiator.`newInstance(InternalComponentResources resources)`
  Instantiates and returns a new instance of the desired class.
  Methods in org.apache.tapestry5.internal.services with parameters of type Component
  Modifier and Type
  Method
  Description
  `void`
  AjaxComponentInstanceEventResultProcessor.`processResultValue(Component value)`
  `void`
  ComponentInstanceResultProcessor.`processResultValue(Component value)`

- ## Uses of Component in org.apache.tapestry5.internal.structure

  Methods in org.apache.tapestry5.internal.structure that return Component
  Modifier and Type
  Method
  Description
  `Component`
  ComponentPageElement.`getComponent()`
  Returns the core component associated with this page element (as opposed to any mixins attached to the component).
  `Component`
  ComponentPageElementImpl.`getComponent()`
  `Component`
  InternalComponentResourcesImpl.`getComponent()`
  `Component`
  InternalComponentResourcesImpl.`getContainer()`
  `Component`
  InternalComponentResourcesImpl.`getEmbeddedComponent(String embeddedId)`
  `Component`
  ComponentPageElementImpl.`getMixinByClassName(String mixinClassName)`
  `Component`
  InternalComponentResourcesImpl.`getMixinByClassName(String mixinClassName)`
  `Component`
  InternalComponentResourcesImpl.`getPage()`
  `Component`
  Page.`getRootComponent()`
  The root component of the page.
  `Component`
  PageImpl.`getRootComponent()`
  Methods in org.apache.tapestry5.internal.structure with parameters of type Component
  Modifier and Type
  Method
  Description
  `void`
  ComponentCallback.`run(Component component)`
  Callback method, passed a component to operate upon.

- ## Uses of Component in org.apache.tapestry5.services

  Methods in org.apache.tapestry5.services that return Component
  Modifier and Type
  Method
  Description
  `Component`
  ComponentSource.`getActivePage()`
  Returns the active page, as defined by `RequestGlobals.getActivePageName()`.
  `Component`
  ComponentSource.`getComponent(String completeId)`
  Gets a component by its complete id.
  `Component`
  ComponentSource.`getPage(Class pageClass)`
  A convienience for obtaining a page instance via a class instance.
  `Component`
  ComponentSource.`getPage(String pageName)`
  Returns the page identified by its logical page name.
  Methods in org.apache.tapestry5.services with parameters of type Component
  Modifier and Type
  Method
  Description
  `void`
  ComponentEventHandler.`handleEvent(Component instance, ComponentEvent event)`
  Handles the event.

- ## Uses of Component in org.apache.tapestry5.test

  Methods in org.apache.tapestry5.test that return Component
  Modifier and Type
  Method
  Description
  `protected final Component`
  TapestryTestCase.`mockComponent()`
  Methods in org.apache.tapestry5.test with parameters of type Component
  Modifier and Type
  Method
  Description
  `protected final void`
  TapestryTestCase.`train_getComponent(ComponentResources resources, Component component)`
  `protected final void`
  TapestryTestCase.`train_getComponentResources(Component component, ComponentResources resources)`
  `protected final void`
  TapestryTestCase.`train_getContainer(ComponentResources resources, Component container)`
  `protected final void`
  TapestryTestCase.`train_getPage(ComponentResources resources, Component page)`