# ComponentTuple

Import: `import com.install4j.api.formcomponents.ComponentTuple;`

```java
interface ComponentTuple
```

Represents the created GUI components for a form component.
If the installer or uninstaller is running in GUI mode, the framework will call the
`createLeftComponent`, `createCenterComponent` and `createRightComponent`
of a form component after instantiating it. These three components of which the left and right components
may be `null` form the **component tuple** of the form component.

A component tuple can be obtained for every form component via the form environment.


**See also:**

- [FormEnvironment.getComponentTuple](FormEnvironment.md#getcomponenttuple-formcomponent)

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`getLeftComponent()`](#getleftcomponent) | `JComponent` | Return the left GUI component created by `FormComponent.createLeftComponent`. |
| [`getCenterComponent()`](#getcentercomponent) | `JComponent` | Return the center GUI component created by `FormComponent.createCenterComponent`. |
| [`getRightComponent()`](#getrightcomponent) | `JComponent` | Return the right GUI component created by `FormComponent.createRightComponent`. |

### getLeftComponent()

```java
JComponent getLeftComponent()
```

Return the left GUI component created by `FormComponent.createLeftComponent`.


**Returns:** the left GUI component

**See also:**

- [FormComponent.createLeftComponent](FormComponent.md#createleftcomponent)

### getCenterComponent()

```java
JComponent getCenterComponent()
```

Return the center GUI component created by `FormComponent.createCenterComponent`.


**Returns:** the center GUI component

**See also:**

- [FormComponent.createCenterComponent](FormComponent.md#createcentercomponent)

### getRightComponent()

```java
JComponent getRightComponent()
```

Return the right GUI component created by `FormComponent.createRightComponent`.


**Returns:** the right GUI component

**See also:**

- [FormComponent.createRightComponent](FormComponent.md#createrightcomponent)

