# Interface SyActiveType

All Superinterfaces:
  `SyActiveReadableType`

All Known Subinterfaces:
  `SyButtonType, SyButtonWithTextType, SyCheckboxType, SyComponentType, SyContainerType, SyGridViewType, SyImageViewType, SyListViewType, SyMenuBarItemType, SyMenuBarType, SyMenuItemAtomType, SyMenuItemSeparatorType, SyMenuItemSubmenuType, SyMenuItemType, SyMenuType, SyScrollBarHorizontalType, SyScrollBarType, SyScrollBarVerticalType, SyScrollPaneType, SyTextAreaType, SyTextFieldType, SyTextMultiLineViewType, SyTextViewType`

public interface SyActiveType extends SyActiveReadableType
The writable activity state of an object.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.io7m.jattribute.core.AttributeType<SyActive>`
  `activity()`
  `default void`
  `setActive(SyActive active)`
  Set the activity of the component.

  ### Methods inherited from interface SyActiveReadableType

  `isActive, isMouseOver`

- ## Method Details

  - ### activity

    com.io7m.jattribute.core.AttributeType<SyActive> activity()
    Specified by:
      `activity` in interface `SyActiveReadableType`
    Returns:
      This component's activity

  - ### setActive

    default void setActive(SyActive active)
    Set the activity of the component.
    Parameters:
      `active` - The activity