Interface ClientPropertyStorageFixture

All Known Subinterfaces:
JComponentFixture
All Known Implementing Classes:
JButtonFixture, JCheckBoxFixture, JComboBoxFixture, JInternalFrameFixture, JLabelFixture, JListFixture, JPanelFixture, JProgressBarFixture, JRadioButtonFixture, JScrollBarFixture, JScrollPaneFixture, JSliderFixture, JSpinnerFixture, JSplitPaneFixture, JTabbedPaneFixture, JTableFixture, JTableHeaderFixture, JTextComponentFixture, JToggleButtonFixture, JToolBarFixture, JTreeFixture

public interface ClientPropertyStorageFixture
Understands retrieval of client properties from GUI components.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the client property stored in this fixture's GUI component, under the given key.
  • Method Details

    • clientProperty

      Object clientProperty(Object key)
      Returns the client property stored in this fixture's GUI component, under the given key.
      Parameters:
      key - the key to use to retrieve the client property.
      Returns:
      the value of the client property stored under the given key, or null if the property was not found.
      Throws:
      NullPointerException - if the given key is null.
      Since:
      1.2